de.micromata.opengis.kml.v_2_2_0.xal
Class Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberTo
java.lang.Object
de.micromata.opengis.kml.v_2_2_0.xal.Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberTo
All Implemented Interfaces: java.lang.Cloneable
Enclosing class: Thoroughfare.ThoroughfareNumberRange
public static class Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberTo extends java.lang.Objectimplements java.lang.Cloneable
Field Summary
protected java.lang.String
code
protected java.util.List<java.lang.Object>
content
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
content
protected java.util.List<java.lang.Object> content
code
protected java.lang.String code
Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberTo
public Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberTo ()
getContent
public java.util.List<java.lang.Object> getContent ()
getCode
public java.lang.String getCode ()
Returns: possible object is
String
setCode
public void setCode (java.lang.String value)
Parameters: value
- allowed object is
String
getOtherAttributes
public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes ()
Returns: always non-null
hashCode
public int hashCode ()
Overrides: hashCode
in class java.lang.Object
equals
public boolean equals (java.lang.Object obj)
Overrides: equals
in class java.lang.Object
setContent
public void setContent (java.util.List<java.lang.Object> content)
Sets the value of the content property Objects of the following type(s) are allowed in the list List.
Note:
This method does not make use of the fluent pattern.If you would like to make it fluent, use withContent(java.util.List)
instead.
Parameters: content
-
addToContent
public Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberTo addToContent (java.lang.Object content)
add a value to the content property collection
Parameters: content
- Objects of the following type are allowed in the list: ThoroughfareNumberPrefix
String
ThoroughfareNumberSuffix
ThoroughfareNumber
AddressLine
Returns: true (as general contract of Collection.add ).
withContent
public Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberTo withContent (java.util.List<java.lang.Object> content)
fluent setter
Parameters: content
- required parameterSee Also: #setContent(List)
withCode
public Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberTo withCode (java.lang.String code)
fluent setter
Parameters: code
- required parameterSee Also: setCode(String)
clone
public Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberTo clone ()
Overrides: clone
in class java.lang.Object