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
FieldsFields inherited from class TypeImpl
hasRefFeature, highestOffset, isBuiltIn, isCreatableAndNotBuiltinArray, isFeatureFinal, isInheritanceFinal, isLongOrDouble, isRefType, javaClass, nbrOfLongOrDoubleFeatures, nbrOfUsedIntDataSlots, nbrOfUsedRefDataSlots, singleton, slotKind -
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.(package private) voidMethods inherited from class TypeImpl_string
isStringOrStringSubtype, subsumesMethods inherited from class TypeImpl_primitive
isPrimitiveMethods inherited from class TypeImpl
addFeature, checkExistingFeatureCompatible, compareTo, computeDepthFirstCode, consolidateType, equals, getAdjOffset, getAllSubtypes, getAllSuperTypes, getAppropriateFeatures, getCode, getComponentSlotKind, getComponentType, getDirectSubtypes, getFeature, getFeatureByAdjOffset, getFeatureByBaseName, getFeatureImpls, getFeatures, getFeaturesAsStream, getFsSpaceReq, getFsSpaceReq, getFsSpaceReq, getJavaClass, getJCasClassName, getMergedStaticFeaturesIntroducedByThisType, getName, getNbrOfLongOrDoubleFeatures, getNumberOfFeatures, getShortName, getStaticMergedNonSofaFsRefs, getSuperType, getTypeSystem, hashCode, hashCodeNameLong, hasRefFeature, hasSupertype, initAdjOffset2FeatureMaps, isAnnotationBaseType, isAnnotationType, isAppropriateFeature, isArray, isAuxStoredArray, isCreatableAndNotBuiltinArray, isFeatureFinal, isHeapStoredArray, isInheritanceFinal, isLongOrDouble, isPrimitiveArrayType, isTopType, isTypedFsArray, iterator, prettyPrint, prettyPrintWithSubTypes, setBuiltIn, setFeatureFinal, setInheritanceFinal, setJavaClass, setStaticMergedIntFeaturesList, setStaticMergedNonSofaFsRefs, setStaticMergedRefFeaturesList, subsumesStrictly, subsumesValue, toString, toStringMethods inherited from interface Iterable
forEach, spliterator
-
Field Details
-
allowedValues
-
-
Constructor Details
-
TypeImpl_stringSubtype
public TypeImpl_stringSubtype(String name, TypeSystemImpl tsi, TypeImpl supertype, Set<String> allowedValues)
-
-
Method Details
-
getAllowedValues
-
validateIsInAllowedValues
-
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:
-