public class DhxRepresentee
extends java.lang.Object
Constructor and Description |
---|
DhxRepresentee(Representee representee)
Create Representee from member(which is representationList service output).
|
DhxRepresentee(java.lang.String memberCode,
java.util.Date startDate,
java.util.Date endDate,
java.lang.String name,
java.lang.String system)
Create Representee.
|
Modifier and Type | Method and Description |
---|---|
Representee |
convertToRepresentee()
Converts representee to member(for representationList service output).
|
java.util.Date |
getEndDate()
Returns the endDate.
|
java.lang.String |
getRepresenteeCode()
Returns the representeeCode.
|
java.lang.String |
getRepresenteeName()
Returns the representeeName.
|
java.lang.String |
getRepresenteeSystem()
Returns the representeeSystem.
|
java.util.Date |
getStartDate()
Returns the startDate.
|
void |
setEndDate(java.util.Date endDate)
Sets the endDate.
|
void |
setRepresenteeCode(java.lang.String representeeCode)
Sets the representeeCode.
|
void |
setRepresenteeName(java.lang.String representeeName)
Sets the representeeName.
|
void |
setRepresenteeSystem(java.lang.String representeeSystem)
Sets the representeeSystem.
|
void |
setStartDate(java.util.Date startDate)
Sets the startDate.
|
java.lang.String |
toString() |
public DhxRepresentee(Representee representee)
representee
- - member from which to create representeepublic DhxRepresentee(java.lang.String memberCode, java.util.Date startDate, java.util.Date endDate, java.lang.String name, java.lang.String system)
memberCode
- - X-road member codestartDate
- - representees start dateendDate
- - representees end datename
- - representees namesystem
- - representees internal systempublic java.lang.String toString()
toString
in class java.lang.Object
public Representee convertToRepresentee() throws DhxException
DhxException
- - thrown if error occurs while convertingpublic java.lang.String getRepresenteeCode()
public void setRepresenteeCode(java.lang.String representeeCode)
representeeCode
- the representeeCode to setpublic java.util.Date getStartDate()
public void setStartDate(java.util.Date startDate)
startDate
- the startDate to setpublic java.util.Date getEndDate()
public void setEndDate(java.util.Date endDate)
endDate
- the endDate to setpublic java.lang.String getRepresenteeName()
public void setRepresenteeName(java.lang.String representeeName)
representeeName
- the representeeName to setpublic java.lang.String getRepresenteeSystem()
public void setRepresenteeSystem(java.lang.String representeeSystem)
representeeSystem
- the representeeSystem to set