Class MappingTimeDeclarationType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.MappingTimeDeclarationType
-
- All Implemented Interfaces:
JaxbVisitable
,Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.Equals
,org.jvnet.jaxb2_commons.lang.HashCode
public class MappingTimeDeclarationType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Specification of time-based mapping constraints.Java class for MappingTimeDeclarationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MappingTimeDeclarationType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}description" minOccurs="0"/> <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}documentation" minOccurs="0"/> <element name="referenceTime" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}VariableBindingDefinitionType" minOccurs="0"/> <element name="offset" type="{http://www.w3.org/2001/XMLSchema}duration" minOccurs="0"/> <element name="expression" 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 QName
COMPLEX_TYPE
protected String
description
protected String
documentation
protected ExpressionType
expression
static ItemName
F_DESCRIPTION
static ItemName
F_DOCUMENTATION
static ItemName
F_EXPRESSION
static ItemName
F_OFFSET
static ItemName
F_REFERENCE_TIME
protected Duration
offset
protected VariableBindingDefinitionType
referenceTime
-
Constructor Summary
Constructors Constructor Description MappingTimeDeclarationType()
Creates a newMappingTimeDeclarationType
instance.MappingTimeDeclarationType(MappingTimeDeclarationType o)
Creates a newMappingTimeDeclarationType
instance by deeply copying a givenMappingTimeDeclarationType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
ExpressionType
beginExpression()
VariableBindingDefinitionType
beginReferenceTime()
MappingTimeDeclarationType
clone()
Creates and returns a deep copy of this object.MappingTimeDeclarationType
description(String value)
MappingTimeDeclarationType
documentation(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)
MappingTimeDeclarationType
expression(ExpressionType value)
String
getDescription()
Gets the value of the description property.String
getDocumentation()
Gets the value of the documentation property.ExpressionType
getExpression()
Gets the value of the expression property.Duration
getOffset()
Gets the value of the offset property.VariableBindingDefinitionType
getReferenceTime()
Gets the value of the referenceTime property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
MappingTimeDeclarationType
offset(Duration value)
MappingTimeDeclarationType
referenceTime(VariableBindingDefinitionType value)
void
setDescription(String value)
Sets the value of the description property.void
setDocumentation(String value)
Sets the value of the documentation property.void
setExpression(ExpressionType value)
Sets the value of the expression property.void
setOffset(Duration value)
Sets the value of the offset property.void
setReferenceTime(VariableBindingDefinitionType value)
Sets the value of the referenceTime property.String
toString()
Generates a String representation of the contents of this type.
-
-
-
Field Detail
-
description
protected String description
-
documentation
protected String documentation
-
referenceTime
protected VariableBindingDefinitionType referenceTime
-
offset
protected Duration offset
-
expression
protected ExpressionType expression
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_DESCRIPTION
public static final ItemName F_DESCRIPTION
-
F_DOCUMENTATION
public static final ItemName F_DOCUMENTATION
-
F_REFERENCE_TIME
public static final ItemName F_REFERENCE_TIME
-
F_OFFSET
public static final ItemName F_OFFSET
-
F_EXPRESSION
public static final ItemName F_EXPRESSION
-
-
Constructor Detail
-
MappingTimeDeclarationType
public MappingTimeDeclarationType()
Creates a newMappingTimeDeclarationType
instance.
-
MappingTimeDeclarationType
public MappingTimeDeclarationType(MappingTimeDeclarationType o)
Creates a newMappingTimeDeclarationType
instance by deeply copying a givenMappingTimeDeclarationType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
Method Detail
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Parameters:
value
- allowed object isString
-
getDocumentation
public String getDocumentation()
Gets the value of the documentation property.- Returns:
- possible object is
String
-
setDocumentation
public void setDocumentation(String value)
Sets the value of the documentation property.- Parameters:
value
- allowed object isString
-
getReferenceTime
public VariableBindingDefinitionType getReferenceTime()
Gets the value of the referenceTime property.- Returns:
- possible object is
VariableBindingDefinitionType
-
setReferenceTime
public void setReferenceTime(VariableBindingDefinitionType value)
Sets the value of the referenceTime property.- Parameters:
value
- allowed object isVariableBindingDefinitionType
-
getOffset
public Duration getOffset()
Gets the value of the offset property.- Returns:
- possible object is
Duration
-
setOffset
public void setOffset(Duration value)
Sets the value of the offset property.- Parameters:
value
- allowed object isDuration
-
getExpression
public ExpressionType getExpression()
Gets the value of the expression property.- Returns:
- possible object is
ExpressionType
-
setExpression
public void setExpression(ExpressionType value)
Sets the value of the expression 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:
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
-
description
public MappingTimeDeclarationType description(String value)
-
documentation
public MappingTimeDeclarationType documentation(String value)
-
referenceTime
public MappingTimeDeclarationType referenceTime(VariableBindingDefinitionType value)
-
beginReferenceTime
public VariableBindingDefinitionType beginReferenceTime()
-
offset
public MappingTimeDeclarationType offset(Duration value)
-
expression
public MappingTimeDeclarationType expression(ExpressionType value)
-
beginExpression
public ExpressionType beginExpression()
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
-
clone
public MappingTimeDeclarationType clone()
Creates and returns a deep copy of this object.
-
-