Class EdmEntityTypeImpl
java.lang.Object
org.apache.olingo.commons.core.edm.AbstractEdmAnnotatable
org.apache.olingo.commons.core.edm.AbstractEdmNamed
org.apache.olingo.commons.core.edm.EdmTypeImpl
org.apache.olingo.commons.core.edm.AbstractEdmStructuredType
org.apache.olingo.commons.core.edm.EdmEntityTypeImpl
- All Implemented Interfaces:
EdmAnnotatable,EdmEntityType,EdmNamed,EdmStructuredType,EdmType
-
Field Summary
FieldsFields inherited from class org.apache.olingo.commons.core.edm.AbstractEdmStructuredType
baseType, baseTypeNameFields inherited from class org.apache.olingo.commons.core.edm.EdmTypeImpl
kind, typeNameFields inherited from class org.apache.olingo.commons.core.edm.AbstractEdmAnnotatable
edm -
Constructor Summary
ConstructorsConstructorDescriptionEdmEntityTypeImpl(Edm edm, FullQualifiedName name, CsdlEntityType entityType) -
Method Summary
Modifier and TypeMethodDescriptionprotected EdmStructuredTypebuildBaseType(FullQualifiedName baseTypeName) protected voidBase types are described in the OData protocol specification.Gets all key predicate names.getKeyPropertyRef(String keyPredicateName) Get a key property ref by its name.Get all key properties references as list ofEdmKeyPropertyRef.booleanIndicates if the entity type is treated as Media Link Entry with associated Media Resource.protected voidsetEdmKeyPropertyRef(List<EdmKeyPropertyRef> edmKey) Methods inherited from class org.apache.olingo.commons.core.edm.AbstractEdmStructuredType
compatibleTo, getNavigationProperties, getNavigationProperty, getNavigationPropertyNames, getProperties, getProperty, getPropertyNames, getStructuralProperty, isAbstract, isOpenTypeMethods inherited from class org.apache.olingo.commons.core.edm.EdmTypeImpl
getFullQualifiedName, getKind, getNamespaceMethods inherited from class org.apache.olingo.commons.core.edm.AbstractEdmNamed
getName, toStringMethods inherited from class org.apache.olingo.commons.core.edm.AbstractEdmAnnotatable
getAnnotation, getAnnotationsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.olingo.commons.api.edm.EdmAnnotatable
getAnnotation, getAnnotationsMethods inherited from interface org.apache.olingo.commons.api.edm.EdmStructuredType
compatibleTo, getNavigationProperty, getNavigationPropertyNames, getProperty, getPropertyNames, getStructuralProperty, isAbstract, isOpenTypeMethods inherited from interface org.apache.olingo.commons.api.edm.EdmType
getFullQualifiedName, getKind, getNamespace
-
Field Details
-
entityBaseType
-
-
Constructor Details
-
EdmEntityTypeImpl
-
-
Method Details
-
checkBaseType
protected void checkBaseType()- Specified by:
checkBaseTypein classAbstractEdmStructuredType
-
setEdmKeyPropertyRef
-
buildBaseType
- Specified by:
buildBaseTypein classAbstractEdmStructuredType
-
getBaseType
Description copied from interface:EdmStructuredTypeBase types are described in the OData protocol specification.- Specified by:
getBaseTypein interfaceEdmEntityType- Specified by:
getBaseTypein interfaceEdmStructuredType- Returns:
EdmStructuredType
-
getKeyPredicateNames
Description copied from interface:EdmEntityTypeGets all key predicate names. In case an alias is defined for a key predicate this will be returned.- Specified by:
getKeyPredicateNamesin interfaceEdmEntityType- Returns:
- collection of key property names of type List<String>
-
getKeyPropertyRefs
Description copied from interface:EdmEntityTypeGet all key properties references as list ofEdmKeyPropertyRef.- Specified by:
getKeyPropertyRefsin interfaceEdmEntityType- Returns:
- collection of key properties of type List<EdmKeyPropertyRef>
-
getKeyPropertyRef
Description copied from interface:EdmEntityTypeGet a key property ref by its name.- Specified by:
getKeyPropertyRefin interfaceEdmEntityType- Parameters:
keyPredicateName- name of key property- Returns:
EdmKeyPropertyReffor given name
-
hasStream
public boolean hasStream()Description copied from interface:EdmEntityTypeIndicates if the entity type is treated as Media Link Entry with associated Media Resource.- Specified by:
hasStreamin interfaceEdmEntityType- Returns:
trueif the entity type is a Media Link Entry
-