|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.greenrobot.daogenerator.ToMany
public class ToMany
To-many relationship from a source entity to many target entitites.
Constructor Summary | |
---|---|
ToMany(Schema schema,
Entity sourceEntity,
Property[] sourceProperties,
Entity targetEntity,
Property[] targetProperties)
|
Method Summary | |
---|---|
java.lang.String |
getName()
|
java.lang.String |
getOrder()
|
Entity |
getSourceEntity()
|
Property[] |
getSourceProperties()
|
Entity |
getTargetEntity()
|
Property[] |
getTargetProperties()
|
void |
orderAsc(Property... properties)
Property of target entity used for ascending order. |
void |
orderDesc(Property... properties)
Property of target entity used for descending order. |
void |
setName(java.lang.String name)
Sets the name of the relation, which is used as the property name in the entity (the source entity owning the to-many relationship). |
void |
setSourceProperties(Property[] sourceProperties)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ToMany(Schema schema, Entity sourceEntity, Property[] sourceProperties, Entity targetEntity, Property[] targetProperties)
Method Detail |
---|
public Entity getSourceEntity()
public Entity getTargetEntity()
public Property[] getSourceProperties()
public void setSourceProperties(Property[] sourceProperties)
public Property[] getTargetProperties()
public java.lang.String getName()
public void setName(java.lang.String name)
public void orderAsc(Property... properties)
public void orderDesc(Property... properties)
public java.lang.String getOrder()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |