Class OperationBusinessContextType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.OperationBusinessContextType
-
- All Implemented Interfaces:
JaxbVisitable
,Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.Equals
,org.jvnet.jaxb2_commons.lang.HashCode
public class OperationBusinessContextType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
The business context of an operation. This structure contains data about the operation that bind it to the business process or other non-information environment. It contains data such as free-form comment of the affected user (requester, approver) it may contain references to other business documents that are outside of the IDM scope (e.g. reference to the support contract or employee contact number), etc. It is designed for future extensibility.Java class for OperationBusinessContextType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="OperationBusinessContextType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}extension" minOccurs="0"/> <element name="comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
comment
static QName
COMPLEX_TYPE
protected ExtensionType
extension
static ItemName
F_COMMENT
static ItemName
F_EXTENSION
-
Constructor Summary
Constructors Constructor Description OperationBusinessContextType()
Creates a newOperationBusinessContextType
instance.OperationBusinessContextType(OperationBusinessContextType o)
Creates a newOperationBusinessContextType
instance by deeply copying a givenOperationBusinessContextType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
ExtensionType
beginExtension()
OperationBusinessContextType
clone()
Creates and returns a deep copy of this object.OperationBusinessContextType
comment(String value)
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)
OperationBusinessContextType
extension(ExtensionType value)
String
getComment()
Gets the value of the comment property.ExtensionType
getExtension()
The extension for future dynamic extensibility.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
void
setComment(String value)
Sets the value of the comment property.void
setExtension(ExtensionType value)
Sets the value of the extension property.String
toString()
Generates a String representation of the contents of this type.
-
-
-
Field Detail
-
extension
protected ExtensionType extension
-
comment
protected String comment
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_EXTENSION
public static final ItemName F_EXTENSION
-
F_COMMENT
public static final ItemName F_COMMENT
-
-
Constructor Detail
-
OperationBusinessContextType
public OperationBusinessContextType()
Creates a newOperationBusinessContextType
instance.
-
OperationBusinessContextType
public OperationBusinessContextType(OperationBusinessContextType o)
Creates a newOperationBusinessContextType
instance by deeply copying a givenOperationBusinessContextType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
Method Detail
-
getExtension
public ExtensionType getExtension()
The extension for future dynamic extensibility.- Returns:
- possible object is
ExtensionType
-
setExtension
public void setExtension(ExtensionType value)
Sets the value of the extension property.- Parameters:
value
- allowed object isExtensionType
-
getComment
public String getComment()
Gets the value of the comment property.- Returns:
- possible object is
String
-
setComment
public void setComment(String value)
Sets the value of the comment property.- Parameters:
value
- allowed object isString
-
toString
public String toString()
Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
- Specified by:
hashCode
in interfaceorg.jvnet.jaxb2_commons.lang.HashCode
-
equals
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)
- Specified by:
equals
in interfaceorg.jvnet.jaxb2_commons.lang.Equals
-
extension
public OperationBusinessContextType extension(ExtensionType value)
-
beginExtension
public ExtensionType beginExtension()
-
comment
public OperationBusinessContextType comment(String value)
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
-
clone
public OperationBusinessContextType clone()
Creates and returns a deep copy of this object.
-
-