Class EntityType
- java.lang.Object
-
- com.github.davidmoten.odata.client.generator.model.Structure<TEntityType>
-
- com.github.davidmoten.odata.client.generator.model.EntityType
-
public final class EntityType extends Structure<TEntityType>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.github.davidmoten.odata.client.generator.model.Structure
Structure.FieldName
-
-
Constructor Summary
Constructors Constructor Description EntityType(TEntityType c, Names names)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Structure<TEntityType>create(TEntityType t)StringgetBaseType()FilegetClassFile()FilegetClassFileCollectionRequest()FilegetClassFileEntityRequest()FilegetDirectoryEntity()Optional<KeyElement>getFirstKey()StringgetFullClassNameEntity()StringgetFullClassNameEntityRequest()StringgetFullType()List<KeyElement>getKeys()StringgetName()List<TNavigationProperty>getNavigationProperties()StringgetPackage()StringgetPackageEntityRequest()List<TProperty>getProperties()StringgetSimpleClassName()StringgetSimpleClassNameEntityRequest()booleanhasKey()booleanhasStream()booleanisAbstract()booleanisEntityType()-
Methods inherited from class com.github.davidmoten.odata.client.generator.model.Structure
getExtendsClause, getFieldNames, getFields, getHeirarchy, hasBaseType, isMediaEntityOrHasStreamProperty, printJavadoc, printMutatePropertyJavadoc, printPropertyJavadoc
-
-
-
-
Constructor Detail
-
EntityType
public EntityType(TEntityType c, Names names)
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein classStructure<TEntityType>
-
getBaseType
public String getBaseType()
- Specified by:
getBaseTypein classStructure<TEntityType>
-
getProperties
public List<TProperty> getProperties()
- Specified by:
getPropertiesin classStructure<TEntityType>
-
getNavigationProperties
public List<TNavigationProperty> getNavigationProperties()
- Specified by:
getNavigationPropertiesin classStructure<TEntityType>
-
create
public Structure<TEntityType> create(TEntityType t)
- Specified by:
createin classStructure<TEntityType>
-
isEntityType
public boolean isEntityType()
- Specified by:
isEntityTypein classStructure<TEntityType>
-
getSimpleClassName
public String getSimpleClassName()
- Specified by:
getSimpleClassNamein classStructure<TEntityType>
-
getFullType
public String getFullType()
- Specified by:
getFullTypein classStructure<TEntityType>
-
getClassFile
public File getClassFile()
- Specified by:
getClassFilein classStructure<TEntityType>
-
getClassFileEntityRequest
public File getClassFileEntityRequest()
-
getClassFileCollectionRequest
public File getClassFileCollectionRequest()
- Specified by:
getClassFileCollectionRequestin classStructure<TEntityType>
-
getPackage
public String getPackage()
- Specified by:
getPackagein classStructure<TEntityType>
-
getFullClassNameEntity
public String getFullClassNameEntity()
-
getSimpleClassNameEntityRequest
public String getSimpleClassNameEntityRequest()
-
getPackageEntityRequest
public String getPackageEntityRequest()
-
getDirectoryEntity
public File getDirectoryEntity()
-
getKeys
public List<KeyElement> getKeys()
-
hasKey
public boolean hasKey()
-
getFirstKey
public Optional<KeyElement> getFirstKey()
-
isAbstract
public boolean isAbstract()
- Specified by:
isAbstractin classStructure<TEntityType>
-
hasStream
public boolean hasStream()
-
getFullClassNameEntityRequest
public String getFullClassNameEntityRequest()
-
-