|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Entity in de.greenrobot.daogenerator |
---|
Methods in de.greenrobot.daogenerator that return Entity | |
---|---|
Entity |
Schema.addEntity(java.lang.String className) Adds a new entity to the schema. |
Entity |
Entity.addIndex(Index index) Adds a new index to the entity. |
Entity |
Schema.addProtobufEntity(java.lang.String className) Adds a new protocol buffers entity to the schema. |
Entity |
Property.getEntity() |
Entity |
ToOne.getSourceEntity() |
Entity |
ToMany.getSourceEntity() |
Entity |
ToOne.getTargetEntity() |
Entity |
ToMany.getTargetEntity() |
Methods in de.greenrobot.daogenerator that return types with arguments of type Entity | |
---|---|
java.util.List<Entity> |
Schema.getEntities() |
Methods in de.greenrobot.daogenerator with parameters of type Entity | |
---|---|
ToMany |
Entity.addToMany(Entity target, Property targetProperty) Adds a to-many relationship; the target entity is joined to the PK property of this entity (typically the ID). |
ToMany |
Entity.addToMany(Entity target, Property targetProperty, java.lang.String name) Convenience method for addToMany(Entity, Property) with a subsequent call to ToMany.setName(String) . |
ToMany |
Entity.addToMany(Property[] sourceProperties, Entity target, Property[] targetProperties) |
ToMany |
Entity.addToMany(Property sourceProperty, Entity target, Property targetProperty) Add a to-many relationship; the target entity is joined using the given target property (of the target entity) and given source property (of this entity). |
ToOne |
Entity.addToOne(Entity target, Property fkProperty) Adds a to-one relationship to the given target entity using the given given foreign key property (which belongs to this entity). |
ToOne |
Entity.addToOne(Entity target, Property fkProperty, java.lang.String name) Convenience for addToOne(Entity, Property) with a subsequent call to ToOne.setName(String) . |
ToOne |
Entity.addToOneWithoutProperty(java.lang.String name, Entity target, java.lang.String fkColumnName) |
ToOne |
Entity.addToOneWithoutProperty(java.lang.String name, Entity target, java.lang.String fkColumnName, boolean notNull, boolean unique) |
Constructors in de.greenrobot.daogenerator with parameters of type Entity | |
---|---|
Property.PropertyBuilder(Schema schema, Entity entity, PropertyType propertyType, java.lang.String propertyName) |
|
Property(Schema schema, Entity entity, PropertyType propertyType, java.lang.String propertyName) |
|
ToMany(Schema schema, Entity sourceEntity, Property[] sourceProperties, Entity targetEntity, Property[] targetProperties) |
|
ToOne(Schema schema, Entity sourceEntity, Entity targetEntity, Property[] fkProperties, boolean useFkProperty) |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |