| Package | Description |
|---|---|
| org.tentackle.model |
Entity model.
|
| org.tentackle.model.impl |
Default model implementation.
|
| org.tentackle.model.migrate |
Database migration support.
|
| Modifier and Type | Method and Description |
|---|---|
Attribute |
EntityFactory.createAttribute(Entity entity,
SourceInfo sourceInfo,
boolean implicit)
Creates an attribute.
|
Attribute |
AttributeSorting.getAttribute()
Gets the sorted attribute.
|
Attribute |
AttributeOptions.getAttribute()
Gets the attribute this option-set belongs to.
|
Attribute |
Relation.getAttribute()
Gets the associated attribute.
|
Attribute |
IndexAttribute.getAttribute()
Gets the attribute.
|
Attribute |
Entity.getAttributeByColumnName(String columnName,
boolean all)
Gets an attribute by its database column name.
|
Attribute |
Entity.getAttributeByJavaName(String javaName,
boolean all)
Gets an attribute by its java name.
|
Attribute |
Entity.getContextIdAttribute()
Gets the attribute that holds the context id.
|
Attribute |
Relation.getForeignAttribute()
Gets the foreign attribute.
|
Attribute |
ForeignKey.getReferencedAttribute()
Gets the referenced attribute.
|
Attribute |
ForeignKey.getReferencingAttribute()
Gets the referencing attribute.
|
Attribute |
Entity.getRootAttribute()
Returns the single root attribute if there is exactly one.
|
| Modifier and Type | Method and Description |
|---|---|
List<Attribute> |
Entity.getAllAttributes()
Gets all attributes including inherited and from sub entities.
|
List<Attribute> |
Entity.getAttributes()
Gets the attributes.
|
List<Attribute> |
Entity.getAttributesIncludingInherited()
Gets the attributes including the inherited ones.
|
List<Attribute> |
Entity.getAttributesIncludingSubEntities()
Gets the attributes including the ones from the sub entities.
|
List<Attribute> |
Entity.getInheritedAttributes()
Gets the inherited attributes.
|
List<Attribute> |
Entity.getMappedAttributes()
Gets the attributes mapped by the persistence layer for this entity.
|
Set<Attribute> |
Entity.getRootAttributes()
Returns the attributes that corresponds to the root id.
|
List<Attribute> |
Entity.getSubEntityAttributes()
Gets the attributes from the sub entities.
|
List<Attribute> |
Entity.getTableAttributes()
Gets the attributes of the table mapped by this entity.
|
List<Attribute> |
Entity.getUniqueDomainKey()
Gets the attributes describing the unique domain key.
|
| Modifier and Type | Method and Description |
|---|---|
AttributeOptions |
EntityFactory.createAttributeOptions(Attribute attribute,
SourceInfo sourceInfo)
Creates attribute options.
|
| Constructor and Description |
|---|
AttributeSorting(Attribute attribute,
SortType sortType)
Creates a sorting info for an attribute.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AttributeImpl
Attribute implementation.
|
| Modifier and Type | Method and Description |
|---|---|
Attribute |
RelationImpl.getAttribute() |
Attribute |
IndexAttributeImpl.getAttribute() |
Attribute |
EntityImpl.getAttributeByColumnName(String columnName,
boolean all) |
Attribute |
EntityImpl.getAttributeByJavaName(String javaName,
boolean all) |
Attribute |
EntityImpl.getContextIdAttribute() |
Attribute |
RelationImpl.getForeignAttribute() |
Attribute |
ForeignKeyImpl.getReferencedAttribute() |
Attribute |
ForeignKeyImpl.getReferencingAttribute() |
Attribute |
EntityImpl.getRootAttribute() |
| Modifier and Type | Method and Description |
|---|---|
protected List<Attribute> |
EntityImpl.appendIdSerial(Entity entity,
List<Attribute> attributes)
Appends id and serial from another entity.
|
List<Attribute> |
EntityImpl.getAllAttributes() |
List<Attribute> |
EntityImpl.getAttributes() |
List<Attribute> |
EntityImpl.getAttributesIncludingInherited() |
List<Attribute> |
EntityImpl.getAttributesIncludingSubEntities() |
List<Attribute> |
EntityImpl.getInheritedAttributes() |
List<Attribute> |
EntityImpl.getMappedAttributes() |
Set<Attribute> |
EntityImpl.getRootAttributes() |
List<Attribute> |
EntityImpl.getSubEntityAttributes() |
List<Attribute> |
EntityImpl.getTableAttributes() |
List<Attribute> |
EntityImpl.getUniqueDomainKey() |
protected List<Attribute> |
EntityImpl.moveIdSerialToEnd(List<Attribute> attributes)
Moved id and serial to the end of a new created attribute list.
|
protected List<Attribute> |
EntityImpl.removeIdSerial(List<Attribute> attributes)
Removes id and serial from the list of attributes.
|
| Modifier and Type | Method and Description |
|---|---|
AttributeOptionsImpl |
EntityFactoryImpl.createAttributeOptions(Attribute attribute,
SourceInfo sourceInfo) |
void |
RelationImpl.setAttribute(Attribute attribute) |
void |
IndexAttributeImpl.setAttribute(Attribute attribute) |
void |
EntityImpl.setContextIdAttribute(Attribute contextIdAttribute)
Sets the context id attribute.
|
void |
RelationImpl.setForeignAttribute(Attribute foreignAttribute) |
| Modifier and Type | Method and Description |
|---|---|
protected List<Attribute> |
EntityImpl.appendIdSerial(Entity entity,
List<Attribute> attributes)
Appends id and serial from another entity.
|
protected void |
EntityImpl.getUniqueDomainKeyImpl(List<Attribute> uniqueDomainKeys,
Entity entity)
Adds the unique domain keys recursively for given entity to the list.
|
protected List<Attribute> |
EntityImpl.moveIdSerialToEnd(List<Attribute> attributes)
Moved id and serial to the end of a new created attribute list.
|
protected List<Attribute> |
EntityImpl.removeIdSerial(List<Attribute> attributes)
Removes id and serial from the list of attributes.
|
| Constructor and Description |
|---|
AttributeOptionsImpl(Attribute attribute,
SourceInfo sourceInfo)
Creates attribute options.
|
ForeignKeyImpl(Entity referencingEntity,
Attribute referencingAttribute,
Entity referencedEntity,
Attribute referencedAttribute,
boolean composite)
Creates a foreign key.
|
| Modifier and Type | Method and Description |
|---|---|
Attribute |
ColumnMigrator.getAttribute()
Gets the model's attribute.
|
| Constructor and Description |
|---|
ColumnMigrator(Entity entity,
Attribute attribute,
Backend backend,
Collection<ColumnMetaData> columns)
Creates a column migrator.
|
ColumnMigrator(Entity entity,
Attribute attribute,
Backend backend,
ColumnMetaData... columns)
Creates a column migrator.
|
Copyright © 2016 Krake Softwaretechnik. All rights reserved.