You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2015/10/29 18:26:50 UTC
svn commit: r1711309 -
/uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/Type.java
Author: schor
Date: Thu Oct 29 17:26:49 2015
New Revision: 1711309
URL: http://svn.apache.org/viewvc?rev=1711309&view=rev
Log:
no Jira - add method in interface API isStringSubtype.
Modified:
uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/Type.java
Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/Type.java
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/Type.java?rev=1711309&r1=1711308&r2=1711309&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/Type.java (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/Type.java Thu Oct 29 17:26:49 2015
@@ -123,6 +123,13 @@ public interface Type {
boolean isArray();
/**
+ * Check if the type is a String subtype.
+ *
+ * @return <code>true</code> iff the type is a String subtype type.
+ */
+ boolean isStringSubtype();
+
+ /**
* For array types, returns the component type of the array type. For all other types, it will
* return <code>null</code>.
*