Class SingletonTermType
java.lang.Object
org.apache.olingo.commons.core.edm.termtype.SingletonTermType
- All Implemented Interfaces:
EdmNamed,EdmTermType,EdmType
- Direct Known Subclasses:
EdmAnnotationPath,EdmAnyPropertyPath,EdmModelElementPath,EdmNavigationPropertyPath,EdmPropertyPath
Abstract singleton implementation of the EDM term-type interface.
-
Field Summary
FieldsFields inherited from interface org.apache.olingo.commons.api.edm.EdmTermType
EDM_NAMESPACE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetKind()getName()Namespace of thisEdmType.inthashCode()booleanisCompatible(EdmTermType termType) Checks type compatibility.
-
Field Details
-
name
-
-
Constructor Details
-
SingletonTermType
public SingletonTermType()
-
-
Method Details
-
getFullQualifiedName
- Specified by:
getFullQualifiedNamein interfaceEdmType- Returns:
- full qualified name
-
isCompatible
Description copied from interface:EdmTermTypeChecks type compatibility.- Specified by:
isCompatiblein interfaceEdmTermType- Parameters:
termType- theEdmTermTypeKindto be tested for compatibility- Returns:
trueif the provided type is compatible to this type
-
equals
-
hashCode
public int hashCode() -
getNamespace
Description copied from interface:EdmTypeNamespace of thisEdmType.- Specified by:
getNamespacein interfaceEdmType- Returns:
- namespace as String
-
getName
-
getKind
- Specified by:
getKindin interfaceEdmType- Returns:
EdmTypeKindof thisEdmType
-