public class EdmEntityTypeImpl extends AbstractEdmStructuredType implements EdmEntityType
| Modifier and Type | Field and Description |
|---|---|
protected EdmEntityType |
entityBaseType |
baseType, baseTypeNamekind, typeNameedm| Constructor and Description |
|---|
EdmEntityTypeImpl(Edm edm,
FullQualifiedName name,
CsdlEntityType entityType) |
| Modifier and Type | Method and Description |
|---|---|
protected EdmStructuredType |
buildBaseType(FullQualifiedName baseTypeName) |
protected void |
checkBaseType() |
EdmEntityType |
getBaseType()
Base types are described in the OData protocol specification.
|
List<String> |
getKeyPredicateNames()
Gets all key predicate names.
|
EdmKeyPropertyRef |
getKeyPropertyRef(String keyPredicateName)
Get a key property ref by its name.
|
List<EdmKeyPropertyRef> |
getKeyPropertyRefs()
Get all key properties references as list of
EdmKeyPropertyRef. |
boolean |
hasStream()
Indicates if the entity type is treated as Media Link Entry with associated Media Resource.
|
protected void |
setEdmKeyPropertyRef(List<EdmKeyPropertyRef> edmKey) |
compatibleTo, getNavigationProperties, getNavigationProperty, getNavigationPropertyNames, getProperties, getProperty, getPropertyNames, getStructuralProperty, isAbstract, isOpenTypegetFullQualifiedName, getKind, getNamespacegetName, toStringgetAnnotation, getAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompatibleTo, getNavigationProperty, getNavigationPropertyNames, getProperty, getPropertyNames, getStructuralProperty, isAbstract, isOpenTypegetFullQualifiedName, getKind, getNamespacegetAnnotation, getAnnotationsprotected EdmEntityType entityBaseType
public EdmEntityTypeImpl(Edm edm, FullQualifiedName name, CsdlEntityType entityType)
protected void checkBaseType()
checkBaseType in class AbstractEdmStructuredTypeprotected void setEdmKeyPropertyRef(List<EdmKeyPropertyRef> edmKey)
protected EdmStructuredType buildBaseType(FullQualifiedName baseTypeName)
buildBaseType in class AbstractEdmStructuredTypepublic EdmEntityType getBaseType()
EdmStructuredTypegetBaseType in interface EdmEntityTypegetBaseType in interface EdmStructuredTypeEdmStructuredTypepublic List<String> getKeyPredicateNames()
EdmEntityTypegetKeyPredicateNames in interface EdmEntityTypepublic List<EdmKeyPropertyRef> getKeyPropertyRefs()
EdmEntityTypeEdmKeyPropertyRef.getKeyPropertyRefs in interface EdmEntityTypepublic EdmKeyPropertyRef getKeyPropertyRef(String keyPredicateName)
EdmEntityTypegetKeyPropertyRef in interface EdmEntityTypekeyPredicateName - name of key propertyEdmKeyPropertyRef for given namepublic boolean hasStream()
EdmEntityTypehasStream in interface EdmEntityTypetrue if the entity type is a Media Link EntryCopyright © 2023. All rights reserved.