Class Constraints

java.lang.Object
nl.geostandaarden.mim_1_1_0.relatierol.Constraints
All Implemented Interfaces:
org.jvnet.jaxb.lang.Child

public class Constraints extends Object implements org.jvnet.jaxb.lang.Child

Java class for anonymous complex type

.

The following schema fragment specifies the expected content contained within this class.


 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.geostandaarden.nl/mim/mim-core/1.1}Constraint" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • constraint

      protected List<Constraint> constraint
      Een constraint is een conditie of een beperking, die over een of meerdere modelelementen uit het informatiemodel geldt.
  • Constructor Details

    • Constraints

      public Constraints()
  • Method Details

    • getConstraint

      public List<Constraint> getConstraint()
      Een constraint is een conditie of een beperking, die over een of meerdere modelelementen uit het informatiemodel geldt. Gets the value of the constraint 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 constraint property.

      For example, to add a new item, do as follows:

       getConstraint().add(newItem);
       

      Objects of the following type(s) are allowed in the list Constraint

      Returns:
      The value of the constraint property.
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getParent

      public Object getParent()
      Gets the parent object in the object tree representing the unmarshalled xml document.
      Specified by:
      getParent in interface org.jvnet.jaxb.lang.Child
      Returns:
      The parent object.
    • setParent

      public void setParent(Object parent)
      Specified by:
      setParent in interface org.jvnet.jaxb.lang.Child
    • afterUnmarshal

      public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent)
      This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
      Parameters:
      unmarshaller - The unmarshaller that generated the instance.
      parent - The parent object in the object tree.
    • withConstraint

      public Constraints withConstraint(Constraint... values)
      Adds objects to the list of Constraint using add method
      Parameters:
      values - objects to add to the list Constraint
      Returns:
      The class instance
    • withConstraint

      public Constraints withConstraint(Collection<Constraint> values)
      Adds objects to the list of Constraint using addAll method
      Parameters:
      values - objects to add to the list Constraint
      Returns:
      The class instance
    • withParent

      public Constraints withParent(Object parent)
      Parameters:
      parent - allowed object is Object
      Returns:
      The class instance