net.opengis.iso19139.gmd.v_20060504
Class MDMediumType

java.lang.Object
  extended by net.opengis.iso19139.gco.v_20060504.AbstractObjectType
      extended by net.opengis.iso19139.gmd.v_20060504.MDMediumType
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 MDMediumType
extends AbstractObjectType
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

Information about the media on which the data can be distributed

Java class for MD_Medium_Type complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="MD_Medium_Type">
   <complexContent>
     <extension base="{http://www.isotc211.org/2005/gco}AbstractObject_Type">
       <sequence>
         <element name="name" type="{http://www.isotc211.org/2005/gmd}MD_MediumNameCode_PropertyType" minOccurs="0"/>
         <element name="density" type="{http://www.isotc211.org/2005/gco}Real_PropertyType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="densityUnits" type="{http://www.isotc211.org/2005/gco}CharacterString_PropertyType" minOccurs="0"/>
         <element name="volumes" type="{http://www.isotc211.org/2005/gco}Integer_PropertyType" minOccurs="0"/>
         <element name="mediumFormat" type="{http://www.isotc211.org/2005/gmd}MD_MediumFormatCode_PropertyType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="mediumNote" type="{http://www.isotc211.org/2005/gco}CharacterString_PropertyType" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<RealPropertyType> density
           
protected  CharacterStringPropertyType densityUnits
           
protected  List<MDMediumFormatCodePropertyType> mediumFormat
           
protected  CharacterStringPropertyType mediumNote
           
protected  MDMediumNameCodePropertyType name
           
protected  IntegerPropertyType volumes
           
 
Fields inherited from class net.opengis.iso19139.gco.v_20060504.AbstractObjectType
id, uuid
 
Constructor Summary
MDMediumType()
           
 
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<RealPropertyType> getDensity()
          Gets the value of the density property.
 CharacterStringPropertyType getDensityUnits()
          Gets the value of the densityUnits property.
 List<MDMediumFormatCodePropertyType> getMediumFormat()
          Gets the value of the mediumFormat property.
 CharacterStringPropertyType getMediumNote()
          Gets the value of the mediumNote property.
 MDMediumNameCodePropertyType getName()
          Gets the value of the name property.
 IntegerPropertyType getVolumes()
          Gets the value of the volumes property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 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 setDensity(List<RealPropertyType> value)
           
 void setDensityUnits(CharacterStringPropertyType value)
          Sets the value of the densityUnits property.
 void setMediumFormat(List<MDMediumFormatCodePropertyType> value)
           
 void setMediumNote(CharacterStringPropertyType value)
          Sets the value of the mediumNote property.
 void setName(MDMediumNameCodePropertyType value)
          Sets the value of the name property.
 void setVolumes(IntegerPropertyType value)
          Sets the value of the volumes property.
 String toString()
           
 MDMediumType withDensity(Collection<RealPropertyType> values)
           
 MDMediumType withDensity(List<RealPropertyType> value)
           
 MDMediumType withDensity(RealPropertyType... values)
           
 MDMediumType withDensityUnits(CharacterStringPropertyType value)
           
 MDMediumType withId(String value)
           
 MDMediumType withMediumFormat(Collection<MDMediumFormatCodePropertyType> values)
           
 MDMediumType withMediumFormat(List<MDMediumFormatCodePropertyType> value)
           
 MDMediumType withMediumFormat(MDMediumFormatCodePropertyType... values)
           
 MDMediumType withMediumNote(CharacterStringPropertyType value)
           
 MDMediumType withName(MDMediumNameCodePropertyType value)
           
 MDMediumType withUuid(String value)
           
 MDMediumType withVolumes(IntegerPropertyType value)
           
 
Methods inherited from class net.opengis.iso19139.gco.v_20060504.AbstractObjectType
getId, getUuid, setId, setUuid
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected MDMediumNameCodePropertyType name

density

protected List<RealPropertyType> density

densityUnits

protected CharacterStringPropertyType densityUnits

volumes

protected IntegerPropertyType volumes

mediumFormat

protected List<MDMediumFormatCodePropertyType> mediumFormat

mediumNote

protected CharacterStringPropertyType mediumNote
Constructor Detail

MDMediumType

public MDMediumType()
Method Detail

getName

public MDMediumNameCodePropertyType getName()
Gets the value of the name property.

Returns:
possible object is MDMediumNameCodePropertyType

setName

public void setName(MDMediumNameCodePropertyType value)
Sets the value of the name property.

Parameters:
value - allowed object is MDMediumNameCodePropertyType

getDensity

public List<RealPropertyType> getDensity()
Gets the value of the density 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 density property.

For example, to add a new item, do as follows:

    getDensity().add(newItem);
 

Objects of the following type(s) are allowed in the list RealPropertyType


getDensityUnits

public CharacterStringPropertyType getDensityUnits()
Gets the value of the densityUnits property.

Returns:
possible object is CharacterStringPropertyType

setDensityUnits

public void setDensityUnits(CharacterStringPropertyType value)
Sets the value of the densityUnits property.

Parameters:
value - allowed object is CharacterStringPropertyType

getVolumes

public IntegerPropertyType getVolumes()
Gets the value of the volumes property.

Returns:
possible object is IntegerPropertyType

setVolumes

public void setVolumes(IntegerPropertyType value)
Sets the value of the volumes property.

Parameters:
value - allowed object is IntegerPropertyType

getMediumFormat

public List<MDMediumFormatCodePropertyType> getMediumFormat()
Gets the value of the mediumFormat 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 mediumFormat property.

For example, to add a new item, do as follows:

    getMediumFormat().add(newItem);
 

Objects of the following type(s) are allowed in the list MDMediumFormatCodePropertyType


getMediumNote

public CharacterStringPropertyType getMediumNote()
Gets the value of the mediumNote property.

Returns:
possible object is CharacterStringPropertyType

setMediumNote

public void setMediumNote(CharacterStringPropertyType value)
Sets the value of the mediumNote property.

Parameters:
value - allowed object is CharacterStringPropertyType

toString

public String toString()
Overrides:
toString in class AbstractObjectType

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 AbstractObjectType

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 AbstractObjectType

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 AbstractObjectType

equals

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

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 AbstractObjectType

hashCode

public int hashCode()
Overrides:
hashCode in class AbstractObjectType

clone

public Object clone()
Overrides:
clone in class AbstractObjectType

copyTo

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

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 AbstractObjectType

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

mergeFrom

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

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 AbstractObjectType

setDensity

public void setDensity(List<RealPropertyType> value)

setMediumFormat

public void setMediumFormat(List<MDMediumFormatCodePropertyType> value)

withName

public MDMediumType withName(MDMediumNameCodePropertyType value)

withDensity

public MDMediumType withDensity(RealPropertyType... values)

withDensity

public MDMediumType withDensity(Collection<RealPropertyType> values)

withDensityUnits

public MDMediumType withDensityUnits(CharacterStringPropertyType value)

withVolumes

public MDMediumType withVolumes(IntegerPropertyType value)

withMediumFormat

public MDMediumType withMediumFormat(MDMediumFormatCodePropertyType... values)

withMediumFormat

public MDMediumType withMediumFormat(Collection<MDMediumFormatCodePropertyType> values)

withMediumNote

public MDMediumType withMediumNote(CharacterStringPropertyType value)

withDensity

public MDMediumType withDensity(List<RealPropertyType> value)

withMediumFormat

public MDMediumType withMediumFormat(List<MDMediumFormatCodePropertyType> value)

withId

public MDMediumType withId(String value)
Overrides:
withId in class AbstractObjectType

withUuid

public MDMediumType withUuid(String value)
Overrides:
withUuid in class AbstractObjectType


Copyright © 2008-2015. All Rights Reserved.