Class TaskGroupExecutionLimitationType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.TaskGroupExecutionLimitationType
-
- All Implemented Interfaces:
JaxbVisitable
,Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.Equals
,org.jvnet.jaxb2_commons.lang.HashCode
public class TaskGroupExecutionLimitationType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Limitations for execution of a task group on a given node. (Will probably change in the future, when task groups will be created as regular midPoint objects.)Java class for TaskGroupExecutionLimitationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TaskGroupExecutionLimitationType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="groupName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="limit" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_GROUP_NAME
static ItemName
F_LIMIT
protected String
groupName
protected Integer
limit
-
Constructor Summary
Constructors Constructor Description TaskGroupExecutionLimitationType()
Creates a newTaskGroupExecutionLimitationType
instance.TaskGroupExecutionLimitationType(TaskGroupExecutionLimitationType o)
Creates a newTaskGroupExecutionLimitationType
instance by deeply copying a givenTaskGroupExecutionLimitationType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
TaskGroupExecutionLimitationType
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)
String
getGroupName()
Gets the value of the groupName property.Integer
getLimit()
Gets the value of the limit property.TaskGroupExecutionLimitationType
groupName(String value)
int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
TaskGroupExecutionLimitationType
limit(Integer value)
void
setGroupName(String value)
Sets the value of the groupName property.void
setLimit(Integer value)
Sets the value of the limit property.String
toString()
Generates a String representation of the contents of this type.
-
-
-
Constructor Detail
-
TaskGroupExecutionLimitationType
public TaskGroupExecutionLimitationType()
Creates a newTaskGroupExecutionLimitationType
instance.
-
TaskGroupExecutionLimitationType
public TaskGroupExecutionLimitationType(TaskGroupExecutionLimitationType o)
Creates a newTaskGroupExecutionLimitationType
instance by deeply copying a givenTaskGroupExecutionLimitationType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
Method Detail
-
getGroupName
public String getGroupName()
Gets the value of the groupName property.- Returns:
- possible object is
String
-
setGroupName
public void setGroupName(String value)
Sets the value of the groupName property.- Parameters:
value
- allowed object isString
-
getLimit
public Integer getLimit()
Gets the value of the limit property.- Returns:
- possible object is
Integer
-
setLimit
public void setLimit(Integer value)
Sets the value of the limit property.- Parameters:
value
- allowed object isInteger
-
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
-
groupName
public TaskGroupExecutionLimitationType groupName(String value)
-
limit
public TaskGroupExecutionLimitationType limit(Integer value)
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
-
clone
public TaskGroupExecutionLimitationType clone()
Creates and returns a deep copy of this object.
-
-