public class ODataType extends NamedObject implements Comparable<ODataType>
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ODataType o)
Compares this object with the specified object for order.
|
ODataType |
getBaseType()
Returns the parent type this type inherits from.
|
String |
getClassName()
Returns the Java class name related to this entity type.
|
List<ComplexProperty> |
getComplexProperties()
Returns the list of complex properties.
|
String |
getFullClassName()
Returns the package name related to this entity type.
|
Set<String> |
getImportedJavaClasses()
Returns the set of imported Java classes.
|
Set<ODataType> |
getImportedTypes()
Returns the set of imported entity types.
|
String |
getPackageName()
Returns the package name related to this entity type.
|
List<Property> |
getProperties()
Returns the list of properties.
|
Schema |
getSchema()
Returns the schema.
|
boolean |
isAbstractType()
Returns true if this type is abstract.
|
void |
setAbstractType(boolean abstractType)
Indicates if this type is abstract
|
void |
setBaseType(ODataType baseType)
Sets the parent type this type inherits from.
|
void |
setComplexProperties(List<ComplexProperty> complexProperties)
Sets the list of complex properties.
|
void |
setProperties(List<Property> properties)
Sets the list of properties.
|
void |
setSchema(Schema schema)
Sets the schema.
|
equals, getName, getNormalizedName, hashCode, toString
public ODataType(String name)
name
- The name of this entity type.public int compareTo(ODataType o)
compareTo
in interface Comparable<ODataType>
public ODataType getBaseType()
public String getClassName()
public List<ComplexProperty> getComplexProperties()
public String getFullClassName()
public Set<String> getImportedJavaClasses()
public Set<ODataType> getImportedTypes()
public String getPackageName()
public List<Property> getProperties()
public Schema getSchema()
public boolean isAbstractType()
public void setAbstractType(boolean abstractType)
abstractType
- True if this type is abstractpublic void setBaseType(ODataType baseType)
baseType
- The parent type this type inherits from.public void setComplexProperties(List<ComplexProperty> complexProperties)
complexProperties
- The list of complex properties.public void setProperties(List<Property> properties)
properties
- The list of properties.public void setSchema(Schema schema)
schema
- The schema.Copyright © 2005–2018. All rights reserved.