public class EntityType extends ODataType
Constructor and Description |
---|
EntityType(String name)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
List<NavigationProperty> |
getAssociations()
Returns the list of associations.
|
EntityType |
getBaseType()
Returns the parent type this type inherits from.
|
Property |
getBlobValueEditRefProperty()
Returns the entity's member that stores the resource reference able to
update the blob value.
|
Property |
getBlobValueRefProperty()
Returns the name of the entity property that stores the blob reference.
|
Set<String> |
getImportedJavaClasses()
Returns the set of imported Java classes.
|
Set<ODataType> |
getImportedTypes()
Returns the set of imported entity types.
|
List<Property> |
getKeys()
Returns the "keys" property.
|
boolean |
isBlob()
Returns true if this type a blob, that is to say it represents binary
data.
|
void |
setAssociations(List<NavigationProperty> associations)
Sets the list of associations.
|
void |
setBlob(boolean blob)
Indicates if this type a blob, that is to say it represents binary data.
|
void |
setBlobValueEditRefProperty(Property blobValueEditRefProperty)
Sets the entity's member that stores the resource reference able to
update the blob value.
|
void |
setBlobValueRefProperty(Property blobValueRefProperty)
Sets the name of the entity property that stores the blob reference.
|
void |
setKeys(List<Property> keys)
Sets the "keys" property.
|
compareTo, getClassName, getComplexProperties, getFullClassName, getPackageName, getProperties, getSchema, isAbstractType, setAbstractType, setBaseType, setComplexProperties, setProperties, setSchema
equals, getName, getNormalizedName, hashCode, toString
public EntityType(String name)
name
- The name of this entity type.public List<NavigationProperty> getAssociations()
public EntityType getBaseType()
getBaseType
in class ODataType
public Property getBlobValueEditRefProperty()
public Property getBlobValueRefProperty()
public Set<String> getImportedJavaClasses()
getImportedJavaClasses
in class ODataType
public Set<ODataType> getImportedTypes()
getImportedTypes
in class ODataType
public boolean isBlob()
public void setAssociations(List<NavigationProperty> associations)
associations
- The list of associations.public void setBlob(boolean blob)
media
- True if this type a blob, that is to say it represents binary
data.public void setBlobValueEditRefProperty(Property blobValueEditRefProperty)
blobValueEditRefProperty
- The entity's member that stores the resource reference able to
update the blob value.public void setBlobValueRefProperty(Property blobValueRefProperty)
blobValueRefProperty
- The name of the entity property that stores the blob
reference.Copyright © 2005–2014. All rights reserved.