Class GenericAttributeSetType
- java.lang.Object
-
- net.opengis.citygml.generics.v_2_0.AbstractGenericAttributeType
-
- net.opengis.citygml.generics.v_2_0.GenericAttributeSetType
-
- 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 GenericAttributeSetType extends AbstractGenericAttributeType 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
Set of generic attributes with an optional codeSpace. If the codeSpace attribute is present, then its value should identify an authority for the set, such as the organisation or community who defined its content. The generic attribute set may contain arbitrary generic attributes.Java class for GenericAttributeSetType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="GenericAttributeSetType"> <complexContent> <extension base="{http://www.opengis.net/citygml/generics/2.0}AbstractGenericAttributeType"> <sequence> <element ref="{http://www.opengis.net/citygml/generics/2.0}_genericAttribute" maxOccurs="unbounded"/> </sequence> <attribute name="codeSpace" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected StringcodeSpaceprotected List<jakarta.xml.bind.JAXBElement<? extends AbstractGenericAttributeType>>genericAttribute-
Fields inherited from class net.opengis.citygml.generics.v_2_0.AbstractGenericAttributeType
name
-
-
Constructor Summary
Constructors Constructor Description GenericAttributeSetType()Default no-arg constructorGenericAttributeSetType(String name, List<jakarta.xml.bind.JAXBElement<? extends AbstractGenericAttributeType>> genericAttribute, String codeSpace)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)StringgetCodeSpace()Gets the value of the codeSpace property.List<jakarta.xml.bind.JAXBElement<? extends AbstractGenericAttributeType>>getGenericAttribute()Gets the value of the genericAttribute property.inthashCode()inthashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)booleanisSetCodeSpace()booleanisSetGenericAttribute()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)voidsetCodeSpace(String value)Sets the value of the codeSpace property.voidsetGenericAttribute(List<jakarta.xml.bind.JAXBElement<? extends AbstractGenericAttributeType>> value)StringtoString()voidunsetGenericAttribute()GenericAttributeSetTypewithCodeSpace(String value)GenericAttributeSetTypewithGenericAttribute(jakarta.xml.bind.JAXBElement<? extends AbstractGenericAttributeType>... values)GenericAttributeSetTypewithGenericAttribute(Collection<jakarta.xml.bind.JAXBElement<? extends AbstractGenericAttributeType>> values)GenericAttributeSetTypewithGenericAttribute(List<jakarta.xml.bind.JAXBElement<? extends AbstractGenericAttributeType>> value)GenericAttributeSetTypewithName(String value)-
Methods inherited from class net.opengis.citygml.generics.v_2_0.AbstractGenericAttributeType
getName, isSetName, setName
-
-
-
-
Field Detail
-
genericAttribute
protected List<jakarta.xml.bind.JAXBElement<? extends AbstractGenericAttributeType>> genericAttribute
-
codeSpace
protected String codeSpace
-
-
Constructor Detail
-
GenericAttributeSetType
public GenericAttributeSetType()
Default no-arg constructor
-
GenericAttributeSetType
public GenericAttributeSetType(String name, List<jakarta.xml.bind.JAXBElement<? extends AbstractGenericAttributeType>> genericAttribute, String codeSpace)
Fully-initialising value constructor
-
-
Method Detail
-
getGenericAttribute
public List<jakarta.xml.bind.JAXBElement<? extends AbstractGenericAttributeType>> getGenericAttribute()
Gets the value of the genericAttribute 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 genericAttribute property.For example, to add a new item, do as follows:
getGenericAttribute().add(newItem);Objects of the following type(s) are allowed in the list
JAXBElement<AbstractGenericAttributeType>JAXBElement<DateAttributeType>JAXBElement<DoubleAttributeType>JAXBElement<GenericAttributeSetType>JAXBElement<IntAttributeType>JAXBElement<MeasureAttributeType>JAXBElement<StringAttributeType>JAXBElement<UriAttributeType>
-
isSetGenericAttribute
public boolean isSetGenericAttribute()
-
unsetGenericAttribute
public void unsetGenericAttribute()
-
getCodeSpace
public String getCodeSpace()
Gets the value of the codeSpace property.- Returns:
- possible object is
String
-
setCodeSpace
public void setCodeSpace(String value)
Sets the value of the codeSpace property.- Parameters:
value- allowed object isString
-
isSetCodeSpace
public boolean isSetCodeSpace()
-
toString
public String toString()
- Overrides:
toStringin classAbstractGenericAttributeType
-
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 classAbstractGenericAttributeType
-
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 classAbstractGenericAttributeType
-
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 classAbstractGenericAttributeType
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classAbstractGenericAttributeType
-
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 classAbstractGenericAttributeType
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractGenericAttributeType
-
clone
public Object clone()
- Overrides:
clonein classAbstractGenericAttributeType
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo- Overrides:
copyToin classAbstractGenericAttributeType
-
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 classAbstractGenericAttributeType
-
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 classAbstractGenericAttributeType
-
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 classAbstractGenericAttributeType
-
setGenericAttribute
public void setGenericAttribute(List<jakarta.xml.bind.JAXBElement<? extends AbstractGenericAttributeType>> value)
-
withGenericAttribute
public GenericAttributeSetType withGenericAttribute(jakarta.xml.bind.JAXBElement<? extends AbstractGenericAttributeType>... values)
-
withGenericAttribute
public GenericAttributeSetType withGenericAttribute(Collection<jakarta.xml.bind.JAXBElement<? extends AbstractGenericAttributeType>> values)
-
withCodeSpace
public GenericAttributeSetType withCodeSpace(String value)
-
withGenericAttribute
public GenericAttributeSetType withGenericAttribute(List<jakarta.xml.bind.JAXBElement<? extends AbstractGenericAttributeType>> value)
-
withName
public GenericAttributeSetType withName(String value)
- Overrides:
withNamein classAbstractGenericAttributeType
-
-