Uses of Interface
org.jminor.framework.domain.Entity.Definition

Packages that use Entity.Definition
org.jminor.framework.domain   
 

Uses of Entity.Definition in org.jminor.framework.domain
 

Methods in org.jminor.framework.domain that return Entity.Definition
static Entity.Definition Entities.define(String entityID, Property... propertyDefinitions)
          Defines a new entity, by default the entityID is used as the underlying table name
static Entity.Definition Entities.define(String entityID, String tableName, Property... propertyDefinitions)
          Defines a new entity
 Entity.Definition Entity.Definition.setBackgroundColorProvider(Entity.BackgroundColorProvider colorProvider)
           
 Entity.Definition Entity.Definition.setCaption(String caption)
          Sets the caption for this entity type
 Entity.Definition Entity.Definition.setComparator(Entity.Comparator comparator)
          Sets the comparator to use when comparing this entity type to other entities
 Entity.Definition Entity.Definition.setDomainID(String domainID)
          Sets the domain ID for this entity type
 Entity.Definition Entity.Definition.setIdSource(IdSource idSource)
          Sets the id source for this entity type, which specifies the primary key generation strategy to use.
 Entity.Definition Entity.Definition.setIdValueSource(String idValueSource)
          Sets the id value source for this entity type, such as sequence or table name, depending on the underlying primary key generation strategy.
 Entity.Definition Entity.Definition.setOrderByClause(String orderByClause)
          Sets the order by clause for this entity type, this clause should not include the "order by" keywords.
 Entity.Definition Entity.Definition.setReadOnly(boolean readOnly)
          Sets the read only value
 Entity.Definition Entity.Definition.setSearchPropertyIDs(String... searchPropertyIDs)
          Sets the IDs of the properties to use when performing a default lookup for this entity type
 Entity.Definition Entity.Definition.setSelectQuery(String selectQuery)
          Sets the select query to use when selecting entities of this type, use with care.
 Entity.Definition Entity.Definition.setSelectTableName(String selectTableName)
          Sets the name of the table to use when selecting entities of this type, when it differs from the one used to update/insert, such as a view.
 Entity.Definition Entity.Definition.setSmallDataset(boolean smallDataset)
          Specifies whether or not this entity should be regarded as based on a small dataset, which primarily means that combo box models can be based on this entity.
 Entity.Definition Entity.Definition.setStringProvider(ValueMap.ToString<String> stringProvider)
          Sets the string provider, that is, the object responsible for providing toString values for this entity type
 Entity.Definition Entity.Definition.setToStringProvider(ValueMap.ToString<String> toString)
           
 Entity.Definition Entity.Definition.setValidator(Entity.Validator validator)