Class Constraints
java.lang.Object
nl.geostandaarden.mim_1_1_1.relatierol.Constraints
- All Implemented Interfaces:
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
afterUnmarshal
(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.boolean
Gets the value of the constraint property.Gets the parent object in the object tree representing the unmarshalled xml document.int
hashCode()
void
withConstraint
(Collection<Constraint> values) Adds objects to the list of Constraint using addAll methodwithConstraint
(Constraint... values) Adds objects to the list of Constraint using add methodwithParent
(Object parent)
-
Field Details
-
constraint
-
-
Constructor Details
-
Constraints
public Constraints()
-
-
Method Details
-
getConstraint
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
-
hashCode
public int hashCode() -
getParent
Gets the parent object in the object tree representing the unmarshalled xml document.- Specified by:
getParent
in interfaceorg.jvnet.jaxb.lang.Child
- Returns:
- The parent object.
-
setParent
- Specified by:
setParent
in interfaceorg.jvnet.jaxb.lang.Child
-
afterUnmarshal
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
Adds objects to the list of Constraint using add method- Parameters:
values
- objects to add to the list Constraint- Returns:
- The class instance
-
withConstraint
Adds objects to the list of Constraint using addAll method- Parameters:
values
- objects to add to the list Constraint- Returns:
- The class instance
-
withParent
- Parameters:
parent
- allowed object isObject
- Returns:
- The class instance
-