|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TopiaEntity
The TopiaEntity is the main interface for each entities generated with TopiaMetaTransformer. An entity is simply a persistent bean mapped with
hibernate. The manipulation on entities (create, update, delete, find) is
made by the dao associated. The corresponding dao interface is TopiaDAO.
EntityHibernateMappingGenerator,
EntityTransformer| Field Summary | |
|---|---|
static String |
AGGREGATE
|
static String |
COMPOSITE
|
static String |
TOPIA_CREATE_DATE
|
static String |
TOPIA_ID
|
static String |
TOPIA_VERSION
|
| Field Detail |
|---|
static final String TOPIA_ID
static final String TOPIA_CREATE_DATE
static final String TOPIA_VERSION
static final String COMPOSITE
static final String AGGREGATE
| Method Detail |
|---|
String getTopiaId()
void setTopiaId(String id)
id of the entity. Careful, use this method only
for copy. The technical id is generated by ToPIA when entity is created
using TopiaDAO.create(Object...).
id - technical id to setlong getTopiaVersion()
void setTopiaVersion(long version)
version of the entity. Careful, use this method
only for copy. The version is automatically incremented on entity
changes.
version - technical version to setDate getTopiaCreateDate()
TopiaDAO.create(Object...).
void setTopiaCreateDate(Date date)
date of the entity. Careful, use this
method only for copy. This date is immutable and was created on entity
creation.
date - technical create date to set
List<TopiaEntity> getComposite()
throws TopiaException
TopiaException - if any pb
List<TopiaEntity> getAggregate()
throws TopiaException
TopiaException - if any pb
void addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
propertyName - name of property to listenlistener - the listener to registervoid addPropertyChangeListener(PropertyChangeListener listener)
listener - the listener to register
void addVetoableChangeListener(String propertyName,
VetoableChangeListener vetoable)
void addVetoableChangeListener(VetoableChangeListener vetoable)
void removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
void removePropertyChangeListener(PropertyChangeListener listener)
void removeVetoableChangeListener(String propertyName,
VetoableChangeListener vetoable)
void removeVetoableChangeListener(VetoableChangeListener vetoable)
void addPropertyListener(String propertyName,
PropertyChangeListener listener)
propertyName - the property name to listenlistener - the listener to registervoid addPropertyListener(PropertyChangeListener listener)
listener - the listener to register
void addVetoableListener(String propertyName,
VetoableChangeListener vetoable)
void addVetoableListener(VetoableChangeListener vetoable)
void removePropertyListener(String propertyName,
PropertyChangeListener listener)
void removePropertyListener(PropertyChangeListener listener)
void removeVetoableListener(String propertyName,
VetoableChangeListener vetoable)
void removeVetoableListener(VetoableChangeListener vetoable)
void accept(EntityVisitor visitor)
throws TopiaException
visitor.
visitor - to used
TopiaException - for all type of error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||