public class ReferenceType extends Object
Java class for ReferenceType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ReferenceType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attGroup ref="{http://www.opengis.net/gml/3.2}AssociationAttributeGroup"/>
<attGroup ref="{http://www.opengis.net/gml/3.2}OwnershipAttributeGroup"/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
nilReason |
protected Boolean |
owns |
| Constructor and Description |
|---|
ReferenceType() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getNilReason()
Gets the value of the nilReason property.
|
boolean |
isOwns()
Gets the value of the owns property.
|
void |
setOwns(Boolean value)
Sets the value of the owns property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
ReferenceType |
withNilReason(Collection<String> values) |
ReferenceType |
withNilReason(String... values) |
ReferenceType |
withOwns(Boolean value) |
public List<String> getNilReason()
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 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
public boolean isOwns()
Booleanpublic void setOwns(Boolean value)
value - allowed object is
Booleanpublic ReferenceType withNilReason(String... values)
public ReferenceType withNilReason(Collection<String> values)
public ReferenceType withOwns(Boolean value)
Copyright © 2018 Entur AS. All rights reserved.