|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.nuiton.topia.persistence.TopiaEntityAbstract
org.chorem.callao.entity.AccountAbstract
public abstract class AccountAbstract
Implantation POJO pour l'entité Account.
| Field Summary | |
|---|---|
java.util.Collection<Entry> |
entry
|
Account |
masterAccount
|
java.util.Collection<Account> |
subAccount
|
java.lang.String |
type
|
| Fields inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract |
|---|
readListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoables |
| Fields inherited from interface org.chorem.callao.entity.Account |
|---|
ACCOUNT_NUMBER, ENTRY, LABEL, MASTER_ACCOUNT, SUB_ACCOUNT, TYPE |
| Constructor Summary | |
|---|---|
AccountAbstract()
Constructeur de AccountAbstract par défaut. |
|
| Method Summary | |
|---|---|
void |
accept(org.nuiton.topia.persistence.EntityVisitor visitor)
Envoi via les methodes du visitor l'ensemble des champs de l'entity avec leur nom, type et valeur. |
void |
addAllEntry(java.util.Collection<Entry> values)
|
void |
addAllSubAccount(java.util.Collection<Account> values)
|
void |
addEntry(Entry entry)
|
void |
addSubAccount(Account subAccount)
|
void |
clearEntry()
Vide la Collection de entry. |
void |
clearSubAccount()
Vide la Collection de subAccount. |
void |
delete()
|
java.lang.String |
getAccountNumber()
|
java.util.List<org.nuiton.topia.persistence.TopiaEntity> |
getAggregate()
|
java.util.List<org.nuiton.topia.persistence.TopiaEntity> |
getComposite()
|
java.util.Collection<Entry> |
getEntry()
|
Entry |
getEntryByTopiaId(java.lang.String topiaId)
Recupère l'attribut entry à partir de son topiaId. |
java.lang.String |
getLabel()
|
Account |
getMasterAccount()
|
java.util.Collection<Account> |
getSubAccount()
|
Account |
getSubAccountByTopiaId(java.lang.String topiaId)
Recupère l'attribut subAccount à partir de son topiaId. |
java.lang.String |
getType()
|
boolean |
isEntryEmpty()
|
boolean |
isSubAccountEmpty()
|
void |
removeEntry(Entry value)
|
void |
removeSubAccount(Account value)
|
void |
setAccountNumber(java.lang.String value)
|
void |
setEntry(java.util.Collection<Entry> values)
|
void |
setLabel(java.lang.String value)
|
void |
setMasterAccount(Account value)
|
void |
setSubAccount(java.util.Collection<Account> values)
|
void |
setType(java.lang.String value)
|
int |
sizeEntry()
|
int |
sizeSubAccount()
|
java.lang.String |
toString()
|
void |
update()
|
| Methods inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract |
|---|
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, equals, fireOnPostRead, fireOnPostRead, fireOnPostWrite, fireOnPostWrite, fireOnPreRead, fireOnPreWrite, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, hashCode, postCreate, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaContext, setTopiaCreateDate, setTopiaId, setTopiaVersion |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.nuiton.topia.persistence.TopiaEntity |
|---|
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, postCreate, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion |
| Field Detail |
|---|
public java.lang.String type
public java.util.Collection<Entry> entry
public Account masterAccount
public java.util.Collection<Account> subAccount
| Constructor Detail |
|---|
public AccountAbstract()
| Method Detail |
|---|
public void update()
throws org.nuiton.topia.TopiaException
update in interface org.nuiton.topia.persistence.TopiaEntityupdate in class org.nuiton.topia.persistence.TopiaEntityAbstractorg.nuiton.topia.TopiaException
public void delete()
throws org.nuiton.topia.TopiaException
delete in interface org.nuiton.topia.persistence.TopiaEntitydelete in class org.nuiton.topia.persistence.TopiaEntityAbstractorg.nuiton.topia.TopiaException
public void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
throws org.nuiton.topia.TopiaException
accept in interface org.nuiton.topia.persistence.TopiaEntityvisitor - le visiteur de l'entite.
org.nuiton.topia.TopiaException - if any pb while visit
public java.util.List<org.nuiton.topia.persistence.TopiaEntity> getAggregate()
throws org.nuiton.topia.TopiaException
getAggregate in interface org.nuiton.topia.persistence.TopiaEntitygetAggregate in class org.nuiton.topia.persistence.TopiaEntityAbstractorg.nuiton.topia.TopiaException
public java.util.List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
throws org.nuiton.topia.TopiaException
getComposite in interface org.nuiton.topia.persistence.TopiaEntitygetComposite in class org.nuiton.topia.persistence.TopiaEntityAbstractorg.nuiton.topia.TopiaExceptionpublic void setLabel(java.lang.String value)
setLabel in interface Accountvalue - La valeur de l'attribut label à positionner.public java.lang.String getLabel()
getLabel in interface Accountpublic void setAccountNumber(java.lang.String value)
setAccountNumber in interface Accountvalue - La valeur de l'attribut accountNumber à positionner.public java.lang.String getAccountNumber()
getAccountNumber in interface Accountpublic void setType(java.lang.String value)
setType in interface Accountvalue - La valeur de l'attribut type à positionner.public java.lang.String getType()
getType in interface Accountpublic void addEntry(Entry entry)
addEntry in interface Accountentry - L'instance de entry à ajouter.public void addAllEntry(java.util.Collection<Entry> values)
addAllEntry in interface Accountvalues - Les instances de entry à ajouter.public Entry getEntryByTopiaId(java.lang.String topiaId)
Account
getEntryByTopiaId in interface AccounttopiaId - le topia id de l'entité recherchée
null s'il n'existe pas.public void setEntry(java.util.Collection<Entry> values)
setEntry in interface Accountvalues - La Collection de entry à positionner.public void removeEntry(Entry value)
removeEntry in interface Accountvalue - L'instance de entry à retirer.public void clearEntry()
Account
clearEntry in interface Accountpublic java.util.Collection<Entry> getEntry()
getEntry in interface Accountpublic int sizeEntry()
sizeEntry in interface Accountpublic boolean isEntryEmpty()
isEntryEmpty in interface Accounttrue si la collection entry est vide.public void setMasterAccount(Account value)
setMasterAccount in interface Accountvalue - La valeur de l'attribut masterAccount à positionner.public Account getMasterAccount()
getMasterAccount in interface Accountpublic void addSubAccount(Account subAccount)
addSubAccount in interface AccountsubAccount - L'instance de subAccount à ajouter.public void addAllSubAccount(java.util.Collection<Account> values)
addAllSubAccount in interface Accountvalues - Les instances de subAccount à ajouter.public Account getSubAccountByTopiaId(java.lang.String topiaId)
Account
getSubAccountByTopiaId in interface AccounttopiaId - le topia id de l'entité recherchée
null s'il n'existe pas.public void setSubAccount(java.util.Collection<Account> values)
setSubAccount in interface Accountvalues - La Collection de subAccount à positionner.public void removeSubAccount(Account value)
removeSubAccount in interface Accountvalue - L'instance de subAccount à retirer.public void clearSubAccount()
Account
clearSubAccount in interface Accountpublic java.util.Collection<Account> getSubAccount()
getSubAccount in interface Accountpublic int sizeSubAccount()
sizeSubAccount in interface Accountpublic boolean isSubAccountEmpty()
isSubAccountEmpty in interface Accounttrue si la collection subAccount est vide.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 | ||||||||