Class RootImplementation
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.file.implementation.RootImplementation
-
@Entity public class RootImplementation extends java.lang.ObjectClass to persist root user with HIBERNATE.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRootImplementation()Default constructor forRootImplementationis necessary for PojoInstantiator of HIBERNATE.protectedRootImplementation(java.lang.String name, java.lang.String type)Constructor forRootImplementation.protectedRootImplementation(java.lang.String name, java.lang.String type, javax.mail.internet.InternetAddress address)Constructor forRootImplementation.protectedRootImplementation(java.lang.String name, java.lang.String type, javax.mail.internet.InternetAddress address, java.lang.String uuid)
-
Method Summary
Modifier and Type Method Description java.lang.StringgetAddress()protected intgetId()Getter for the fieldid.protected java.lang.StringgetName()Getter for the fieldname.protected java.lang.StringgetType()Getter for the fieldtype.java.lang.StringgetUuid()booleanisValidated()voidsetAddress(java.lang.String address)protected voidsetId(int id)Setter for the fieldid.protected voidsetName(java.lang.String name)Setter for the fieldname.protected voidsetType(java.lang.String type)Setter for the fieldtype.voidsetUuid(java.lang.String uuid)voidsetValidated(boolean validated)java.lang.StringtoString()
-
-
-
Constructor Detail
-
RootImplementation
protected RootImplementation()
Default constructor forRootImplementationis necessary for PojoInstantiator of HIBERNATE.
-
RootImplementation
protected RootImplementation(java.lang.String name, java.lang.String type)Constructor forRootImplementation.- Parameters:
name- principal name.type- principal type.
-
RootImplementation
protected RootImplementation(java.lang.String name, java.lang.String type, javax.mail.internet.InternetAddress address)Constructor forRootImplementation.- Parameters:
name- principal name.type- principal type.address- the email address of the root user.
-
RootImplementation
protected RootImplementation(java.lang.String name, java.lang.String type, javax.mail.internet.InternetAddress address, java.lang.String uuid)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getAddress
public java.lang.String getAddress()
- Returns:
- the address
-
getId
protected int getId()
Getter for the fieldid.- Returns:
- the id
-
getName
protected java.lang.String getName()
Getter for the fieldname.- Returns:
- the name
-
getType
protected java.lang.String getType()
Getter for the fieldtype.- Returns:
- the type
-
setAddress
public void setAddress(java.lang.String address)
- Parameters:
address- the address to set
-
setId
protected void setId(int id)
Setter for the fieldid.- Parameters:
id- the id to set
-
setName
protected void setName(java.lang.String name)
Setter for the fieldname.- Parameters:
name- the name to set
-
setType
protected void setType(java.lang.String type)
Setter for the fieldtype.- Parameters:
type- the type to set
-
isValidated
public boolean isValidated()
- Returns:
- the validated
-
setValidated
public void setValidated(boolean validated)
- Parameters:
validated- the validated to set
-
getUuid
public java.lang.String getUuid()
- Returns:
- the uuid
-
setUuid
public void setUuid(java.lang.String uuid)
- Parameters:
uuid- the uuid to set
-
-