org.nuiton.topia.taas.entities
Class TaasUserAbstract
java.lang.Object
org.nuiton.topia.persistence.TopiaEntityAbstract
org.nuiton.topia.taas.entities.TaasUserAbstract
- All Implemented Interfaces:
- java.io.Serializable, TopiaEntity, TaasUser
- Direct Known Subclasses:
- TaasUserImpl
public abstract class TaasUserAbstract
- extends TopiaEntityAbstract
- implements TaasUser
Implantation POJO pour l'entité TaasUser.
- See Also:
- Serialized Form
|
Constructor Summary |
TaasUserAbstract()
Constructeur de TaasUserAbstract par défaut. |
| 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 |
login
protected java.lang.String login
password
protected java.lang.String password
email
protected java.lang.String email
enabled
protected boolean enabled
lastConnectionDate
protected java.util.Date lastConnectionDate
numberOfConnection
protected int numberOfConnection
link
public java.lang.String link
principals
public java.util.Collection<TaasPrincipal> principals
TaasUserAbstract
public TaasUserAbstract()
- Constructeur de TaasUserAbstract par défaut.
update
public void update()
throws TopiaException
- Specified by:
update in interface TopiaEntity- Overrides:
update in class TopiaEntityAbstract
- Throws:
TopiaException
delete
public void delete()
throws TopiaException
- Specified by:
delete in interface TopiaEntity- Overrides:
delete in class TopiaEntityAbstract
- Throws:
TopiaException
accept
public void accept(EntityVisitor visitor)
throws TopiaException
- Envoi via les methodes du visitor l'ensemble des champs de l'entity
avec leur nom, type et valeur.
- Specified by:
accept in interface TopiaEntity
- Parameters:
visitor - le visiteur de l'entite.
- Throws:
TopiaException - if any pb while visit
getAggregate
public java.util.List<TopiaEntity> getAggregate()
throws TopiaException
- Specified by:
getAggregate in interface TopiaEntity- Overrides:
getAggregate in class TopiaEntityAbstract
- Throws:
TopiaException
getComposite
public java.util.List<TopiaEntity> getComposite()
throws TopiaException
- Specified by:
getComposite in interface TopiaEntity- Overrides:
getComposite in class TopiaEntityAbstract
- Throws:
TopiaException
setLogin
public void setLogin(java.lang.String value)
- Specified by:
setLogin in interface TaasUser
- Parameters:
value - La valeur de l'attribut login à positionner.
getLogin
public java.lang.String getLogin()
- Specified by:
getLogin in interface TaasUser
- Returns:
- La valeur de l'attribut login.
setPassword
public void setPassword(java.lang.String value)
- Specified by:
setPassword in interface TaasUser
- Parameters:
value - La valeur de l'attribut password à positionner.
getPassword
public java.lang.String getPassword()
- Specified by:
getPassword in interface TaasUser
- Returns:
- La valeur de l'attribut password.
setEmail
public void setEmail(java.lang.String value)
- Specified by:
setEmail in interface TaasUser
- Parameters:
value - La valeur de l'attribut email à positionner.
getEmail
public java.lang.String getEmail()
- Specified by:
getEmail in interface TaasUser
- Returns:
- La valeur de l'attribut email.
setEnabled
public void setEnabled(boolean value)
- Specified by:
setEnabled in interface TaasUser
- Parameters:
value - La valeur de l'attribut enabled à positionner.
getEnabled
public boolean getEnabled()
- Specified by:
getEnabled in interface TaasUser
- Returns:
- La valeur de l'attribut enabled.
setLastConnectionDate
public void setLastConnectionDate(java.util.Date value)
- Specified by:
setLastConnectionDate in interface TaasUser
- Parameters:
value - La valeur de l'attribut lastConnectionDate à positionner.
getLastConnectionDate
public java.util.Date getLastConnectionDate()
- Specified by:
getLastConnectionDate in interface TaasUser
- Returns:
- La valeur de l'attribut lastConnectionDate.
setNumberOfConnection
public void setNumberOfConnection(int value)
- Specified by:
setNumberOfConnection in interface TaasUser
- Parameters:
value - La valeur de l'attribut numberOfConnection à positionner.
getNumberOfConnection
public int getNumberOfConnection()
- Specified by:
getNumberOfConnection in interface TaasUser
- Returns:
- La valeur de l'attribut numberOfConnection.
setLink
public void setLink(java.lang.String value)
- Specified by:
setLink in interface TaasUser
- Parameters:
value - La valeur de l'attribut link à positionner.
getLink
public java.lang.String getLink()
- Specified by:
getLink in interface TaasUser
- Returns:
- La valeur de l'attribut link.
addPrincipals
public void addPrincipals(TaasPrincipal principals)
- Specified by:
addPrincipals in interface TaasUser
- Parameters:
principals - L'instance de principals à ajouter.
addAllPrincipals
public void addAllPrincipals(java.util.Collection<TaasPrincipal> values)
- Specified by:
addAllPrincipals in interface TaasUser
- Parameters:
values - Les instances de principals à ajouter.
getPrincipalsByTopiaId
public TaasPrincipal getPrincipalsByTopiaId(java.lang.String topiaId)
- Description copied from interface:
TaasUser
- Recupère l'attribut principals à partir de son topiaId.
- Specified by:
getPrincipalsByTopiaId in interface TaasUser
- Parameters:
topiaId - le topia id de l'entité recherchée
- Returns:
- l'attribut recherché, ou
null s'il n'existe pas.
setPrincipals
public void setPrincipals(java.util.Collection<TaasPrincipal> values)
- Specified by:
setPrincipals in interface TaasUser
- Parameters:
values - La Collection de principals à positionner.
removePrincipals
public void removePrincipals(TaasPrincipal value)
- Specified by:
removePrincipals in interface TaasUser
- Parameters:
value - L'instance de principals à retirer.
clearPrincipals
public void clearPrincipals()
- Description copied from interface:
TaasUser
- Vide la Collection de principals.
- Specified by:
clearPrincipals in interface TaasUser
getPrincipals
public java.util.Collection<TaasPrincipal> getPrincipals()
- Specified by:
getPrincipals in interface TaasUser
- Returns:
- La Liste de principals.
sizePrincipals
public int sizePrincipals()
- Specified by:
sizePrincipals in interface TaasUser
- Returns:
- Le nombre d'éléments de la collection principals.
isPrincipalsEmpty
public boolean isPrincipalsEmpty()
- Specified by:
isPrincipalsEmpty in interface TaasUser
- Returns:
true si la collection principals est vide.
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2004-2009 CodeLutin. All Rights Reserved.