Class DistancePropertyType
- java.lang.Object
-
- net.opengis.iso19139.gco.v_20070417.DistancePropertyType
-
- 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 DistancePropertyType extends Object 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
Java class for Distance_PropertyType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Distance_PropertyType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence minOccurs="0"> <element ref="{http://www.isotc211.org/2005/gco}Distance"/> </sequence> <attribute ref="{http://www.isotc211.org/2005/gco}nilReason"/> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected LengthTypedistanceprotected List<String>nilReason
-
Constructor Summary
Constructors Constructor Description DistancePropertyType()Default no-arg constructorDistancePropertyType(LengthType distance, List<String> nilReason)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)LengthTypegetDistance()Gets the value of the distance property.List<String>getNilReason()Gets the value of the nilReason property.inthashCode()inthashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)booleanisSetDistance()booleanisSetNilReason()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)voidsetDistance(LengthType value)Sets the value of the distance property.voidsetNilReason(List<String> value)StringtoString()voidunsetNilReason()DistancePropertyTypewithDistance(LengthType value)DistancePropertyTypewithNilReason(String... values)DistancePropertyTypewithNilReason(Collection<String> values)DistancePropertyTypewithNilReason(List<String> value)
-
-
-
Field Detail
-
distance
protected LengthType distance
-
-
Constructor Detail
-
DistancePropertyType
public DistancePropertyType()
Default no-arg constructor
-
DistancePropertyType
public DistancePropertyType(LengthType distance, List<String> nilReason)
Fully-initialising value constructor
-
-
Method Detail
-
getDistance
public LengthType getDistance()
Gets the value of the distance property.- Returns:
- possible object is
LengthType
-
setDistance
public void setDistance(LengthType value)
Sets the value of the distance property.- Parameters:
value- allowed object isLengthType
-
isSetDistance
public boolean isSetDistance()
-
getNilReason
public List<String> getNilReason()
Gets the value of the nilReason 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 nilReason property.For example, to add a new item, do as follows:
getNilReason().add(newItem);Objects of the following type(s) are allowed in the list
String
-
isSetNilReason
public boolean isSetNilReason()
-
unsetNilReason
public void unsetNilReason()
-
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
-
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
-
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
-
hashCode
public int hashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb.lang.HashCode
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo
-
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
-
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
-
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
-
withDistance
public DistancePropertyType withDistance(LengthType value)
-
withNilReason
public DistancePropertyType withNilReason(String... values)
-
withNilReason
public DistancePropertyType withNilReason(Collection<String> values)
-
withNilReason
public DistancePropertyType withNilReason(List<String> value)
-
-