Package org.rumbledb.types
Class SchemaElementNodeItemType
java.lang.Object
org.rumbledb.types.AbstractItemType
org.rumbledb.types.ElementNodeItemType
org.rumbledb.types.SchemaElementNodeItemType
- All Implemented Interfaces:
Serializable,ItemType
A global element declaration and its concrete, valid substitution-group members.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSchemaElementNodeItemType(Name declarationName, List<ElementNodeItemType> alternatives) -
Method Summary
Methods inherited from class org.rumbledb.types.ElementNodeItemType
findLeastCommonSuperTypeWith, getAllowedFacets, getBaseType, getTypeTreeDepth, isCompatibleWithDataFrames, isNodeItemType, isResolvedMethods inherited from class org.rumbledb.types.AbstractItemType
equalityKeyOf, equals, hashCode, namedTypeKey, structuralTypeKeyMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.rumbledb.types.ItemType
canBeNull, canBePromotedTo, findLeastCommonSuperTypeLax, getArrayContentFacet, getBoundedFacet, getCardinalityFacet, getCastingPrimitiveType, getClosedFacet, getConstraintsFacet, getEnumerationFacet, getExplicitTimezoneFacet, getFractionDigitsFacet, getIdentifierString, getLengthFacet, getLexicalSpacePatterns, getMapKeyItemType, getMapValueSequenceType, getMaxExclusiveFacet, getMaxInclusiveFacet, getMaxLengthFacet, getMemberSequenceType, getMinExclusiveFacet, getMinInclusiveFacet, getMinLengthFacet, getNumericFacet, getObjectContentFacet, getObjectContentFacet, getObjectContentFacetAsUnorderedMap, getObjectKeysFacet, getOrderedFacet, getPatternFacet, getPrimitiveType, getSignature, getSingleNullableType, getSparkSQLType, getTotalDigitsFacet, getTypes, getWhitespaceFacet, isArrayItemType, isAtomicItemType, isCastingPrimitive, isEqualTo, isFunctionItemType, isJsonItemType, isMapItemType, isNumeric, isObjectItemType, isPrimitive, isStaticallyCastableAs, isTopmostItemType, isUnionType, isUserDefined, isXQueryArrayItemType, resolve, resolve
-
Constructor Details
-
SchemaElementNodeItemType
-
-
Method Details
-
equalityKey
- Overrides:
equalityKeyin classElementNodeItemType
-
hasName
public boolean hasName()Description copied from interface:ItemTypeTests for QName.- Specified by:
hasNamein interfaceItemType- Overrides:
hasNamein classElementNodeItemType- Returns:
- true if [this] item type has a QName
-
getName
- Specified by:
getNamein interfaceItemType- Overrides:
getNamein classElementNodeItemType- Returns:
- the itemtype QName if available
-
isSubtypeOf
- Specified by:
isSubtypeOfin interfaceItemType- Overrides:
isSubtypeOfin classElementNodeItemType- Parameters:
superType- another item type- Returns:
- true if [this] is a subtype of [superType], any type is considered a subtype of itself. If [this] has a name, then this is determined strictly based on the hierarchy. If [this] does not have a name, then this is determined based on facets.
-
toString
- Specified by:
toStringin interfaceItemType- Overrides:
toStringin classElementNodeItemType
-