public class EdmEntityTypeImpl extends EdmStructuralTypeImpl implements EdmEntityType
edmBaseType, namespace, structuralType
edm, 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, setStructuralType
getName, setEdm, setName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getProperty, getPropertyNames
getMapping
getKind, getNamespace
getAnnotations
public 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
EdmEntityType
getKeyPropertyNames
in interface EdmEntityType
EdmException
public List<EdmProperty> getKeyProperties() throws EdmException
EdmEntityType
EdmProperty
.getKeyProperties
in interface EdmEntityType
EdmException
public boolean hasStream() throws EdmException
EdmEntityType
hasStream
in interface EdmEntityType
true
if the entity type is a Media Link EntryEdmException
public EdmCustomizableFeedMappings getCustomizableFeedMappings() throws EdmException
EdmEntityType
getCustomizableFeedMappings
in interface EdmEntityType
EdmCustomizableFeedMappings
EdmException
public List<String> getNavigationPropertyNames() throws EdmException
EdmEntityType
getNavigationPropertyNames
in interface EdmEntityType
EdmException
public EdmEntityType getBaseType() throws EdmException
EdmStructuralType
getBaseType
in interface EdmEntityType
getBaseType
in interface EdmStructuralType
getBaseType
in class EdmStructuralTypeImpl
EdmStructuralType
EdmException
public FullQualifiedName getBaseTypeName() throws EdmException
EdmException
protected EdmTyped getPropertyInternal(String name) throws EdmException
getPropertyInternal
in class EdmStructuralTypeImpl
EdmException
public void setCustomizableFeedMappings(EdmCustomizableFeedMappings edmCustomizableFeedMappings)
public String toString()
toString
in class EdmStructuralTypeImpl
Copyright © 2013-2019 The Apache Software Foundation. All Rights Reserved.