Uses of Interface
org.tentackle.model.Attribute
Packages that use Attribute
Package
Description
Entity model.
Default model implementation.
Database migration support.
Model pretty printing.
-
Uses of Attribute in org.tentackle.model
Methods in org.tentackle.model that return AttributeModifier and TypeMethodDescriptionAttributeSorting.attribute()Returns the value of theattributerecord component.EntityFactory.createAttribute(Entity entity, SourceInfo sourceInfo, boolean implicit) Creates an attribute.Attribute.createEmbedded(Entity embeddingEntity, String pathName, String columnName) Creates an embedded copy of this attribute.AttributeOptions.getAttribute()Gets the attribute this option-set belongs to.IndexAttribute.getAttribute()Gets the attribute.MethodArgument.getAttribute()Gets the local attribute.Relation.getAttribute()Gets the associated attribute.Entity.getAttributeByColumnName(String columnName, boolean all) Gets an attribute by its database column name.Entity.getAttributeByJavaName(String javaName, boolean all) Gets an attribute by its java name.Entity.getContextIdAttribute()Gets the attribute that holds the context id.Relation.getCountAttribute()Returns the attribute that holds the number of elements of a 1:N relation.
Applies only to composite non-reversed list relations.
If set, this column gets the number of elements in the list when the PDO is persisted.MethodArgument.getForeignAttribute()Gets the foreign attribute.Relation.getForeignAttribute()Gets the foreign attribute.ForeignKey.getReferencedAttribute()Gets the referenced attribute.ForeignKey.getReferencingAttribute()Gets the referencing attribute.Entity.getRootAttribute()Returns the single root attribute if there is exactly one.Methods in org.tentackle.model that return types with arguments of type AttributeModifier and TypeMethodDescriptionEntity.getAllAttributes()Gets all attributes including inherited and from sub entities.Entity.getAttributes()Gets the attributes.Entity.getAttributesIncludingInherited()Gets the attributes including the inherited ones.Entity.getAttributesIncludingSubEntities()Gets the attributes including the ones from the sub entities.Entity.getEmbeddedAttributes()Gets the attributes of embedded entities.Entity.getInheritedAttributes()Gets the inherited attributes.Entity.getMappedAttributes()Gets the attributes mapped by the persistence layer for this entity.Entity.getRootAttributes()Returns the attributes that corresponds to the root id.Entity.getSubEntityAttributes()Gets the attributes from the sub entities.Entity.getTableAttributes()Gets the attributes of the table mapped by this entity.Entity.getUniqueDomainKey()Gets the attributes describing the unique domain key.Methods in org.tentackle.model with parameters of type AttributeModifier and TypeMethodDescriptionEntityFactory.createAttributeOptions(Attribute attribute, SourceInfo sourceInfo) Creates attribute options.CodeFactory.createBindableAnnotation(Attribute attribute) Creates source code for the @Bindable-annotation.CodeFactory.createGetterName(Attribute attribute) Creates the name of the getter for an attribute.CodeFactory.createMethodArgument(Attribute attribute, String value) Creates the source code for a method argument.CodeFactory.createSetterName(Attribute attribute) Creates the name of the setter for an attribute.NameVerifier.verifyAttributeName(Attribute attribute) Verifies the Java name of an attribute.NameVerifier.verifyColumnName(Attribute attribute) Verifies the column name of an attribute.Constructors in org.tentackle.model with parameters of type AttributeModifierConstructorDescriptionAttributeSorting(Attribute attribute, String columnSuffix, SortType sortType) Creates an instance of aAttributeSortingrecord class.MethodArgument(Relation relation, String foreignAttributeName, Attribute attribute) Creates a method argument for another foreign attribute as the relation points to.MethodArgument(Relation relation, Attribute attribute) Creates a method argument. -
Uses of Attribute in org.tentackle.model.impl
Classes in org.tentackle.model.impl that implement AttributeMethods in org.tentackle.model.impl that return AttributeModifier and TypeMethodDescriptionAttributeImpl.createEmbedded(Entity embeddingEntity, String pathName, String columnName) IndexAttributeImpl.getAttribute()RelationImpl.getAttribute()EntityImpl.getAttributeByColumnName(String columnName, boolean all) EntityImpl.getAttributeByJavaName(String javaName, boolean all) EntityImpl.getContextIdAttribute()RelationImpl.getCountAttribute()RelationImpl.getForeignAttribute()ForeignKeyImpl.getReferencedAttribute()ForeignKeyImpl.getReferencingAttribute()EntityImpl.getRootAttribute()Methods in org.tentackle.model.impl that return types with arguments of type AttributeModifier and TypeMethodDescriptionEntityImpl.appendIdSerial(Entity entity, List<Attribute> attributes) Appends id and serial from another entity.EntityImpl.getAllAttributes()EntityImpl.getAttributes()EntityImpl.getAttributesIncludingInherited()EntityImpl.getAttributesIncludingSubEntities()EntityImpl.getEmbeddedAttributes()EntityImpl.getInheritedAttributes()EntityImpl.getMappedAttributes()EntityImpl.getRootAttributes()EntityImpl.getSubEntityAttributes()EntityImpl.getTableAttributes()EntityImpl.getUniqueDomainKey()EntityImpl.moveIdSerialToEnd(List<Attribute> attributes) Moved id and serial to the end of a new created attribute list.EntityImpl.removeIdSerial(List<Attribute> attributes) Removes id and serial from the list of attributes.Methods in org.tentackle.model.impl with parameters of type AttributeModifier and TypeMethodDescriptionEntityFactoryImpl.createAttributeOptions(Attribute attribute, SourceInfo sourceInfo) voidRelationImpl.setAttribute(Attribute attribute) voidIndexAttributeImpl.setAttributeAndColumnName(Attribute attribute, String columnName) voidEntityImpl.setContextIdAttribute(Attribute contextIdAttribute) Sets the context id attribute.voidRelationImpl.setCountAttribute(Attribute countAttribute) voidRelationImpl.setForeignAttribute(Attribute foreignAttribute) NameVerifierImpl.verifyAttributeName(Attribute attribute) NameVerifierImpl.verifyColumnName(Attribute attribute) Method parameters in org.tentackle.model.impl with type arguments of type AttributeModifier and TypeMethodDescriptionEntityImpl.appendIdSerial(Entity entity, List<Attribute> attributes) Appends id and serial from another entity.protected voidEntityImpl.getUniqueDomainKeyImpl(List<Attribute> uniqueDomainKeys, Entity entity) Adds the unique domain keys recursively for given entity to the list.EntityImpl.moveIdSerialToEnd(List<Attribute> attributes) Moved id and serial to the end of a new created attribute list.EntityImpl.removeIdSerial(List<Attribute> attributes) Removes id and serial from the list of attributes.Constructors in org.tentackle.model.impl with parameters of type AttributeModifierConstructorDescriptionAttributeOptionsImpl(Attribute attribute, SourceInfo sourceInfo) Creates attribute options.ForeignKeyImpl(Entity referencingEntity, Attribute referencingAttribute, Entity referencedEntity, Attribute referencedAttribute, boolean composite) Creates a foreign key. -
Uses of Attribute in org.tentackle.model.migrate
Methods in org.tentackle.model.migrate that return AttributeConstructors in org.tentackle.model.migrate with parameters of type AttributeModifierConstructorDescriptionColumnMigrator(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. -
Uses of Attribute in org.tentackle.model.print
Constructors in org.tentackle.model.print with parameters of type AttributeModifierConstructorDescriptionAttributeOptionsPrinter(Attribute attribute, PrintConfiguration configuration) Creates a printer.AttributePrinter(Attribute attribute, PrintConfiguration configuration) Creates an attribute printer.