Class AppearanceType
- java.lang.Object
-
- net.opengis.gml.v_3_1_1.AbstractGMLType
-
- net.opengis.gml.v_3_1_1.AbstractFeatureType
-
- net.opengis.citygml.appearance.v_2_0.AppearanceType
-
- 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 AppearanceType extends AbstractFeatureType 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
Named container for all surface data (texture/material). All appearances of the same name ("theme") within a CityGML file are considered a group.Java class for AppearanceType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AppearanceType"> <complexContent> <extension base="{http://www.opengis.net/gml}AbstractFeatureType"> <sequence> <element name="theme" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="surfaceDataMember" type="{http://www.opengis.net/citygml/appearance/2.0}SurfaceDataPropertyType" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.opengis.net/citygml/appearance/2.0}_GenericApplicationPropertyOfAppearance" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Object>genericApplicationPropertyOfAppearanceprotected List<SurfaceDataPropertyType>surfaceDataMemberprotected Stringtheme-
Fields inherited from class net.opengis.gml.v_3_1_1.AbstractFeatureType
boundedBy, location
-
Fields inherited from class net.opengis.gml.v_3_1_1.AbstractGMLType
description, id, metaDataProperty, name
-
-
Constructor Summary
Constructors Constructor Description AppearanceType()Default no-arg constructorAppearanceType(String theme, List<SurfaceDataPropertyType> surfaceDataMember, List<Object> genericApplicationPropertyOfAppearance)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)List<Object>getGenericApplicationPropertyOfAppearance()Gets the value of the genericApplicationPropertyOfAppearance property.List<SurfaceDataPropertyType>getSurfaceDataMember()Gets the value of the surfaceDataMember property.StringgetTheme()Gets the value of the theme property.inthashCode()inthashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)booleanisSetGenericApplicationPropertyOfAppearance()booleanisSetSurfaceDataMember()booleanisSetTheme()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)voidsetGenericApplicationPropertyOfAppearance(List<Object> value)voidsetSurfaceDataMember(List<SurfaceDataPropertyType> value)voidsetTheme(String value)Sets the value of the theme property.StringtoString()voidunsetGenericApplicationPropertyOfAppearance()voidunsetSurfaceDataMember()AppearanceTypewithGenericApplicationPropertyOfAppearance(Object... values)AppearanceTypewithGenericApplicationPropertyOfAppearance(Collection<Object> values)AppearanceTypewithGenericApplicationPropertyOfAppearance(List<Object> value)AppearanceTypewithSurfaceDataMember(Collection<SurfaceDataPropertyType> values)AppearanceTypewithSurfaceDataMember(List<SurfaceDataPropertyType> value)AppearanceTypewithSurfaceDataMember(SurfaceDataPropertyType... values)AppearanceTypewithTheme(String value)-
Methods inherited from class net.opengis.gml.v_3_1_1.AbstractFeatureType
getBoundedBy, getLocation, isSetBoundedBy, isSetLocation, setBoundedBy, setLocation, withBoundedBy, withDescription, withId, withLocation, withMetaDataProperty, withMetaDataProperty, withMetaDataProperty, withName, withName, withName
-
Methods inherited from class net.opengis.gml.v_3_1_1.AbstractGMLType
getDescription, getId, getMetaDataProperty, getName, isSetDescription, isSetId, isSetMetaDataProperty, isSetName, setDescription, setId, setMetaDataProperty, setName, unsetMetaDataProperty, unsetName
-
-
-
-
Field Detail
-
theme
protected String theme
-
surfaceDataMember
protected List<SurfaceDataPropertyType> surfaceDataMember
-
-
Constructor Detail
-
AppearanceType
public AppearanceType()
Default no-arg constructor
-
AppearanceType
public AppearanceType(String theme, List<SurfaceDataPropertyType> surfaceDataMember, List<Object> genericApplicationPropertyOfAppearance)
Fully-initialising value constructor
-
-
Method Detail
-
getTheme
public String getTheme()
Gets the value of the theme property.- Returns:
- possible object is
String
-
setTheme
public void setTheme(String value)
Sets the value of the theme property.- Parameters:
value- allowed object isString
-
isSetTheme
public boolean isSetTheme()
-
getSurfaceDataMember
public List<SurfaceDataPropertyType> getSurfaceDataMember()
Gets the value of the surfaceDataMember 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 surfaceDataMember property.For example, to add a new item, do as follows:
getSurfaceDataMember().add(newItem);Objects of the following type(s) are allowed in the list
SurfaceDataPropertyType
-
isSetSurfaceDataMember
public boolean isSetSurfaceDataMember()
-
unsetSurfaceDataMember
public void unsetSurfaceDataMember()
-
getGenericApplicationPropertyOfAppearance
public List<Object> getGenericApplicationPropertyOfAppearance()
Gets the value of the genericApplicationPropertyOfAppearance 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 genericApplicationPropertyOfAppearance property.For example, to add a new item, do as follows:
getGenericApplicationPropertyOfAppearance().add(newItem);Objects of the following type(s) are allowed in the list
Object
-
isSetGenericApplicationPropertyOfAppearance
public boolean isSetGenericApplicationPropertyOfAppearance()
-
unsetGenericApplicationPropertyOfAppearance
public void unsetGenericApplicationPropertyOfAppearance()
-
toString
public String toString()
- Overrides:
toStringin classAbstractFeatureType
-
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 classAbstractFeatureType
-
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 classAbstractFeatureType
-
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 classAbstractFeatureType
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classAbstractFeatureType
-
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 classAbstractFeatureType
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractFeatureType
-
clone
public Object clone()
- Overrides:
clonein classAbstractFeatureType
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo- Overrides:
copyToin classAbstractFeatureType
-
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 classAbstractFeatureType
-
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 classAbstractFeatureType
-
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 classAbstractFeatureType
-
setSurfaceDataMember
public void setSurfaceDataMember(List<SurfaceDataPropertyType> value)
-
setGenericApplicationPropertyOfAppearance
public void setGenericApplicationPropertyOfAppearance(List<Object> value)
-
withTheme
public AppearanceType withTheme(String value)
-
withSurfaceDataMember
public AppearanceType withSurfaceDataMember(SurfaceDataPropertyType... values)
-
withSurfaceDataMember
public AppearanceType withSurfaceDataMember(Collection<SurfaceDataPropertyType> values)
-
withGenericApplicationPropertyOfAppearance
public AppearanceType withGenericApplicationPropertyOfAppearance(Object... values)
-
withGenericApplicationPropertyOfAppearance
public AppearanceType withGenericApplicationPropertyOfAppearance(Collection<Object> values)
-
withSurfaceDataMember
public AppearanceType withSurfaceDataMember(List<SurfaceDataPropertyType> value)
-
withGenericApplicationPropertyOfAppearance
public AppearanceType withGenericApplicationPropertyOfAppearance(List<Object> value)
-
-