Class MDLegalConstraintsType
- java.lang.Object
-
- net.opengis.iso19139.gco.v_20070417.AbstractObjectType
-
- net.opengis.iso19139.gmd.v_20070417.MDConstraintsType
-
- net.opengis.iso19139.gmd.v_20070417.MDLegalConstraintsType
-
- All Implemented Interfaces:
Cloneable,org.jvnet.jaxb.lang.CopyTo,org.jvnet.jaxb.lang.Equals,org.jvnet.jaxb.lang.HashCode,org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
public class MDLegalConstraintsType extends MDConstraintsType implements Cloneable, org.jvnet.jaxb.lang.CopyTo, org.jvnet.jaxb.lang.Equals, org.jvnet.jaxb.lang.HashCode, org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
Restrictions and legal prerequisites for accessing and using the dataset.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>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<MDRestrictionCodePropertyType>accessConstraintsprotected List<CharacterStringPropertyType>otherConstraintsprotected List<MDRestrictionCodePropertyType>useConstraints-
Fields inherited from class net.opengis.iso19139.gmd.v_20070417.MDConstraintsType
useLimitation
-
Fields inherited from class net.opengis.iso19139.gco.v_20070417.AbstractObjectType
id, uuid
-
-
Constructor Summary
Constructors Constructor Description MDLegalConstraintsType()Default no-arg constructorMDLegalConstraintsType(String id, String uuid, List<CharacterStringPropertyType> useLimitation, List<MDRestrictionCodePropertyType> accessConstraints, List<MDRestrictionCodePropertyType> useConstraints, List<CharacterStringPropertyType> otherConstraints)Fully-initialising value constructor
-
Method Summary
-
Methods inherited from class net.opengis.iso19139.gmd.v_20070417.MDConstraintsType
getUseLimitation, isSetUseLimitation, setUseLimitation, unsetUseLimitation
-
-
-
-
Field Detail
-
accessConstraints
protected List<MDRestrictionCodePropertyType> accessConstraints
-
useConstraints
protected List<MDRestrictionCodePropertyType> useConstraints
-
otherConstraints
protected List<CharacterStringPropertyType> otherConstraints
-
-
Constructor Detail
-
MDLegalConstraintsType
public MDLegalConstraintsType()
Default no-arg constructor
-
MDLegalConstraintsType
public MDLegalConstraintsType(String id, String uuid, List<CharacterStringPropertyType> useLimitation, List<MDRestrictionCodePropertyType> accessConstraints, List<MDRestrictionCodePropertyType> useConstraints, List<CharacterStringPropertyType> otherConstraints)
Fully-initialising value constructor
-
-
Method Detail
-
getAccessConstraints
public List<MDRestrictionCodePropertyType> getAccessConstraints()
Gets the value of the accessConstraints 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 Jakarta XML Binding object. This is why there is not a
setmethod 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
-
isSetAccessConstraints
public boolean isSetAccessConstraints()
-
unsetAccessConstraints
public void unsetAccessConstraints()
-
getUseConstraints
public List<MDRestrictionCodePropertyType> getUseConstraints()
Gets the value of the useConstraints 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 Jakarta XML Binding object. This is why there is not a
setmethod 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
-
isSetUseConstraints
public boolean isSetUseConstraints()
-
unsetUseConstraints
public void unsetUseConstraints()
-
getOtherConstraints
public List<CharacterStringPropertyType> getOtherConstraints()
Gets the value of the otherConstraints 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 Jakarta XML Binding object. This is why there is not a
setmethod 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
-
isSetOtherConstraints
public boolean isSetOtherConstraints()
-
unsetOtherConstraints
public void unsetOtherConstraints()
-
toString
public String toString()
- Overrides:
toStringin classMDConstraintsType
-
append
public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
- Specified by:
appendin interfaceorg.jvnet.jaxb.lang.ToString- Overrides:
appendin classMDConstraintsType
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb.lang.ToString- Overrides:
appendFieldsin classMDConstraintsType
-
equals
public boolean equals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb.lang.Equals- Overrides:
equalsin classMDConstraintsType
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classMDConstraintsType
-
hashCode
public int hashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb.lang.HashCode- Overrides:
hashCodein classMDConstraintsType
-
hashCode
public int hashCode()
- Overrides:
hashCodein classMDConstraintsType
-
clone
public Object clone()
- Overrides:
clonein classMDConstraintsType
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo- Overrides:
copyToin classMDConstraintsType
-
copyTo
public Object copyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy)
- Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo- Overrides:
copyToin classMDConstraintsType
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.CopyTo- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
createNewInstancein classMDConstraintsType
-
mergeFrom
public void mergeFrom(Object left, Object right)
- Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
mergeFromin classMDConstraintsType
-
mergeFrom
public void mergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy)- Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
mergeFromin classMDConstraintsType
-
setAccessConstraints
public void setAccessConstraints(List<MDRestrictionCodePropertyType> value)
-
setUseConstraints
public void setUseConstraints(List<MDRestrictionCodePropertyType> value)
-
setOtherConstraints
public void setOtherConstraints(List<CharacterStringPropertyType> value)
-
withAccessConstraints
public MDLegalConstraintsType withAccessConstraints(MDRestrictionCodePropertyType... values)
-
withAccessConstraints
public MDLegalConstraintsType withAccessConstraints(Collection<MDRestrictionCodePropertyType> values)
-
withUseConstraints
public MDLegalConstraintsType withUseConstraints(MDRestrictionCodePropertyType... values)
-
withUseConstraints
public MDLegalConstraintsType withUseConstraints(Collection<MDRestrictionCodePropertyType> values)
-
withOtherConstraints
public MDLegalConstraintsType withOtherConstraints(CharacterStringPropertyType... values)
-
withOtherConstraints
public MDLegalConstraintsType withOtherConstraints(Collection<CharacterStringPropertyType> values)
-
withAccessConstraints
public MDLegalConstraintsType withAccessConstraints(List<MDRestrictionCodePropertyType> value)
-
withUseConstraints
public MDLegalConstraintsType withUseConstraints(List<MDRestrictionCodePropertyType> value)
-
withOtherConstraints
public MDLegalConstraintsType withOtherConstraints(List<CharacterStringPropertyType> value)
-
withUseLimitation
public MDLegalConstraintsType withUseLimitation(CharacterStringPropertyType... values)
- Overrides:
withUseLimitationin classMDConstraintsType
-
withUseLimitation
public MDLegalConstraintsType withUseLimitation(Collection<CharacterStringPropertyType> values)
- Overrides:
withUseLimitationin classMDConstraintsType
-
withUseLimitation
public MDLegalConstraintsType withUseLimitation(List<CharacterStringPropertyType> value)
- Overrides:
withUseLimitationin classMDConstraintsType
-
withId
public MDLegalConstraintsType withId(String value)
- Overrides:
withIdin classMDConstraintsType
-
withUuid
public MDLegalConstraintsType withUuid(String value)
- Overrides:
withUuidin classMDConstraintsType
-
-