public class DecisionType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for DecisionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DecisionType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="approverRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType"/> <element name="approved" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="resultAsString" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="dateTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected Boolean |
approved |
protected ObjectReferenceType |
approverRef |
protected String |
comment |
static QName |
COMPLEX_TYPE |
protected XMLGregorianCalendar |
dateTime |
static QName |
F_APPROVED |
static QName |
F_APPROVER_REF |
static QName |
F_COMMENT |
static QName |
F_DATE_TIME |
static QName |
F_RESULT_AS_STRING |
protected String |
resultAsString |
Constructor and Description |
---|
DecisionType()
Creates a new
DecisionType instance. |
DecisionType(DecisionType o)
Creates a new
DecisionType instance by deeply copying a given DecisionType instance. |
Modifier and Type | Method and Description |
---|---|
DecisionType |
clone()
Creates and returns a deep copy of this object.
|
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
ObjectReferenceType |
getApproverRef()
Gets the value of the approverRef property.
|
String |
getComment()
Gets the value of the comment property.
|
XMLGregorianCalendar |
getDateTime()
Gets the value of the dateTime property.
|
String |
getResultAsString()
Gets the value of the resultAsString property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
Boolean |
isApproved()
Gets the value of the approved property.
|
void |
setApproved(Boolean value)
Sets the value of the approved property.
|
void |
setApproverRef(ObjectReferenceType value)
Sets the value of the approverRef property.
|
void |
setComment(String value)
Sets the value of the comment property.
|
void |
setDateTime(XMLGregorianCalendar value)
Sets the value of the dateTime property.
|
void |
setResultAsString(String value)
Sets the value of the resultAsString property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
protected ObjectReferenceType approverRef
protected Boolean approved
protected String resultAsString
protected String comment
protected XMLGregorianCalendar dateTime
public static final QName COMPLEX_TYPE
public static final QName F_APPROVER_REF
public static final QName F_APPROVED
public static final QName F_RESULT_AS_STRING
public static final QName F_COMMENT
public static final QName F_DATE_TIME
public DecisionType()
DecisionType
instance.public DecisionType(DecisionType o)
DecisionType
instance by deeply copying a given DecisionType
instance.o
- The instance to copy.NullPointerException
- if o
is null
.public ObjectReferenceType getApproverRef()
ObjectReferenceType
public void setApproverRef(ObjectReferenceType value)
value
- allowed object is
ObjectReferenceType
public Boolean isApproved()
Boolean
public void setApproved(Boolean value)
value
- allowed object is
Boolean
public String getResultAsString()
String
public void setResultAsString(String value)
value
- allowed object is
String
public String getComment()
String
public void setComment(String value)
value
- allowed object is
String
public XMLGregorianCalendar getDateTime()
XMLGregorianCalendar
public void setDateTime(XMLGregorianCalendar value)
value
- allowed object is
XMLGregorianCalendar
public String toString()
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
public DecisionType clone()
Copyright © 2016 Evolveum. All rights reserved.