public class MDLegalConstraintsType extends MDConstraintsType implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.MergeFrom2, org.jvnet.jaxb2_commons.lang.ToString2
Java class for MD_LegalConstraints_Type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MD_LegalConstraints_Type">
<complexContent>
<extension base="{http://www.isotc211.org/2005/gmd}MD_Constraints_Type">
<sequence>
<element name="accessConstraints" type="{http://www.isotc211.org/2005/gmd}MD_RestrictionCode_PropertyType" maxOccurs="unbounded" minOccurs="0"/>
<element name="useConstraints" type="{http://www.isotc211.org/2005/gmd}MD_RestrictionCode_PropertyType" maxOccurs="unbounded" minOccurs="0"/>
<element name="otherConstraints" type="{http://www.isotc211.org/2005/gco}CharacterString_PropertyType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<MDRestrictionCodePropertyType> |
accessConstraints |
protected List<CharacterStringPropertyType> |
otherConstraints |
protected List<MDRestrictionCodePropertyType> |
useConstraints |
useLimitationid, uuid| Constructor and Description |
|---|
MDLegalConstraintsType() |
getUseLimitation, isSetUseLimitation, setUseLimitation, unsetUseLimitationprotected List<MDRestrictionCodePropertyType> accessConstraints
protected List<MDRestrictionCodePropertyType> useConstraints
protected List<CharacterStringPropertyType> otherConstraints
public List<MDRestrictionCodePropertyType> getAccessConstraints()
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 accessConstraints property.
For example, to add a new item, do as follows:
getAccessConstraints().add(newItem);
Objects of the following type(s) are allowed in the list
MDRestrictionCodePropertyType
public boolean isSetAccessConstraints()
public void unsetAccessConstraints()
public List<MDRestrictionCodePropertyType> getUseConstraints()
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 useConstraints property.
For example, to add a new item, do as follows:
getUseConstraints().add(newItem);
Objects of the following type(s) are allowed in the list
MDRestrictionCodePropertyType
public boolean isSetUseConstraints()
public void unsetUseConstraints()
public List<CharacterStringPropertyType> getOtherConstraints()
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 otherConstraints property.
For example, to add a new item, do as follows:
getOtherConstraints().add(newItem);
Objects of the following type(s) are allowed in the list
CharacterStringPropertyType
public boolean isSetOtherConstraints()
public void unsetOtherConstraints()
public String toString()
toString in class MDConstraintsTypepublic StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToString2append in class MDConstraintsTypepublic StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2appendFields in class MDConstraintsTypepublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equals2equals in class MDConstraintsTypepublic boolean equals(Object object)
equals in class MDConstraintsTypepublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2hashCode in class MDConstraintsTypepublic int hashCode()
hashCode in class MDConstraintsTypepublic Object clone()
clone in class MDConstraintsTypepublic Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2copyTo in class MDConstraintsTypepublic Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2copyTo in class MDConstraintsTypepublic Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo2createNewInstance in interface org.jvnet.jaxb2_commons.lang.MergeFrom2createNewInstance in class MDConstraintsTypepublic void mergeFrom(Object left, Object right)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom2mergeFrom in class MDConstraintsTypepublic void mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator,
Object left,
Object right,
org.jvnet.jaxb2_commons.lang.MergeStrategy2 strategy)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom2mergeFrom in class MDConstraintsTypepublic void setAccessConstraints(List<MDRestrictionCodePropertyType> value)
public void setUseConstraints(List<MDRestrictionCodePropertyType> value)
public void setOtherConstraints(List<CharacterStringPropertyType> value)
public MDLegalConstraintsType withAccessConstraints(MDRestrictionCodePropertyType... values)
public MDLegalConstraintsType withAccessConstraints(Collection<MDRestrictionCodePropertyType> values)
public MDLegalConstraintsType withUseConstraints(MDRestrictionCodePropertyType... values)
public MDLegalConstraintsType withUseConstraints(Collection<MDRestrictionCodePropertyType> values)
public MDLegalConstraintsType withOtherConstraints(CharacterStringPropertyType... values)
public MDLegalConstraintsType withOtherConstraints(Collection<CharacterStringPropertyType> values)
public MDLegalConstraintsType withAccessConstraints(List<MDRestrictionCodePropertyType> value)
public MDLegalConstraintsType withUseConstraints(List<MDRestrictionCodePropertyType> value)
public MDLegalConstraintsType withOtherConstraints(List<CharacterStringPropertyType> value)
public MDLegalConstraintsType withUseLimitation(CharacterStringPropertyType... values)
withUseLimitation in class MDConstraintsTypepublic MDLegalConstraintsType withUseLimitation(Collection<CharacterStringPropertyType> values)
withUseLimitation in class MDConstraintsTypepublic MDLegalConstraintsType withUseLimitation(List<CharacterStringPropertyType> value)
withUseLimitation in class MDConstraintsTypepublic MDLegalConstraintsType withId(String value)
withId in class MDConstraintsTypepublic MDLegalConstraintsType withUuid(String value)
withUuid in class MDConstraintsTypeCopyright © 2008–2023. All rights reserved.