Class PerformerCommentsFormattingType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.PerformerCommentsFormattingType
-
- All Implemented Interfaces:
JaxbVisitable,Serializable,Cloneable,org.jvnet.jaxb2_commons.lang.Equals,org.jvnet.jaxb2_commons.lang.HashCode
public class PerformerCommentsFormattingType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Instructions how to format approvers/reviewers comments before storing them into metadata. Normally midPoint stores comments as they were entered by performers. However, each deployment can tailor these e.g. by including performer name along with the comment. EXPERIMENTALJava class for PerformerCommentsFormattingType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PerformerCommentsFormattingType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="value" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ExpressionType" minOccurs="0"/> <element name="condition" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ExpressionType" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QNameCOMPLEX_TYPEprotected ExpressionTypeconditionstatic ItemNameF_CONDITIONstatic ItemNameF_VALUEprotected ExpressionTypevalue
-
Constructor Summary
Constructors Constructor Description PerformerCommentsFormattingType()Creates a newPerformerCommentsFormattingTypeinstance.PerformerCommentsFormattingType(PerformerCommentsFormattingType o)Creates a newPerformerCommentsFormattingTypeinstance by deeply copying a givenPerformerCommentsFormattingTypeinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(JaxbVisitor visitor)ExpressionTypebeginCondition()ExpressionTypebeginValue()PerformerCommentsFormattingTypeclone()Creates and returns a deep copy of this object.PerformerCommentsFormattingTypecondition(ExpressionType 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)ExpressionTypegetCondition()Gets the value of the condition property.ExpressionTypegetValue()Gets the value of the value property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)voidsetCondition(ExpressionType value)Sets the value of the condition property.voidsetValue(ExpressionType value)Sets the value of the value property.StringtoString()Generates a String representation of the contents of this type.PerformerCommentsFormattingTypevalue(ExpressionType value)
-
-
-
Field Detail
-
value
protected ExpressionType value
-
condition
protected ExpressionType condition
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_VALUE
public static final ItemName F_VALUE
-
F_CONDITION
public static final ItemName F_CONDITION
-
-
Constructor Detail
-
PerformerCommentsFormattingType
public PerformerCommentsFormattingType()
Creates a newPerformerCommentsFormattingTypeinstance.
-
PerformerCommentsFormattingType
public PerformerCommentsFormattingType(PerformerCommentsFormattingType o)
Creates a newPerformerCommentsFormattingTypeinstance by deeply copying a givenPerformerCommentsFormattingTypeinstance.- Parameters:
o- The instance to copy.- Throws:
NullPointerException- ifoisnull.
-
-
Method Detail
-
getValue
public ExpressionType getValue()
Gets the value of the value property.- Returns:
- possible object is
ExpressionType
-
setValue
public void setValue(ExpressionType value)
Sets the value of the value property.- Parameters:
value- allowed object isExpressionType
-
getCondition
public ExpressionType getCondition()
Gets the value of the condition property.- Returns:
- possible object is
ExpressionType
-
setCondition
public void setCondition(ExpressionType value)
Sets the value of the condition property.- Parameters:
value- allowed object isExpressionType
-
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
-
value
public PerformerCommentsFormattingType value(ExpressionType value)
-
beginValue
public ExpressionType beginValue()
-
condition
public PerformerCommentsFormattingType condition(ExpressionType value)
-
beginCondition
public ExpressionType beginCondition()
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
acceptin interfaceJaxbVisitable
-
clone
public PerformerCommentsFormattingType clone()
Creates and returns a deep copy of this object.
-
-