Class MDMediumType
- java.lang.Object
-
- net.opengis.iso19139.gco.v_20070417.AbstractObjectType
-
- net.opengis.iso19139.gmd.v_20070417.MDMediumType
-
- 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 MDMediumType extends AbstractObjectType 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
Information about the media on which the data can be distributedJava 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
Fields Modifier and Type Field Description protected List<RealPropertyType>densityprotected CharacterStringPropertyTypedensityUnitsprotected List<MDMediumFormatCodePropertyType>mediumFormatprotected CharacterStringPropertyTypemediumNoteprotected MDMediumNameCodePropertyTypenameprotected IntegerPropertyTypevolumes-
Fields inherited from class net.opengis.iso19139.gco.v_20070417.AbstractObjectType
id, uuid
-
-
Constructor Summary
Constructors Constructor Description MDMediumType()Default no-arg constructorMDMediumType(String id, String uuid, MDMediumNameCodePropertyType name, List<RealPropertyType> density, CharacterStringPropertyType densityUnits, IntegerPropertyType volumes, List<MDMediumFormatCodePropertyType> mediumFormat, CharacterStringPropertyType mediumNote)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBuilderappend(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)StringBuilderappendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)Objectclone()ObjectcopyTo(Object target)ObjectcopyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy)ObjectcreateNewInstance()booleanequals(Object object)booleanequals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy)List<RealPropertyType>getDensity()Gets the value of the density property.CharacterStringPropertyTypegetDensityUnits()Gets the value of the densityUnits property.List<MDMediumFormatCodePropertyType>getMediumFormat()Gets the value of the mediumFormat property.CharacterStringPropertyTypegetMediumNote()Gets the value of the mediumNote property.MDMediumNameCodePropertyTypegetName()Gets the value of the name property.IntegerPropertyTypegetVolumes()Gets the value of the volumes property.inthashCode()inthashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)booleanisSetDensity()booleanisSetDensityUnits()booleanisSetMediumFormat()booleanisSetMediumNote()booleanisSetName()booleanisSetVolumes()voidmergeFrom(Object left, Object right)voidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy)voidsetDensity(List<RealPropertyType> value)voidsetDensityUnits(CharacterStringPropertyType value)Sets the value of the densityUnits property.voidsetMediumFormat(List<MDMediumFormatCodePropertyType> value)voidsetMediumNote(CharacterStringPropertyType value)Sets the value of the mediumNote property.voidsetName(MDMediumNameCodePropertyType value)Sets the value of the name property.voidsetVolumes(IntegerPropertyType value)Sets the value of the volumes property.StringtoString()voidunsetDensity()voidunsetMediumFormat()MDMediumTypewithDensity(Collection<RealPropertyType> values)MDMediumTypewithDensity(List<RealPropertyType> value)MDMediumTypewithDensity(RealPropertyType... values)MDMediumTypewithDensityUnits(CharacterStringPropertyType value)MDMediumTypewithId(String value)MDMediumTypewithMediumFormat(Collection<MDMediumFormatCodePropertyType> values)MDMediumTypewithMediumFormat(List<MDMediumFormatCodePropertyType> value)MDMediumTypewithMediumFormat(MDMediumFormatCodePropertyType... values)MDMediumTypewithMediumNote(CharacterStringPropertyType value)MDMediumTypewithName(MDMediumNameCodePropertyType value)MDMediumTypewithUuid(String value)MDMediumTypewithVolumes(IntegerPropertyType value)
-
-
-
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()
Default no-arg constructor
-
MDMediumType
public MDMediumType(String id, String uuid, MDMediumNameCodePropertyType name, List<RealPropertyType> density, CharacterStringPropertyType densityUnits, IntegerPropertyType volumes, List<MDMediumFormatCodePropertyType> mediumFormat, CharacterStringPropertyType mediumNote)
Fully-initialising value constructor
-
-
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 isMDMediumNameCodePropertyType
-
isSetName
public boolean isSetName()
-
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 Jakarta XML Binding object. This is why there is not a
setmethod 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
-
isSetDensity
public boolean isSetDensity()
-
unsetDensity
public void unsetDensity()
-
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 isCharacterStringPropertyType
-
isSetDensityUnits
public boolean isSetDensityUnits()
-
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 isIntegerPropertyType
-
isSetVolumes
public boolean isSetVolumes()
-
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 Jakarta XML Binding object. This is why there is not a
setmethod 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
-
isSetMediumFormat
public boolean isSetMediumFormat()
-
unsetMediumFormat
public void unsetMediumFormat()
-
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 isCharacterStringPropertyType
-
isSetMediumNote
public boolean isSetMediumNote()
-
toString
public String toString()
- Overrides:
toStringin classAbstractObjectType
-
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 classAbstractObjectType
-
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 classAbstractObjectType
-
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 classAbstractObjectType
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classAbstractObjectType
-
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 classAbstractObjectType
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractObjectType
-
clone
public Object clone()
- Overrides:
clonein classAbstractObjectType
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo- Overrides:
copyToin classAbstractObjectType
-
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 classAbstractObjectType
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.CopyTo- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.MergeFrom
-
mergeFrom
public void mergeFrom(Object left, Object right)
- Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
mergeFromin classAbstractObjectType
-
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 classAbstractObjectType
-
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:
withIdin classAbstractObjectType
-
withUuid
public MDMediumType withUuid(String value)
- Overrides:
withUuidin classAbstractObjectType
-
-