@CodingStyleguideUnaware public class LocationType extends LocationType
Java class for LocationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="LocationType">
<complexContent>
<extension base="{http://www.w3.org/ns/locn#}LocationType">
<sequence>
<element ref="{https://semic.org/sa/cv/cagv/agent-2.0.0#}address" minOccurs="0"/>
</sequence>
<attGroup ref="{https://semic.org/sa/cv/common/cac-2.0.0#}ThingAttributes"/>
</extension>
</complexContent>
</complexType>
This class was annotated by ph-jaxb22-plugin -Xph-annotate
This class contains methods created by ph-jaxb22-plugin -Xph-equalshashcode
This class contains methods created by ph-jaxb22-plugin -Xph-tostring
This class contains methods created by ph-jaxb22-plugin -Xph-list-extension
This class contains methods created by ph-jaxb22-plugin -Xph-cloneable2
This class contains methods created by ph-jaxb22-plugin -Xph-value-extender
| Constructor and Description |
|---|
LocationType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
void |
addRest(JAXBElement<AddressType> elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
LocationType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(LocationType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
List<JAXBElement<AddressType>> |
getRest()
Gets the rest of the content model.
|
JAXBElement<AddressType> |
getRestAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getRestCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
String |
getVersionIdAttr()
Gets the value of the versionIdAttr property.
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasNoRestEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasRestEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setRest(List<JAXBElement<AddressType>> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setVersionIdAttr(String value)
Sets the value of the versionIdAttr property.
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
cloneTo, getAddress, setAddresspublic LocationType()
@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<JAXBElement<AddressType>> getRest()
You are getting this "catch-all" property because of the following reason: The field name "Address" is used by two different parts of a schema. See: line 211 of file:/C:/dev/git/toop-commons-ng/target/checkout/toop-edm/src/main/resources/schemas/CV-Agent.xsd line 61 of file:/C:/dev/git/toop-commons-ng/target/checkout/toop-edm/src/main/resources/schemas/locn.xsd
To get rid of this property, apply a property customization to one of both of the following declarations to change their names: Gets the value of the rest 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 rest property.
For example, to add a new item, do as follows:
getRest().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement<AddressType>
@Nullable public String getVersionIdAttr()
Stringpublic void setVersionIdAttr(@Nullable String value)
value - allowed object is
Stringpublic boolean equals(Object o)
equals in class LocationTypepublic int hashCode()
hashCode in class LocationTypepublic String toString()
toString in class LocationTypepublic void setRest(@Nullable List<JAXBElement<AddressType>> aList)
aList - The new list member to set. May be null.public boolean hasRestEntries()
true if at least one item is contained, false otherwise.public boolean hasNoRestEntries()
true if no item is contained, false otherwise.@Nonnegative public int getRestCount()
@Nullable public JAXBElement<AddressType> getRestAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addRest(@Nonnull JAXBElement<AddressType> elem)
elem - The element to be added. May not be null.public void cloneTo(@Nonnull LocationType ret)
this to the passed object. All data in the parameter object is overwritten!Created by ph-jaxb22-plugin -Xph-cloneable2ret - The target object to clone to. May not be null.@Nonnull @ReturnsMutableCopy public LocationType clone()
clone in interface com.helger.commons.lang.IExplicitlyCloneableclone in class LocationTypenull.Copyright © 2020 toop.eu. All rights reserved.