Class RootImplementation
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.file.implementation.RootImplementation
-
@Entity public class RootImplementation extends java.lang.Object
Class to persist root user with HIBERNATE.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RootImplementation()
Default constructor forRootImplementation
is necessary for PojoInstantiator of HIBERNATE.protected
RootImplementation(java.lang.String name, java.lang.String type)
Constructor forRootImplementation
.protected
RootImplementation(java.lang.String name, java.lang.String type, javax.mail.internet.InternetAddress address)
Constructor forRootImplementation
.protected
RootImplementation(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.String
getAddress()
protected int
getId()
Getter for the fieldid
.protected java.lang.String
getName()
Getter for the fieldname
.protected java.lang.String
getType()
Getter for the fieldtype
.java.lang.String
getUuid()
boolean
isValidated()
void
setAddress(java.lang.String address)
protected void
setId(int id)
Setter for the fieldid
.protected void
setName(java.lang.String name)
Setter for the fieldname
.protected void
setType(java.lang.String type)
Setter for the fieldtype
.void
setUuid(java.lang.String uuid)
void
setValidated(boolean validated)
java.lang.String
toString()
-
-
-
Constructor Detail
-
RootImplementation
protected RootImplementation()
Default constructor forRootImplementation
is 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:
toString
in 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
-
-