Package org.apache.uima.cas.impl
Class TypeImpl_string
- java.lang.Object
-
- org.apache.uima.cas.impl.TypeImpl
-
- org.apache.uima.cas.impl.TypeImpl_primitive
-
- org.apache.uima.cas.impl.TypeImpl_string
-
- Direct Known Subclasses:
TypeImpl_stringSubtype
public class TypeImpl_string extends TypeImpl_primitive
String or String Subtype
-
-
Field Summary
-
Fields inherited from class org.apache.uima.cas.impl.TypeImpl
hasRefFeature, highestOffset, isBuiltIn, isCreatableAndNotBuiltinArray, isFeatureFinal, isInheritanceFinal, isLongOrDouble, isRefType, javaClass, nbrOfLongOrDoubleFeatures, nbrOfUsedIntDataSlots, nbrOfUsedRefDataSlots, singleton, slotKind
-
-
Constructor Summary
Constructors Constructor Description TypeImpl_string(java.lang.String name, TypeSystemImpl tsi, TypeImpl supertype)
TypeImpl_string(java.lang.String name, TypeSystemImpl tsi, TypeImpl supertype, java.lang.Class<?> javaType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isStringOrStringSubtype()
boolean
subsumes(TypeImpl ti)
-
Methods inherited from class org.apache.uima.cas.impl.TypeImpl_primitive
isPrimitive
-
Methods inherited from class org.apache.uima.cas.impl.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, isStringSubtype, isTopType, isTypedFsArray, iterator, prettyPrint, prettyPrintWithSubTypes, setBuiltIn, setFeatureFinal, setInheritanceFinal, setJavaClass, setStaticMergedIntFeaturesList, setStaticMergedNonSofaFsRefs, setStaticMergedRefFeaturesList, subsumesStrictly, subsumesValue, toString, toString
-
-
-
-
Constructor Detail
-
TypeImpl_string
public TypeImpl_string(java.lang.String name, TypeSystemImpl tsi, TypeImpl supertype)
-
TypeImpl_string
public TypeImpl_string(java.lang.String name, TypeSystemImpl tsi, TypeImpl supertype, java.lang.Class<?> javaType)
-
-
Method Detail
-
isStringOrStringSubtype
public boolean isStringOrStringSubtype()
- Specified by:
isStringOrStringSubtype
in interfaceType
- Overrides:
isStringOrStringSubtype
in classTypeImpl
- Returns:
- true if is a String or a StringSubtype
-
subsumes
public boolean subsumes(TypeImpl ti)
- Overrides:
subsumes
in classTypeImpl_primitive
- Parameters:
ti
- the subtype to check- Returns:
- true if this type subsumes the subtype (is equal to or a supertype of the subtype)
-
-