public class EdmEntityTypeImpl extends EdmStructuralTypeImpl implements EdmEntityType
edmBaseType, namespace, structuralTypeedm, name| Constructor and Description |
|---|
EdmEntityTypeImpl() |
| Modifier and Type | Method and Description |
|---|---|
EdmEntityType |
getBaseType()
Base types are described in the OData protocol specification.
|
FullQualifiedName |
getBaseTypeName() |
EdmCustomizableFeedMappings |
getCustomizableFeedMappings()
Gets the Customizable Feed Mappings of the entity type.
|
List<EdmProperty> |
getKeyProperties()
Get all key properties as list of
EdmProperty. |
List<String> |
getKeyPropertyNames()
Gets all key property names.
|
List<String> |
getNavigationPropertyNames()
Gets all navigation property names.
|
protected EdmTyped |
getPropertyInternal(String name) |
boolean |
hasStream()
Indicates if the entity type is treated as Media Link Entry
with associated Media Resource.
|
void |
setAbstract(boolean isAbstract) |
void |
setBaseType(FullQualifiedName baseType) |
void |
setCustomizableFeedMappings(EdmCustomizableFeedMappings edmCustomizableFeedMappings) |
void |
setEdmKeyProperties(List<EdmProperty> edmKeyProperties) |
void |
setEdmKeyPropertyNames(List<String> edmKeyPropertyNames) |
void |
setEdmNavigationPropertyNames(List<String> edmNavigationPropertyNames) |
void |
setHasStream(boolean hasStream) |
void |
setNavigationProperties(List<EdmNavigationProperty> navigationProperties) |
String |
toString() |
getAnnotations, getEdmBaseType, getEdmTypeKind, getKind, getMapping, getNamespace, getProperties, getProperty, getPropertyNames, getStructuralType, setAnnotations, setEdmBaseType, setEdmPropertyNames, setEdmTypeKind, setNamespace, setProperties, setStructuralTypegetName, setEdm, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetProperty, getPropertyNamesgetMappinggetKind, getNamespacegetAnnotationspublic void setBaseType(FullQualifiedName baseType)
public void setAbstract(boolean isAbstract)
public void setEdmKeyProperties(List<EdmProperty> edmKeyProperties)
public void setNavigationProperties(List<EdmNavigationProperty> navigationProperties)
public void setEdmNavigationPropertyNames(List<String> edmNavigationPropertyNames)
public void setHasStream(boolean hasStream)
public List<String> getKeyPropertyNames() throws EdmException
EdmEntityTypegetKeyPropertyNames in interface EdmEntityTypeEdmExceptionpublic List<EdmProperty> getKeyProperties() throws EdmException
EdmEntityTypeEdmProperty.getKeyProperties in interface EdmEntityTypeEdmExceptionpublic boolean hasStream()
throws EdmException
EdmEntityTypehasStream in interface EdmEntityTypetrue if the entity type is a Media Link EntryEdmExceptionpublic EdmCustomizableFeedMappings getCustomizableFeedMappings() throws EdmException
EdmEntityTypegetCustomizableFeedMappings in interface EdmEntityTypeEdmCustomizableFeedMappingsEdmExceptionpublic List<String> getNavigationPropertyNames() throws EdmException
EdmEntityTypegetNavigationPropertyNames in interface EdmEntityTypeEdmExceptionpublic EdmEntityType getBaseType() throws EdmException
EdmStructuralTypegetBaseType in interface EdmEntityTypegetBaseType in interface EdmStructuralTypegetBaseType in class EdmStructuralTypeImplEdmStructuralTypeEdmExceptionpublic FullQualifiedName getBaseTypeName() throws EdmException
EdmExceptionprotected EdmTyped getPropertyInternal(String name) throws EdmException
getPropertyInternal in class EdmStructuralTypeImplEdmExceptionpublic void setCustomizableFeedMappings(EdmCustomizableFeedMappings edmCustomizableFeedMappings)
public String toString()
toString in class EdmStructuralTypeImplCopyright © 2013-2023 The Apache Software Foundation. All Rights Reserved.