Class AssignmentConstraintsType

  • All Implemented Interfaces:
    JaxbVisitable, Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

    public class AssignmentConstraintsType
    extends Object
    implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
    Specifies constraints on assignments that are placed in the same focus. It can be used to prohibit multiple assignment of the same role and for similar cases. There are several individual constraints in the type. There is a logical AND between them. This means that if no constraint can be violated. All active constraints must be satisfied at the same time.

    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 ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}documentation" 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>
     
    See Also:
    Serialized Form
    • Field Detail

      • description

        protected String description
      • documentation

        protected String documentation
      • allowSameTarget

        protected Boolean allowSameTarget
      • allowSameRelation

        protected Boolean allowSameRelation
      • 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_ALLOW_SAME_TARGET

        public static final ItemName F_ALLOW_SAME_TARGET
      • F_ALLOW_SAME_RELATION

        public static final ItemName F_ALLOW_SAME_RELATION
    • Constructor Detail

      • AssignmentConstraintsType

        public AssignmentConstraintsType()
        Creates a new AssignmentConstraintsType instance.
      • AssignmentConstraintsType

        public AssignmentConstraintsType​(AssignmentConstraintsType o)
        Creates a new AssignmentConstraintsType instance by deeply copying a given AssignmentConstraintsType instance.
        Parameters:
        o - The instance to copy.
        Throws:
        NullPointerException - if o is null.
    • 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 is String
      • 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 is String
      • isAllowSameTarget

        public Boolean isAllowSameTarget()
        Gets the value of the allowSameTarget property.
        Returns:
        possible object is Boolean
      • setAllowSameTarget

        public void setAllowSameTarget​(Boolean value)
        Sets the value of the allowSameTarget property.
        Parameters:
        value - allowed object is Boolean
      • isAllowSameRelation

        public Boolean isAllowSameRelation()
        Gets the value of the allowSameRelation property.
        Returns:
        possible object is Boolean
      • setAllowSameRelation

        public void setAllowSameRelation​(Boolean value)
        Sets the value of the allowSameRelation property.
        Parameters:
        value - allowed object is Boolean
      • 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
        Overrides:
        toString in class Object
      • hashCode

        public int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
        Specified by:
        hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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 interface org.jvnet.jaxb2_commons.lang.Equals