Package com.im.ijcs.api.ddl.dto
Class EntityInfo
- java.lang.Object
-
- com.im.ijcs.api.ddl.dto.AbstractEntityInfo<EntityInfo,FieldInfo>
-
- com.im.ijcs.api.ddl.dto.EntityInfo
-
- All Implemented Interfaces:
ImplTypeInfo
,ItemPersistentInfo
,SchemaItemPersistentInfo
,XAttributesInfo
,java.io.Serializable
public class EntityInfo extends AbstractEntityInfo<EntityInfo,FieldInfo>
This class describes aDFEntity
instance. It is used for storing entities in a database. The persistence is handled by JAXB. Please note that the getters may returnnull
in a situation when the unmarshalled XML does not contain elements that populate data returned from the getters.- Author:
- Martin Adamek
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EntityInfo.ValueGeneratorDTO
-
Nested classes/interfaces inherited from class com.im.ijcs.api.ddl.dto.AbstractEntityInfo
AbstractEntityInfo.PrimaryKeyColumnDTO
-
-
Field Summary
-
Fields inherited from class com.im.ijcs.api.ddl.dto.AbstractEntityInfo
description, fields, id, lists, name, primaryKeyColumn, props, type, xmlns
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
EntityInfo()
EntityInfo(EntityInfo o)
EntityInfo(java.lang.String id, java.lang.String name, java.lang.String type, java.lang.String schemaName, java.lang.String tableName, AbstractEntityInfo.PrimaryKeyColumnDTO primaryKeyColumn, EntityInfo.ValueGeneratorDTO valueGenerator, java.util.List<PropInfo> props, java.lang.String description, java.lang.String cartIndexName, java.lang.String tableType, java.util.List<com.im.commons.db.util.SchemaQualifiedName> otherTableNames, java.lang.String sql, java.util.List<FieldInfo> fields, java.util.List<ListInfo> lists, com.im.commons.db.ddl.tablesets.TableSetInfo tableSet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAsXml()
java.lang.String
getCartIndexName()
protected EntityInfo
getClone()
java.util.List<com.im.commons.db.util.SchemaQualifiedName>
getOtherTableNames()
java.lang.String
getSchemaName()
java.lang.String
getSql()
java.lang.String
getTableName()
com.im.commons.db.ddl.tablesets.TableSetInfo
getTableSet()
java.lang.String
getTableType()
EntityInfo.ValueGeneratorDTO
getValueGenerator()
java.lang.String
toString()
EntityInfo
updateCaching(boolean caching)
EntityInfo
updateCartIndesAndProps(java.lang.String cartIndexName, java.util.List<PropInfo> props)
EntityInfo
updateTableName(java.lang.String tableName)
EntityInfo
updateTableSet(com.im.commons.db.ddl.tablesets.TableSetInfo tableSet)
EntityInfo
updateValueGenerator(EntityInfo.ValueGeneratorDTO newVG)
-
Methods inherited from class com.im.ijcs.api.ddl.dto.AbstractEntityInfo
findField, getDescription, getFields, getGenericType, getId, getIDFieldID, getImplType, getLists, getName, getPrimaryKeyColumn, getXAttributes, updateDescription, updateFieldsAndLists, updateName, updateProps
-
-
-
-
Constructor Detail
-
EntityInfo
protected EntityInfo()
-
EntityInfo
public EntityInfo(java.lang.String id, java.lang.String name, java.lang.String type, java.lang.String schemaName, java.lang.String tableName, AbstractEntityInfo.PrimaryKeyColumnDTO primaryKeyColumn, EntityInfo.ValueGeneratorDTO valueGenerator, java.util.List<PropInfo> props, java.lang.String description, java.lang.String cartIndexName, java.lang.String tableType, java.util.List<com.im.commons.db.util.SchemaQualifiedName> otherTableNames, java.lang.String sql, java.util.List<FieldInfo> fields, java.util.List<ListInfo> lists, com.im.commons.db.ddl.tablesets.TableSetInfo tableSet)
-
EntityInfo
public EntityInfo(EntityInfo o)
-
-
Method Detail
-
getAsXml
public java.lang.String getAsXml()
-
getTableName
public final java.lang.String getTableName()
-
getSchemaName
public final java.lang.String getSchemaName()
-
getTableType
public final java.lang.String getTableType()
-
getValueGenerator
public final EntityInfo.ValueGeneratorDTO getValueGenerator()
-
getOtherTableNames
public final java.util.List<com.im.commons.db.util.SchemaQualifiedName> getOtherTableNames()
-
getCartIndexName
public final java.lang.String getCartIndexName()
-
getSql
public final java.lang.String getSql()
-
getTableSet
public final com.im.commons.db.ddl.tablesets.TableSetInfo getTableSet()
-
getClone
protected EntityInfo getClone()
- Specified by:
getClone
in classAbstractEntityInfo<EntityInfo,FieldInfo>
-
updateCartIndesAndProps
public final EntityInfo updateCartIndesAndProps(java.lang.String cartIndexName, java.util.List<PropInfo> props)
-
updateTableName
public final EntityInfo updateTableName(java.lang.String tableName)
-
updateValueGenerator
public final EntityInfo updateValueGenerator(EntityInfo.ValueGeneratorDTO newVG)
-
updateTableSet
public final EntityInfo updateTableSet(com.im.commons.db.ddl.tablesets.TableSetInfo tableSet)
-
updateCaching
public final EntityInfo updateCaching(boolean caching)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-