@Entity public class Organisation extends BaseEntity implements java.io.Serializable
Constructor and Description |
---|
Organisation() |
Modifier and Type | Method and Description |
---|---|
Organisation |
addRepresentee(Organisation organisation)
Adds representee to array.
|
java.lang.String |
getCapsuleVersion()
Returns the capsuleVersion that is used by this organisation.
|
java.lang.Boolean |
getDhxOrganisation()
Returns the dhxOrganisation.
|
java.lang.Boolean |
getIsActive()
Returns the isActive.
|
java.lang.String |
getMemberClass()
Returns the Xroad member's memberClass.
|
java.lang.String |
getName()
Returns the name.
|
java.lang.Integer |
getOrganisationId()
Returns the organisationId.
|
java.lang.Boolean |
getOwnRepresentee()
Returns the ownRepresentee.
|
java.lang.String |
getRealName()
Returns the real name of the Organisation.
|
java.lang.String |
getRegistrationCode()
Returns the registrationCode.
|
java.sql.Timestamp |
getRepresenteeEnd()
Returns the representeeEnd(end date when possible to send to given representee).
|
java.util.List<Organisation> |
getRepresentees()
Returns the representees.
|
java.sql.Timestamp |
getRepresenteeStart()
Returns the representeeStart(start date when possible to send to given representee).
|
Organisation |
getRepresentor()
Returns the representor.
|
java.lang.String |
getSubSystem()
Returns the subSystem(either Xroad member's subsystemCode or representees system).
|
java.lang.String |
getXroadInstance()
Returns the xroadInstance.
|
Organisation |
removeRepresentee(Organisation organisation)
Removes organisation from array.
|
void |
setCapsuleVersion(java.lang.String capsuleVersion)
Sets the capsuleVersion that is used by this organsaiotn.
|
void |
setDhxOrganisation(java.lang.Boolean dhxOrganisation)
Sets the dhxOrganisation.
|
void |
setIsActive(java.lang.Boolean isActive)
Sets the isActive.
|
void |
setMemberClass(java.lang.String memberClass)
Sets the Xroad member's memberClass.
|
void |
setName(java.lang.String name)
Sets the name.
|
void |
setOrganisationId(java.lang.Integer organisationId)
Sets the organisationId.
|
void |
setOwnRepresentee(java.lang.Boolean ownRepresentee)
Sets the ownRepresentee.
|
void |
setRealName(java.lang.String realName)
Sets the real name of the Organisation.
|
void |
setRegistrationCode(java.lang.String registrationCode)
Sets the registrationCode.
|
void |
setRepresenteeEnd(java.sql.Timestamp representeeEnd)
Sets the representeeEnd(end date when possible to send to given representee).
|
void |
setRepresentees(java.util.List<Organisation> representees)
Sets the representees.
|
void |
setRepresenteeStart(java.sql.Timestamp representeeStart)
Sets the representeeStart(start date when possible to send to given representee).
|
void |
setRepresentor(Organisation representor)
Sets the representor.
|
void |
setSubSystem(java.lang.String subSystem)
Sets the subSystem(either Xroad member's subsystemCode or representees system).
|
void |
setXroadInstance(java.lang.String xroadInstance)
Sets the xroadInstance.
|
java.lang.String |
toString() |
beforeInsert, beforeUpdate, getDateCreated, getDateModified, getVersion, setDateCreated, setDateModified, setVersion
public Organisation addRepresentee(Organisation organisation)
organisation
- organisation to addpublic Organisation removeRepresentee(Organisation organisation)
organisation
- organisation to removepublic java.lang.Integer getOrganisationId()
public void setOrganisationId(java.lang.Integer organisationId)
organisationId
- the organisationId to setpublic java.lang.Boolean getIsActive()
public void setIsActive(java.lang.Boolean isActive)
isActive
- the isActive to setpublic java.lang.String getCapsuleVersion()
public void setCapsuleVersion(java.lang.String capsuleVersion)
capsuleVersion
- the capsuleVersion to setpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- the name to setpublic java.lang.String getRegistrationCode()
public void setRegistrationCode(java.lang.String registrationCode)
registrationCode
- the registrationCode to setpublic java.lang.String getSubSystem()
public void setSubSystem(java.lang.String subSystem)
subSystem
- the subSystem to setpublic java.lang.String getMemberClass()
public void setMemberClass(java.lang.String memberClass)
memberClass
- the memberClass to setpublic java.lang.String getXroadInstance()
public void setXroadInstance(java.lang.String xroadInstance)
xroadInstance
- the xroadInstance to setpublic java.sql.Timestamp getRepresenteeStart()
public void setRepresenteeStart(java.sql.Timestamp representeeStart)
representeeStart
- the representeeStart to setpublic java.sql.Timestamp getRepresenteeEnd()
public void setRepresenteeEnd(java.sql.Timestamp representeeEnd)
representeeEnd
- the representeeEnd to setpublic java.lang.Boolean getDhxOrganisation()
public void setDhxOrganisation(java.lang.Boolean dhxOrganisation)
dhxOrganisation
- the dhxOrganisation to setpublic java.lang.Boolean getOwnRepresentee()
public void setOwnRepresentee(java.lang.Boolean ownRepresentee)
ownRepresentee
- the ownRepresentee to setpublic java.lang.String getRealName()
public void setRealName(java.lang.String realName)
realName
- the realName to setpublic Organisation getRepresentor()
public void setRepresentor(Organisation representor)
representor
- the representor to setpublic java.util.List<Organisation> getRepresentees()
public void setRepresentees(java.util.List<Organisation> representees)
representees
- the representees to setpublic java.lang.String toString()
toString
in class java.lang.Object