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 newTimedActionTimeSpecificationType
instance.TimedActionTimeSpecificationType(TimedActionTimeSpecificationType o)
Creates a newTimedActionTimeSpecificationType
instance by deeply copying a givenTimedActionTimeSpecificationType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
TimedActionTimeSpecificationType
base(WfTimeBaseType value)
TimedActionTimeSpecificationType
clone()
Creates and returns a deep copy of this object.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)
WfTimeBaseType
getBase()
Gets the value of the base property.List<Duration>
getValue()
Gets the value of the value property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
void
setBase(WfTimeBaseType value)
Sets the value of the base property.String
toString()
Generates a String representation of the contents of this type.TimedActionTimeSpecificationType
value(Duration value)
-
-
-
Constructor Detail
-
TimedActionTimeSpecificationType
public TimedActionTimeSpecificationType()
Creates a newTimedActionTimeSpecificationType
instance.
-
TimedActionTimeSpecificationType
public TimedActionTimeSpecificationType(TimedActionTimeSpecificationType o)
Creates a newTimedActionTimeSpecificationType
instance by deeply copying a givenTimedActionTimeSpecificationType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
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
set
method 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:
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
-
value
public TimedActionTimeSpecificationType value(Duration value)
-
base
public TimedActionTimeSpecificationType base(WfTimeBaseType value)
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
-
clone
public TimedActionTimeSpecificationType clone()
Creates and returns a deep copy of this object.
-
-