Class TimedActionTimeSpecificationType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.TimedActionTimeSpecificationType
-
- All Implemented Interfaces:
JaxbVisitable,Serializable,Cloneable,org.jvnet.jaxb2_commons.lang.Equals,org.jvnet.jaxb2_commons.lang.HashCode
public class TimedActionTimeSpecificationType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
TODO EXPERIMENTAL By default (when the base is not specified), positive time intervals are meant "after work item start". Negative time intervals are meant "before work item deadline".Java class for TimedActionTimeSpecificationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TimedActionTimeSpecificationType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="value" type="{http://www.w3.org/2001/XMLSchema}duration" maxOccurs="unbounded" minOccurs="0"/> <element name="base" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}WfTimeBaseType" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TimedActionTimeSpecificationType()Creates a newTimedActionTimeSpecificationTypeinstance.TimedActionTimeSpecificationType(TimedActionTimeSpecificationType o)Creates a newTimedActionTimeSpecificationTypeinstance by deeply copying a givenTimedActionTimeSpecificationTypeinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(JaxbVisitor visitor)TimedActionTimeSpecificationTypebase(WfTimeBaseType value)TimedActionTimeSpecificationTypeclone()Creates and returns a deep copy of this object.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)WfTimeBaseTypegetBase()Gets the value of the base property.List<Duration>getValue()Gets the value of the value property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)voidsetBase(WfTimeBaseType value)Sets the value of the base property.StringtoString()Generates a String representation of the contents of this type.TimedActionTimeSpecificationTypevalue(Duration value)
-
-
-
Constructor Detail
-
TimedActionTimeSpecificationType
public TimedActionTimeSpecificationType()
Creates a newTimedActionTimeSpecificationTypeinstance.
-
TimedActionTimeSpecificationType
public TimedActionTimeSpecificationType(TimedActionTimeSpecificationType o)
Creates a newTimedActionTimeSpecificationTypeinstance by deeply copying a givenTimedActionTimeSpecificationTypeinstance.- Parameters:
o- The instance to copy.- Throws:
NullPointerException- ifoisnull.
-
-
Method Detail
-
getValue
public List<Duration> getValue()
Gets the value of the value property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the value property.For example, to add a new item, do as follows:
getValue().add(newItem);Objects of the following type(s) are allowed in the list
Duration
-
getBase
public WfTimeBaseType getBase()
Gets the value of the base property.- Returns:
- possible object is
WfTimeBaseType
-
setBase
public void setBase(WfTimeBaseType value)
Sets the value of the base property.- Parameters:
value- allowed object isWfTimeBaseType
-
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 TimedActionTimeSpecificationType value(Duration value)
-
base
public TimedActionTimeSpecificationType base(WfTimeBaseType value)
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
acceptin interfaceJaxbVisitable
-
clone
public TimedActionTimeSpecificationType clone()
Creates and returns a deep copy of this object.
-
-