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 Stringcommentstatic QNameCOMPLEX_TYPEprotected ExtensionTypeextensionstatic ItemNameF_COMMENTstatic ItemNameF_EXTENSION
-
Constructor Summary
Constructors Constructor Description OperationBusinessContextType()Creates a newOperationBusinessContextTypeinstance.OperationBusinessContextType(OperationBusinessContextType o)Creates a newOperationBusinessContextTypeinstance by deeply copying a givenOperationBusinessContextTypeinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(JaxbVisitor visitor)ExtensionTypebeginExtension()OperationBusinessContextTypeclone()Creates and returns a deep copy of this object.OperationBusinessContextTypecomment(String value)booleanequals(Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)OperationBusinessContextTypeextension(ExtensionType value)StringgetComment()Gets the value of the comment property.ExtensionTypegetExtension()The extension for future dynamic extensibility.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)voidsetComment(String value)Sets the value of the comment property.voidsetExtension(ExtensionType value)Sets the value of the extension property.StringtoString()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 newOperationBusinessContextTypeinstance.
-
OperationBusinessContextType
public OperationBusinessContextType(OperationBusinessContextType o)
Creates a newOperationBusinessContextTypeinstance by deeply copying a givenOperationBusinessContextTypeinstance.- Parameters:
o- The instance to copy.- Throws:
NullPointerException- ifoisnull.
-
-
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:
hashCodein 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:
equalsin 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:
acceptin interfaceJaxbVisitable
-
clone
public OperationBusinessContextType clone()
Creates and returns a deep copy of this object.
-
-