public class StatusLog extends Object
Element of Assignment, SSRequest
| Constructor and Description |
|---|
StatusLog() |
| Modifier and Type | Method and Description |
|---|---|
S80 |
getAgencyCode()
Get the agency responsible for this status log entry..
|
S255 |
getComment()
Get amplifying information to describe the Status of the Assignment..
|
DT |
getDateTime()
Get the date and UTC time of this status log entry..
|
Common<?> |
getPoc()
Get the reference to a Contact, Organisation, or Role responsible for this
status log entry or the recipient of the action..
|
Serial |
getPOCRef()
Get the reference to a Contact, Organisation, or Role responsible for this
status log entry or the recipient of the action..
|
S50 |
getState()
Get the action performed for this status log entry..
|
boolean |
isSet()
Determine if the required fields in this SSRF data type instance are set.
|
boolean |
isSetAgencyCode()
Determine if the AgencyCode is configured.
|
boolean |
isSetComment()
Determine if the Comment is configured.
|
boolean |
isSetDateTime()
Determine if the DateTime is configured.
|
boolean |
isSetPoc()
Determine if the poc field is configured.
|
boolean |
isSetPOCRef()
Determine if the POCRef is configured.
|
boolean |
isSetState()
Determine if the State is configured.
|
void |
postLoad(SSRF root)
Update the SSRF data type references in this StatusLog record after loading
from XML.
|
void |
prepare()
Update the SSRF data type references in this StatusLog record.
|
void |
setAgencyCode(S80 value)
Set the agency responsible for this status log entry..
|
void |
setComment(S255 value)
Set amplifying information to describe the Status of the Assignment..
|
void |
setDateTime(DT value)
Set the date and UTC time of this status log entry..
|
void |
setPOCRef(Serial value)
Set the reference to a Contact, Organisation, or Role responsible for this
status log entry or the recipient of the action..
|
void |
setState(S50 value)
Set the action performed for this status log entry..
|
String |
toString()
Get a string representation of this StatusLog instance configuration.
|
StatusLog |
withAgencyCode(String value)
Set the agency responsible for this status log entry.
|
StatusLog |
withComment(String value)
Set amplifying information to describe the Status of the Assignment.
|
StatusLog |
withDateTime(Calendar value)
Set the date and UTC time of this status log entry.
|
StatusLog |
withDateTime(Date value)
Set the date and UTC time of this status log entry.
|
StatusLog |
withPoc(Common<?> value)
Set the reference to a Contact, Organisation, or Role responsible for this
status log entry or the recipient of the action.
|
StatusLog |
withPOCRef(Serial value)
Set the reference to a Contact, Organisation, or Role responsible for this
status log entry or the recipient of the action.
|
StatusLog |
withState(String value)
Set the action performed for this status log entry.
|
public DT getDateTime()
DT instancepublic void setDateTime(DT value)
value - a DT instancepublic boolean isSetDateTime()
public S50 getState()
S50 instancepublic void setState(S50 value)
value - a S50 instancepublic boolean isSetState()
public S80 getAgencyCode()
S80 instancepublic void setAgencyCode(S80 value)
value - a S80 instancepublic boolean isSetAgencyCode()
public S255 getComment()
S255 instancepublic void setComment(S255 value)
value - a S255 instancepublic boolean isSetComment()
public Serial getPOCRef()
Serial instancepublic void setPOCRef(Serial value)
value - a Serial instancepublic boolean isSetPOCRef()
public StatusLog withDateTime(Calendar value)
value - An instances of type Calendar.public StatusLog withDateTime(Date value)
value - An instances of type Date.public StatusLog withState(String value)
value - An instances of type String.public StatusLog withAgencyCode(String value)
value - An instances of type String.public StatusLog withComment(String value)
value - An instances of type String.public StatusLog withPOCRef(Serial value)
value - An instances of type Serial.public String toString()
public boolean isSet()
StatusLog requires DateTime, State.
Note that this method only checks for the presence of required information; this method does not validate the information format.
public Common<?> getPoc()
Common instancepublic boolean isSetPoc()
public StatusLog withPoc(Common<?> value)
value - An instances of type Common>.public void prepare()
This method builds the exported pocRef field with values from the
transient poc field. This method should typically be called after
the StatusLog is configured and (optionally) before exporting an SSRF
message.
public void postLoad(SSRF root)
This method builds the transient poc with values from the imported
pocRef field. This method should typically be called after the
StatusLog is imported from XML. * @param root the SSRF root instance.
Copyright © 2016 OpenSSRF.org. All rights reserved.