public class AssignmentConstraintsType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for AssignmentConstraintsType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AssignmentConstraintsType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="allowSameTarget" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="allowSameRelation" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected Boolean |
allowSameRelation |
protected Boolean |
allowSameTarget |
static QName |
COMPLEX_TYPE |
protected String |
description |
static ItemName |
F_ALLOW_SAME_RELATION |
static ItemName |
F_ALLOW_SAME_TARGET |
static ItemName |
F_DESCRIPTION |
Constructor and Description |
---|
AssignmentConstraintsType()
Creates a new
AssignmentConstraintsType instance. |
AssignmentConstraintsType(AssignmentConstraintsType o)
Creates a new
AssignmentConstraintsType instance by deeply copying a given AssignmentConstraintsType instance. |
Modifier and Type | Method and Description |
---|---|
void |
accept(JaxbVisitor visitor) |
AssignmentConstraintsType |
allowSameRelation(Boolean value) |
AssignmentConstraintsType |
allowSameTarget(Boolean value) |
AssignmentConstraintsType |
clone()
Creates and returns a deep copy of this object.
|
AssignmentConstraintsType |
description(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) |
String |
getDescription()
Gets the value of the description property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
Boolean |
isAllowSameRelation()
Gets the value of the allowSameRelation property.
|
Boolean |
isAllowSameTarget()
Gets the value of the allowSameTarget property.
|
void |
setAllowSameRelation(Boolean value)
Sets the value of the allowSameRelation property.
|
void |
setAllowSameTarget(Boolean value)
Sets the value of the allowSameTarget property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
finalize, getClass, notify, notifyAll, wait, wait, wait
visitPrismStructure
protected String description
protected Boolean allowSameTarget
protected Boolean allowSameRelation
public static final QName COMPLEX_TYPE
public static final ItemName F_DESCRIPTION
public static final ItemName F_ALLOW_SAME_TARGET
public static final ItemName F_ALLOW_SAME_RELATION
public AssignmentConstraintsType()
AssignmentConstraintsType
instance.public AssignmentConstraintsType(AssignmentConstraintsType o)
AssignmentConstraintsType
instance by deeply copying a given AssignmentConstraintsType
instance.o
- The instance to copy.NullPointerException
- if o
is null
.public String getDescription()
String
public void setDescription(String value)
value
- allowed object is
String
public Boolean isAllowSameTarget()
Boolean
public void setAllowSameTarget(Boolean value)
value
- allowed object is
Boolean
public Boolean isAllowSameRelation()
Boolean
public void setAllowSameRelation(Boolean value)
value
- allowed object is
Boolean
public String toString()
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
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)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
public AssignmentConstraintsType description(String value)
public AssignmentConstraintsType allowSameTarget(Boolean value)
public AssignmentConstraintsType allowSameRelation(Boolean value)
public void accept(JaxbVisitor visitor)
accept
in interface JaxbVisitable
public AssignmentConstraintsType clone()
Copyright © 2020 Evolveum. All rights reserved.