|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--EVolve.data.ElementBuilder | +--EVolve.data.EntityBuilder
Entity builder.
Field Summary |
Fields inherited from class EVolve.data.ElementBuilder |
elementType |
Constructor Summary | |
EntityBuilder(java.lang.String entityName,
java.lang.String entityDescription)
Creates an entity builder. |
Method Summary | |
void |
addComparator(EntityComparator entityComparator)
|
EntityDefinition |
buildDefinition()
Builds the element definition. |
Entity |
buildEntity()
Builds the entity. |
void |
newEntity(java.lang.String entityName)
Starts building new entity. |
Methods inherited from class EVolve.data.ElementBuilder |
addReferenceField, addValueField, buildEntityDefinition, buildEvent, buildEventDefinition, buildReferenceDefinition, buildValueDefinition, init, newEvent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EntityBuilder(java.lang.String entityName, java.lang.String entityDescription)
entityName
- name of the entitiesentityDescription
- description of the entitiesMethod Detail |
public EntityDefinition buildDefinition()
public void newEntity(java.lang.String entityName)
newEntity
in class ElementBuilder
entityName
- name of the entitypublic Entity buildEntity()
buildEntity
in class ElementBuilder
public void addComparator(EntityComparator entityComparator)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |