net.opengis.iso19139.gmd.v_20070417
Class MDLegalConstraintsType

java.lang.Object
  extended by net.opengis.iso19139.gco.v_20070417.AbstractObjectType
      extended by net.opengis.iso19139.gmd.v_20070417.MDConstraintsType
          extended by net.opengis.iso19139.gmd.v_20070417.MDLegalConstraintsType
All Implemented Interfaces:
Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.MergeFrom, org.jvnet.jaxb2_commons.lang.ToString

public class MDLegalConstraintsType
extends MDConstraintsType
implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.MergeFrom, org.jvnet.jaxb2_commons.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
protected  List<MDRestrictionCodePropertyType> accessConstraints
           
protected  List<CharacterStringPropertyType> otherConstraints
           
protected  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
MDLegalConstraintsType()
           
 
Method Summary
 StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 Object clone()
           
 Object copyTo(Object target)
           
 Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
           
 Object createNewInstance()
           
 boolean equals(Object object)
           
 boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
           
 List<MDRestrictionCodePropertyType> getAccessConstraints()
          Gets the value of the accessConstraints property.
 List<CharacterStringPropertyType> getOtherConstraints()
          Gets the value of the otherConstraints property.
 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.HashCodeStrategy strategy)
           
 boolean isSetAccessConstraints()
           
 boolean isSetOtherConstraints()
           
 boolean isSetUseConstraints()
           
 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.MergeStrategy strategy)
           
 void mergeFrom(Object left, Object right)
           
 void setAccessConstraints(List<MDRestrictionCodePropertyType> value)
           
 void setOtherConstraints(List<CharacterStringPropertyType> value)
           
 void setUseConstraints(List<MDRestrictionCodePropertyType> value)
           
 String toString()
           
 void unsetAccessConstraints()
           
 void unsetOtherConstraints()
           
 void unsetUseConstraints()
           
 MDLegalConstraintsType withAccessConstraints(Collection<MDRestrictionCodePropertyType> values)
           
 MDLegalConstraintsType withAccessConstraints(List<MDRestrictionCodePropertyType> value)
           
 MDLegalConstraintsType withAccessConstraints(MDRestrictionCodePropertyType... values)
           
 MDLegalConstraintsType withId(String value)
           
 MDLegalConstraintsType withOtherConstraints(CharacterStringPropertyType... values)
           
 MDLegalConstraintsType withOtherConstraints(Collection<CharacterStringPropertyType> values)
           
 MDLegalConstraintsType withOtherConstraints(List<CharacterStringPropertyType> value)
           
 MDLegalConstraintsType withUseConstraints(Collection<MDRestrictionCodePropertyType> values)
           
 MDLegalConstraintsType withUseConstraints(List<MDRestrictionCodePropertyType> value)
           
 MDLegalConstraintsType withUseConstraints(MDRestrictionCodePropertyType... values)
           
 MDLegalConstraintsType withUseLimitation(CharacterStringPropertyType... values)
           
 MDLegalConstraintsType withUseLimitation(Collection<CharacterStringPropertyType> values)
           
 MDLegalConstraintsType withUseLimitation(List<CharacterStringPropertyType> value)
           
 MDLegalConstraintsType withUuid(String value)
           
 
Methods inherited from class net.opengis.iso19139.gmd.v_20070417.MDConstraintsType
getUseLimitation, isSetUseLimitation, setUseLimitation, unsetUseLimitation
 
Methods inherited from class net.opengis.iso19139.gco.v_20070417.AbstractObjectType
getId, getUuid, isSetId, isSetUuid, setId, setUuid
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

accessConstraints

protected List<MDRestrictionCodePropertyType> accessConstraints

useConstraints

protected List<MDRestrictionCodePropertyType> useConstraints

otherConstraints

protected List<CharacterStringPropertyType> otherConstraints
Constructor Detail

MDLegalConstraintsType

public MDLegalConstraintsType()
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 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


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 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


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 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


isSetOtherConstraints

public boolean isSetOtherConstraints()

unsetOtherConstraints

public void unsetOtherConstraints()

toString

public String toString()
Overrides:
toString in class MDConstraintsType

append

public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            StringBuilder buffer,
                            org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
append in interface org.jvnet.jaxb2_commons.lang.ToString
Overrides:
append in class MDConstraintsType

appendFields

public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                  StringBuilder buffer,
                                  org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString
Overrides:
appendFields in class MDConstraintsType

equals

public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                      org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                      Object object,
                      org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals
Overrides:
equals in class MDConstraintsType

equals

public boolean equals(Object object)
Overrides:
equals in class MDConstraintsType

hashCode

public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                    org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode
Overrides:
hashCode in class MDConstraintsType

hashCode

public int hashCode()
Overrides:
hashCode in class MDConstraintsType

clone

public Object clone()
Overrides:
clone in class MDConstraintsType

copyTo

public Object copyTo(Object target)
Specified by:
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo
Overrides:
copyTo in class MDConstraintsType

copyTo

public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                     Object target,
                     org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
Specified by:
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo
Overrides:
copyTo in class MDConstraintsType

createNewInstance

public Object createNewInstance()
Specified by:
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo
Specified by:
createNewInstance in interface org.jvnet.jaxb2_commons.lang.MergeFrom
Overrides:
createNewInstance in class MDConstraintsType

mergeFrom

public void mergeFrom(Object left,
                      Object right)
Specified by:
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom
Overrides:
mergeFrom in class MDConstraintsType

mergeFrom

public 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.MergeStrategy strategy)
Specified by:
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom
Overrides:
mergeFrom in class MDConstraintsType

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:
withUseLimitation in class MDConstraintsType

withUseLimitation

public MDLegalConstraintsType withUseLimitation(Collection<CharacterStringPropertyType> values)
Overrides:
withUseLimitation in class MDConstraintsType

withUseLimitation

public MDLegalConstraintsType withUseLimitation(List<CharacterStringPropertyType> value)
Overrides:
withUseLimitation in class MDConstraintsType

withId

public MDLegalConstraintsType withId(String value)
Overrides:
withId in class MDConstraintsType

withUuid

public MDLegalConstraintsType withUuid(String value)
Overrides:
withUuid in class MDConstraintsType


Copyright © 2008-2015. All Rights Reserved.