public class MDLegalConstraintsType extends MDConstraintsType implements java.lang.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 java.util.List<MDRestrictionCodePropertyType> |
accessConstraints |
protected java.util.List<CharacterStringPropertyType> |
otherConstraints |
protected java.util.List<MDRestrictionCodePropertyType> |
useConstraints |
useLimitationid, uuid| Constructor and Description |
|---|
MDLegalConstraintsType() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) |
java.lang.Object |
clone() |
java.lang.Object |
copyTo(java.lang.Object target) |
java.lang.Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy) |
java.lang.Object |
createNewInstance() |
boolean |
equals(java.lang.Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) |
java.util.List<MDRestrictionCodePropertyType> |
getAccessConstraints()
Gets the value of the accessConstraints property.
|
java.util.List<CharacterStringPropertyType> |
getOtherConstraints()
Gets the value of the otherConstraints property.
|
java.util.List<MDRestrictionCodePropertyType> |
getUseConstraints()
Gets the value of the useConstraints property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) |
boolean |
isSetAccessConstraints() |
boolean |
isSetOtherConstraints() |
boolean |
isSetUseConstraints() |
void |
mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator,
java.lang.Object left,
java.lang.Object right,
org.jvnet.jaxb2_commons.lang.MergeStrategy2 strategy) |
void |
mergeFrom(java.lang.Object left,
java.lang.Object right) |
void |
setAccessConstraints(java.util.List<MDRestrictionCodePropertyType> value) |
void |
setOtherConstraints(java.util.List<CharacterStringPropertyType> value) |
void |
setUseConstraints(java.util.List<MDRestrictionCodePropertyType> value) |
java.lang.String |
toString() |
void |
unsetAccessConstraints() |
void |
unsetOtherConstraints() |
void |
unsetUseConstraints() |
MDLegalConstraintsType |
withAccessConstraints(java.util.Collection<MDRestrictionCodePropertyType> values) |
MDLegalConstraintsType |
withAccessConstraints(java.util.List<MDRestrictionCodePropertyType> value) |
MDLegalConstraintsType |
withAccessConstraints(MDRestrictionCodePropertyType... values) |
MDLegalConstraintsType |
withId(java.lang.String value) |
MDLegalConstraintsType |
withOtherConstraints(CharacterStringPropertyType... values) |
MDLegalConstraintsType |
withOtherConstraints(java.util.Collection<CharacterStringPropertyType> values) |
MDLegalConstraintsType |
withOtherConstraints(java.util.List<CharacterStringPropertyType> value) |
MDLegalConstraintsType |
withUseConstraints(java.util.Collection<MDRestrictionCodePropertyType> values) |
MDLegalConstraintsType |
withUseConstraints(java.util.List<MDRestrictionCodePropertyType> value) |
MDLegalConstraintsType |
withUseConstraints(MDRestrictionCodePropertyType... values) |
MDLegalConstraintsType |
withUseLimitation(CharacterStringPropertyType... values) |
MDLegalConstraintsType |
withUseLimitation(java.util.Collection<CharacterStringPropertyType> values) |
MDLegalConstraintsType |
withUseLimitation(java.util.List<CharacterStringPropertyType> value) |
MDLegalConstraintsType |
withUuid(java.lang.String value) |
getUseLimitation, isSetUseLimitation, setUseLimitation, unsetUseLimitationprotected java.util.List<MDRestrictionCodePropertyType> accessConstraints
protected java.util.List<MDRestrictionCodePropertyType> useConstraints
protected java.util.List<CharacterStringPropertyType> otherConstraints
public java.util.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 java.util.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 java.util.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 java.lang.String toString()
toString in class MDConstraintsTypepublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToString2append in class MDConstraintsTypepublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.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,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equals2equals in class MDConstraintsTypepublic boolean equals(java.lang.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 java.lang.Object clone()
clone in class MDConstraintsTypepublic java.lang.Object copyTo(java.lang.Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2copyTo in class MDConstraintsTypepublic java.lang.Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2copyTo in class MDConstraintsTypepublic java.lang.Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo2createNewInstance in interface org.jvnet.jaxb2_commons.lang.MergeFrom2createNewInstance in class MDConstraintsTypepublic void mergeFrom(java.lang.Object left,
java.lang.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,
java.lang.Object left,
java.lang.Object right,
org.jvnet.jaxb2_commons.lang.MergeStrategy2 strategy)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom2mergeFrom in class MDConstraintsTypepublic void setAccessConstraints(java.util.List<MDRestrictionCodePropertyType> value)
public void setUseConstraints(java.util.List<MDRestrictionCodePropertyType> value)
public void setOtherConstraints(java.util.List<CharacterStringPropertyType> value)
public MDLegalConstraintsType withAccessConstraints(MDRestrictionCodePropertyType... values)
public MDLegalConstraintsType withAccessConstraints(java.util.Collection<MDRestrictionCodePropertyType> values)
public MDLegalConstraintsType withUseConstraints(MDRestrictionCodePropertyType... values)
public MDLegalConstraintsType withUseConstraints(java.util.Collection<MDRestrictionCodePropertyType> values)
public MDLegalConstraintsType withOtherConstraints(CharacterStringPropertyType... values)
public MDLegalConstraintsType withOtherConstraints(java.util.Collection<CharacterStringPropertyType> values)
public MDLegalConstraintsType withAccessConstraints(java.util.List<MDRestrictionCodePropertyType> value)
public MDLegalConstraintsType withUseConstraints(java.util.List<MDRestrictionCodePropertyType> value)
public MDLegalConstraintsType withOtherConstraints(java.util.List<CharacterStringPropertyType> value)
public MDLegalConstraintsType withUseLimitation(CharacterStringPropertyType... values)
withUseLimitation in class MDConstraintsTypepublic MDLegalConstraintsType withUseLimitation(java.util.Collection<CharacterStringPropertyType> values)
withUseLimitation in class MDConstraintsTypepublic MDLegalConstraintsType withUseLimitation(java.util.List<CharacterStringPropertyType> value)
withUseLimitation in class MDConstraintsTypepublic MDLegalConstraintsType withId(java.lang.String value)
withId in class MDConstraintsTypepublic MDLegalConstraintsType withUuid(java.lang.String value)
withUuid in class MDConstraintsTypeCopyright © 2008-2022. All Rights Reserved.