Package org.apache.uima.cas.impl
Class TypeImpl_stringSubtype
java.lang.Object
org.apache.uima.cas.impl.TypeImpl
org.apache.uima.cas.impl.TypeImpl_primitive
org.apache.uima.cas.impl.TypeImpl_string
org.apache.uima.cas.impl.TypeImpl_stringSubtype
- All Implemented Interfaces:
Comparable<TypeImpl>,Iterable<Feature>,Type
-
Field Summary
Fields inherited from class org.apache.uima.cas.impl.TypeImpl
isBuiltIn, isCreatableAndNotBuiltinArray, isFeatureFinal, isInheritanceFinal, isLongOrDouble, isRefType, javaClass, singleton -
Constructor Summary
ConstructorsConstructorDescriptionTypeImpl_stringSubtype(String name, TypeSystemImpl tsi, TypeImpl supertype, Set<String> allowedValues) -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck if the type is a String subtype.Methods inherited from class org.apache.uima.cas.impl.TypeImpl_string
isStringOrStringSubtype, subsumesMethods inherited from class org.apache.uima.cas.impl.TypeImpl_primitive
isPrimitiveMethods inherited from class org.apache.uima.cas.impl.TypeImpl
compareTo, equals, getAppropriateFeatures, getCode, getComponentSlotKind, getComponentType, getFeature, getFeatureByBaseName, getFeatureImpls, getFeatures, getFeaturesAsStream, getFsSpaceReq, getFsSpaceReq, getFsSpaceReq, getJCasClassName, getMergedStaticFeaturesIntroducedByThisType, getName, getNbrOfLongOrDoubleFeatures, getNumberOfFeatures, getShortName, getSuperType, getTypeSystem, hashCode, hashCodeNameLong, hasRefFeature, isAnnotationBaseType, isAnnotationType, isAppropriateFeature, isArray, isCreatableAndNotBuiltinArray, isFeatureFinal, isInheritanceFinal, isLongOrDouble, isTopType, isTypedFsArray, iterator, prettyPrint, prettyPrintWithSubTypes, subsumesStrictly, subsumesValue, toString, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
TypeImpl_stringSubtype
public TypeImpl_stringSubtype(String name, TypeSystemImpl tsi, TypeImpl supertype, Set<String> allowedValues)
-
-
Method Details
-
isStringSubtype
public boolean isStringSubtype()Description copied from interface:TypeCheck if the type is a String subtype. Note: returns false if a plain string- Specified by:
isStringSubtypein interfaceType- Overrides:
isStringSubtypein classTypeImpl- Returns:
trueiff the type is a String subtype type; false for plain string- See Also:
-