net.opengis.citygml.cityobjectgroup.v_2_0.CityObjectGroupParentType Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2016.02.26 at 04:41:00 PM AST
//
package net.opengis.citygml.cityobjectgroup.v_2_0;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import net.opengis.citygml.bridge.v_2_0.AbstractBridgeType;
import net.opengis.citygml.bridge.v_2_0.BridgeConstructionElementType;
import net.opengis.citygml.bridge.v_2_0.BridgeFurnitureType;
import net.opengis.citygml.bridge.v_2_0.BridgeInstallationType;
import net.opengis.citygml.bridge.v_2_0.BridgePartType;
import net.opengis.citygml.bridge.v_2_0.BridgeRoomType;
import net.opengis.citygml.bridge.v_2_0.BridgeType;
import net.opengis.citygml.bridge.v_2_0.IntBridgeInstallationType;
import net.opengis.citygml.building.v_2_0.AbstractBuildingType;
import net.opengis.citygml.building.v_2_0.BuildingFurnitureType;
import net.opengis.citygml.building.v_2_0.BuildingInstallationType;
import net.opengis.citygml.building.v_2_0.BuildingPartType;
import net.opengis.citygml.building.v_2_0.BuildingType;
import net.opengis.citygml.building.v_2_0.IntBuildingInstallationType;
import net.opengis.citygml.building.v_2_0.RoomType;
import net.opengis.citygml.cityfurniture.v_2_0.CityFurnitureType;
import net.opengis.citygml.generics.v_2_0.GenericCityObjectType;
import net.opengis.citygml.landuse.v_2_0.LandUseType;
import net.opengis.citygml.relief.v_2_0.AbstractReliefComponentType;
import net.opengis.citygml.relief.v_2_0.BreaklineReliefType;
import net.opengis.citygml.relief.v_2_0.MassPointReliefType;
import net.opengis.citygml.relief.v_2_0.RasterReliefType;
import net.opengis.citygml.relief.v_2_0.ReliefFeatureType;
import net.opengis.citygml.relief.v_2_0.TINReliefType;
import net.opengis.citygml.transportation.v_2_0.AbstractTransportationObjectType;
import net.opengis.citygml.transportation.v_2_0.AuxiliaryTrafficAreaType;
import net.opengis.citygml.transportation.v_2_0.RailwayType;
import net.opengis.citygml.transportation.v_2_0.RoadType;
import net.opengis.citygml.transportation.v_2_0.SquareType;
import net.opengis.citygml.transportation.v_2_0.TrackType;
import net.opengis.citygml.transportation.v_2_0.TrafficAreaType;
import net.opengis.citygml.transportation.v_2_0.TransportationComplexType;
import net.opengis.citygml.tunnel.v_2_0.AbstractTunnelType;
import net.opengis.citygml.tunnel.v_2_0.HollowSpaceType;
import net.opengis.citygml.tunnel.v_2_0.IntTunnelInstallationType;
import net.opengis.citygml.tunnel.v_2_0.TunnelFurnitureType;
import net.opengis.citygml.tunnel.v_2_0.TunnelInstallationType;
import net.opengis.citygml.tunnel.v_2_0.TunnelPartType;
import net.opengis.citygml.tunnel.v_2_0.TunnelType;
import net.opengis.citygml.v_2_0.AbstractCityObjectType;
import net.opengis.citygml.v_2_0.AbstractSiteType;
import net.opengis.citygml.vegetation.v_2_0.AbstractVegetationObjectType;
import net.opengis.citygml.vegetation.v_2_0.PlantCoverType;
import net.opengis.citygml.vegetation.v_2_0.SolitaryVegetationObjectType;
import net.opengis.citygml.waterbody.v_2_0.AbstractWaterBoundarySurfaceType;
import net.opengis.citygml.waterbody.v_2_0.AbstractWaterObjectType;
import net.opengis.citygml.waterbody.v_2_0.WaterBodyType;
import net.opengis.citygml.waterbody.v_2_0.WaterClosureSurfaceType;
import net.opengis.citygml.waterbody.v_2_0.WaterGroundSurfaceType;
import net.opengis.citygml.waterbody.v_2_0.WaterSurfaceType;
import org.hisrc.w3c.xlink.v_1_0.ActuateType;
import org.hisrc.w3c.xlink.v_1_0.ShowType;
import org.hisrc.w3c.xlink.v_1_0.TypeType;
import org.jvnet.jaxb2_commons.lang.CopyStrategy2;
import org.jvnet.jaxb2_commons.lang.CopyTo2;
import org.jvnet.jaxb2_commons.lang.Equals2;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy2;
import org.jvnet.jaxb2_commons.lang.HashCode2;
import org.jvnet.jaxb2_commons.lang.HashCodeStrategy2;
import org.jvnet.jaxb2_commons.lang.JAXBCopyStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBMergeStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
import org.jvnet.jaxb2_commons.lang.MergeFrom2;
import org.jvnet.jaxb2_commons.lang.MergeStrategy2;
import org.jvnet.jaxb2_commons.lang.ToString2;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy2;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;
/**
* Denotes the relation of a CityObjectGroup to its parent, which is a CityObject. The
* CityObjectGroupParentType element must either carry a reference to a _CityObject object or contain a _CityObject object
* inline, but neither both nor none. The parent association allows for modelling of a generic hierarchical grouping concept.
* Named aggregations of components (CityObjects) can be added to specific CityObjects considered as the parent object. The
* parent association links to the aggregate, while the parts are given by the group members.
*
* Java class for CityObjectGroupParentType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CityObjectGroupParentType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence minOccurs="0">
* <element ref="{http://www.opengis.net/citygml/2.0}_CityObject"/>
* </sequence>
* <attGroup ref="{http://www.opengis.net/gml}AssociationAttributeGroup"/>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CityObjectGroupParentType", propOrder = {
"cityObject"
})
public class CityObjectGroupParentType implements Cloneable, CopyTo2, Equals2, HashCode2, MergeFrom2, ToString2
{
@XmlElementRef(name = "_CityObject", namespace = "http://www.opengis.net/citygml/2.0", type = JAXBElement.class, required = false)
protected JAXBElement cityObject;
@XmlAttribute(name = "remoteSchema", namespace = "http://www.opengis.net/gml")
@XmlSchemaType(name = "anyURI")
protected String remoteSchema;
@XmlAttribute(name = "type", namespace = "http://www.w3.org/1999/xlink")
protected TypeType type;
@XmlAttribute(name = "href", namespace = "http://www.w3.org/1999/xlink")
protected String href;
@XmlAttribute(name = "role", namespace = "http://www.w3.org/1999/xlink")
protected String role;
@XmlAttribute(name = "arcrole", namespace = "http://www.w3.org/1999/xlink")
protected String arcrole;
@XmlAttribute(name = "title", namespace = "http://www.w3.org/1999/xlink")
protected String title;
@XmlAttribute(name = "show", namespace = "http://www.w3.org/1999/xlink")
protected ShowType show;
@XmlAttribute(name = "actuate", namespace = "http://www.w3.org/1999/xlink")
protected ActuateType actuate;
/**
* Gets the value of the cityObject property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.bridge.v_2_0.WallSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link BuildingInstallationType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.bridge.v_2_0.OuterCeilingSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link BuildingFurnitureType }{@code >}
* {@link JAXBElement }{@code <}{@link BridgeConstructionElementType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.building.v_2_0.WallSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.tunnel.v_2_0.FloorSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.bridge.v_2_0.DoorType }{@code >}
* {@link JAXBElement }{@code <}{@link AbstractSiteType }{@code >}
* {@link JAXBElement }{@code <}{@link PlantCoverType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.tunnel.v_2_0.InteriorWallSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link AbstractReliefComponentType }{@code >}
* {@link JAXBElement }{@code <}{@link RoadType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.building.v_2_0.OuterCeilingSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link WaterBodyType }{@code >}
* {@link JAXBElement }{@code <}{@link IntBridgeInstallationType }{@code >}
* {@link JAXBElement }{@code <}{@link SolitaryVegetationObjectType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.tunnel.v_2_0.WallSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.bridge.v_2_0.AbstractBoundarySurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link MassPointReliefType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.building.v_2_0.FloorSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.building.v_2_0.DoorType }{@code >}
* {@link JAXBElement }{@code <}{@link IntTunnelInstallationType }{@code >}
* {@link JAXBElement }{@code <}{@link GenericCityObjectType }{@code >}
* {@link JAXBElement }{@code <}{@link TINReliefType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.tunnel.v_2_0.OuterFloorSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.bridge.v_2_0.AbstractOpeningType }{@code >}
* {@link JAXBElement }{@code <}{@link TunnelFurnitureType }{@code >}
* {@link JAXBElement }{@code <}{@link AbstractTunnelType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.bridge.v_2_0.GroundSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.bridge.v_2_0.RoofSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.bridge.v_2_0.OuterFloorSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link ReliefFeatureType }{@code >}
* {@link JAXBElement }{@code <}{@link RoomType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.building.v_2_0.WindowType }{@code >}
* {@link JAXBElement }{@code <}{@link BuildingType }{@code >}
* {@link JAXBElement }{@code <}{@link TunnelType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.building.v_2_0.CeilingSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.tunnel.v_2_0.AbstractOpeningType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.bridge.v_2_0.ClosureSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link TrackType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.building.v_2_0.InteriorWallSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link TunnelInstallationType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.tunnel.v_2_0.GroundSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link AbstractWaterObjectType }{@code >}
* {@link JAXBElement }{@code <}{@link AbstractCityObjectType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.building.v_2_0.ClosureSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.building.v_2_0.RoofSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.building.v_2_0.AbstractBoundarySurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.tunnel.v_2_0.RoofSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.bridge.v_2_0.WindowType }{@code >}
* {@link JAXBElement }{@code <}{@link SquareType }{@code >}
* {@link JAXBElement }{@code <}{@link TransportationComplexType }{@code >}
* {@link JAXBElement }{@code <}{@link AbstractWaterBoundarySurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link BridgeFurnitureType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.tunnel.v_2_0.OuterCeilingSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link BuildingPartType }{@code >}
* {@link JAXBElement }{@code <}{@link WaterSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.tunnel.v_2_0.DoorType }{@code >}
* {@link JAXBElement }{@code <}{@link HollowSpaceType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.building.v_2_0.GroundSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link AbstractBuildingType }{@code >}
* {@link JAXBElement }{@code <}{@link RasterReliefType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.bridge.v_2_0.CeilingSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link RailwayType }{@code >}
* {@link JAXBElement }{@code <}{@link BridgeType }{@code >}
* {@link JAXBElement }{@code <}{@link TunnelPartType }{@code >}
* {@link JAXBElement }{@code <}{@link IntBuildingInstallationType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.tunnel.v_2_0.CeilingSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link CityObjectGroupType }{@code >}
* {@link JAXBElement }{@code <}{@link BridgeInstallationType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.bridge.v_2_0.InteriorWallSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link BridgeRoomType }{@code >}
* {@link JAXBElement }{@code <}{@link BreaklineReliefType }{@code >}
* {@link JAXBElement }{@code <}{@link TrafficAreaType }{@code >}
* {@link JAXBElement }{@code <}{@link AbstractBridgeType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.tunnel.v_2_0.WindowType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.bridge.v_2_0.FloorSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.tunnel.v_2_0.AbstractBoundarySurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link WaterClosureSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.building.v_2_0.AbstractOpeningType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.building.v_2_0.OuterFloorSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link CityFurnitureType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.tunnel.v_2_0.ClosureSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link AbstractTransportationObjectType }{@code >}
* {@link JAXBElement }{@code <}{@link AuxiliaryTrafficAreaType }{@code >}
* {@link JAXBElement }{@code <}{@link BridgePartType }{@code >}
* {@link JAXBElement }{@code <}{@link WaterGroundSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link LandUseType }{@code >}
* {@link JAXBElement }{@code <}{@link AbstractVegetationObjectType }{@code >}
*
*/
public JAXBElement getCityObject() {
return cityObject;
}
/**
* Sets the value of the cityObject property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.bridge.v_2_0.WallSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link BuildingInstallationType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.bridge.v_2_0.OuterCeilingSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link BuildingFurnitureType }{@code >}
* {@link JAXBElement }{@code <}{@link BridgeConstructionElementType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.building.v_2_0.WallSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.tunnel.v_2_0.FloorSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.bridge.v_2_0.DoorType }{@code >}
* {@link JAXBElement }{@code <}{@link AbstractSiteType }{@code >}
* {@link JAXBElement }{@code <}{@link PlantCoverType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.tunnel.v_2_0.InteriorWallSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link AbstractReliefComponentType }{@code >}
* {@link JAXBElement }{@code <}{@link RoadType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.building.v_2_0.OuterCeilingSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link WaterBodyType }{@code >}
* {@link JAXBElement }{@code <}{@link IntBridgeInstallationType }{@code >}
* {@link JAXBElement }{@code <}{@link SolitaryVegetationObjectType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.tunnel.v_2_0.WallSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.bridge.v_2_0.AbstractBoundarySurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link MassPointReliefType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.building.v_2_0.FloorSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.building.v_2_0.DoorType }{@code >}
* {@link JAXBElement }{@code <}{@link IntTunnelInstallationType }{@code >}
* {@link JAXBElement }{@code <}{@link GenericCityObjectType }{@code >}
* {@link JAXBElement }{@code <}{@link TINReliefType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.tunnel.v_2_0.OuterFloorSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.bridge.v_2_0.AbstractOpeningType }{@code >}
* {@link JAXBElement }{@code <}{@link TunnelFurnitureType }{@code >}
* {@link JAXBElement }{@code <}{@link AbstractTunnelType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.bridge.v_2_0.GroundSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.bridge.v_2_0.RoofSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.bridge.v_2_0.OuterFloorSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link ReliefFeatureType }{@code >}
* {@link JAXBElement }{@code <}{@link RoomType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.building.v_2_0.WindowType }{@code >}
* {@link JAXBElement }{@code <}{@link BuildingType }{@code >}
* {@link JAXBElement }{@code <}{@link TunnelType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.building.v_2_0.CeilingSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.tunnel.v_2_0.AbstractOpeningType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.bridge.v_2_0.ClosureSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link TrackType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.building.v_2_0.InteriorWallSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link TunnelInstallationType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.tunnel.v_2_0.GroundSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link AbstractWaterObjectType }{@code >}
* {@link JAXBElement }{@code <}{@link AbstractCityObjectType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.building.v_2_0.ClosureSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.building.v_2_0.RoofSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.building.v_2_0.AbstractBoundarySurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.tunnel.v_2_0.RoofSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.bridge.v_2_0.WindowType }{@code >}
* {@link JAXBElement }{@code <}{@link SquareType }{@code >}
* {@link JAXBElement }{@code <}{@link TransportationComplexType }{@code >}
* {@link JAXBElement }{@code <}{@link AbstractWaterBoundarySurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link BridgeFurnitureType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.tunnel.v_2_0.OuterCeilingSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link BuildingPartType }{@code >}
* {@link JAXBElement }{@code <}{@link WaterSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.tunnel.v_2_0.DoorType }{@code >}
* {@link JAXBElement }{@code <}{@link HollowSpaceType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.building.v_2_0.GroundSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link AbstractBuildingType }{@code >}
* {@link JAXBElement }{@code <}{@link RasterReliefType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.bridge.v_2_0.CeilingSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link RailwayType }{@code >}
* {@link JAXBElement }{@code <}{@link BridgeType }{@code >}
* {@link JAXBElement }{@code <}{@link TunnelPartType }{@code >}
* {@link JAXBElement }{@code <}{@link IntBuildingInstallationType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.tunnel.v_2_0.CeilingSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link CityObjectGroupType }{@code >}
* {@link JAXBElement }{@code <}{@link BridgeInstallationType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.bridge.v_2_0.InteriorWallSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link BridgeRoomType }{@code >}
* {@link JAXBElement }{@code <}{@link BreaklineReliefType }{@code >}
* {@link JAXBElement }{@code <}{@link TrafficAreaType }{@code >}
* {@link JAXBElement }{@code <}{@link AbstractBridgeType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.tunnel.v_2_0.WindowType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.bridge.v_2_0.FloorSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.tunnel.v_2_0.AbstractBoundarySurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link WaterClosureSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.building.v_2_0.AbstractOpeningType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.building.v_2_0.OuterFloorSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link CityFurnitureType }{@code >}
* {@link JAXBElement }{@code <}{@link net.opengis.citygml.tunnel.v_2_0.ClosureSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link AbstractTransportationObjectType }{@code >}
* {@link JAXBElement }{@code <}{@link AuxiliaryTrafficAreaType }{@code >}
* {@link JAXBElement }{@code <}{@link BridgePartType }{@code >}
* {@link JAXBElement }{@code <}{@link WaterGroundSurfaceType }{@code >}
* {@link JAXBElement }{@code <}{@link LandUseType }{@code >}
* {@link JAXBElement }{@code <}{@link AbstractVegetationObjectType }{@code >}
*
*/
public void setCityObject(JAXBElement value) {
this.cityObject = value;
}
public boolean isSetCityObject() {
return (this.cityObject!= null);
}
/**
* Gets the value of the remoteSchema property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRemoteSchema() {
return remoteSchema;
}
/**
* Sets the value of the remoteSchema property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRemoteSchema(String value) {
this.remoteSchema = value;
}
public boolean isSetRemoteSchema() {
return (this.remoteSchema!= null);
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link TypeType }
*
*/
public TypeType getTYPE() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link TypeType }
*
*/
public void setTYPE(TypeType value) {
this.type = value;
}
public boolean isSetTYPE() {
return (this.type!= null);
}
/**
* Gets the value of the href property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHref() {
return href;
}
/**
* Sets the value of the href property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHref(String value) {
this.href = value;
}
public boolean isSetHref() {
return (this.href!= null);
}
/**
* Gets the value of the role property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRole() {
return role;
}
/**
* Sets the value of the role property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRole(String value) {
this.role = value;
}
public boolean isSetRole() {
return (this.role!= null);
}
/**
* Gets the value of the arcrole property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getArcrole() {
return arcrole;
}
/**
* Sets the value of the arcrole property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setArcrole(String value) {
this.arcrole = value;
}
public boolean isSetArcrole() {
return (this.arcrole!= null);
}
/**
* Gets the value of the title property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTitle() {
return title;
}
/**
* Sets the value of the title property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTitle(String value) {
this.title = value;
}
public boolean isSetTitle() {
return (this.title!= null);
}
/**
* Gets the value of the show property.
*
* @return
* possible object is
* {@link ShowType }
*
*/
public ShowType getShow() {
return show;
}
/**
* Sets the value of the show property.
*
* @param value
* allowed object is
* {@link ShowType }
*
*/
public void setShow(ShowType value) {
this.show = value;
}
public boolean isSetShow() {
return (this.show!= null);
}
/**
* Gets the value of the actuate property.
*
* @return
* possible object is
* {@link ActuateType }
*
*/
public ActuateType getActuate() {
return actuate;
}
/**
* Sets the value of the actuate property.
*
* @param value
* allowed object is
* {@link ActuateType }
*
*/
public void setActuate(ActuateType value) {
this.actuate = value;
}
public boolean isSetActuate() {
return (this.actuate!= null);
}
public String toString() {
final ToStringStrategy2 strategy = JAXBToStringStrategy.INSTANCE;
final StringBuilder buffer = new StringBuilder();
append(null, buffer, strategy);
return buffer.toString();
}
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) {
strategy.appendStart(locator, this, buffer);
appendFields(locator, buffer, strategy);
strategy.appendEnd(locator, this, buffer);
return buffer;
}
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) {
{
JAXBElement theCityObject;
theCityObject = this.getCityObject();
strategy.appendField(locator, this, "cityObject", buffer, theCityObject, this.isSetCityObject());
}
{
String theRemoteSchema;
theRemoteSchema = this.getRemoteSchema();
strategy.appendField(locator, this, "remoteSchema", buffer, theRemoteSchema, this.isSetRemoteSchema());
}
{
TypeType theTYPE;
theTYPE = this.getTYPE();
strategy.appendField(locator, this, "type", buffer, theTYPE, this.isSetTYPE());
}
{
String theHref;
theHref = this.getHref();
strategy.appendField(locator, this, "href", buffer, theHref, this.isSetHref());
}
{
String theRole;
theRole = this.getRole();
strategy.appendField(locator, this, "role", buffer, theRole, this.isSetRole());
}
{
String theArcrole;
theArcrole = this.getArcrole();
strategy.appendField(locator, this, "arcrole", buffer, theArcrole, this.isSetArcrole());
}
{
String theTitle;
theTitle = this.getTitle();
strategy.appendField(locator, this, "title", buffer, theTitle, this.isSetTitle());
}
{
ShowType theShow;
theShow = this.getShow();
strategy.appendField(locator, this, "show", buffer, theShow, this.isSetShow());
}
{
ActuateType theActuate;
theActuate = this.getActuate();
strategy.appendField(locator, this, "actuate", buffer, theActuate, this.isSetActuate());
}
return buffer;
}
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy2 strategy) {
if ((object == null)||(this.getClass()!= object.getClass())) {
return false;
}
if (this == object) {
return true;
}
final CityObjectGroupParentType that = ((CityObjectGroupParentType) object);
{
JAXBElement lhsCityObject;
lhsCityObject = this.getCityObject();
JAXBElement rhsCityObject;
rhsCityObject = that.getCityObject();
if (!strategy.equals(LocatorUtils.property(thisLocator, "cityObject", lhsCityObject), LocatorUtils.property(thatLocator, "cityObject", rhsCityObject), lhsCityObject, rhsCityObject, this.isSetCityObject(), that.isSetCityObject())) {
return false;
}
}
{
String lhsRemoteSchema;
lhsRemoteSchema = this.getRemoteSchema();
String rhsRemoteSchema;
rhsRemoteSchema = that.getRemoteSchema();
if (!strategy.equals(LocatorUtils.property(thisLocator, "remoteSchema", lhsRemoteSchema), LocatorUtils.property(thatLocator, "remoteSchema", rhsRemoteSchema), lhsRemoteSchema, rhsRemoteSchema, this.isSetRemoteSchema(), that.isSetRemoteSchema())) {
return false;
}
}
{
TypeType lhsTYPE;
lhsTYPE = this.getTYPE();
TypeType rhsTYPE;
rhsTYPE = that.getTYPE();
if (!strategy.equals(LocatorUtils.property(thisLocator, "type", lhsTYPE), LocatorUtils.property(thatLocator, "type", rhsTYPE), lhsTYPE, rhsTYPE, this.isSetTYPE(), that.isSetTYPE())) {
return false;
}
}
{
String lhsHref;
lhsHref = this.getHref();
String rhsHref;
rhsHref = that.getHref();
if (!strategy.equals(LocatorUtils.property(thisLocator, "href", lhsHref), LocatorUtils.property(thatLocator, "href", rhsHref), lhsHref, rhsHref, this.isSetHref(), that.isSetHref())) {
return false;
}
}
{
String lhsRole;
lhsRole = this.getRole();
String rhsRole;
rhsRole = that.getRole();
if (!strategy.equals(LocatorUtils.property(thisLocator, "role", lhsRole), LocatorUtils.property(thatLocator, "role", rhsRole), lhsRole, rhsRole, this.isSetRole(), that.isSetRole())) {
return false;
}
}
{
String lhsArcrole;
lhsArcrole = this.getArcrole();
String rhsArcrole;
rhsArcrole = that.getArcrole();
if (!strategy.equals(LocatorUtils.property(thisLocator, "arcrole", lhsArcrole), LocatorUtils.property(thatLocator, "arcrole", rhsArcrole), lhsArcrole, rhsArcrole, this.isSetArcrole(), that.isSetArcrole())) {
return false;
}
}
{
String lhsTitle;
lhsTitle = this.getTitle();
String rhsTitle;
rhsTitle = that.getTitle();
if (!strategy.equals(LocatorUtils.property(thisLocator, "title", lhsTitle), LocatorUtils.property(thatLocator, "title", rhsTitle), lhsTitle, rhsTitle, this.isSetTitle(), that.isSetTitle())) {
return false;
}
}
{
ShowType lhsShow;
lhsShow = this.getShow();
ShowType rhsShow;
rhsShow = that.getShow();
if (!strategy.equals(LocatorUtils.property(thisLocator, "show", lhsShow), LocatorUtils.property(thatLocator, "show", rhsShow), lhsShow, rhsShow, this.isSetShow(), that.isSetShow())) {
return false;
}
}
{
ActuateType lhsActuate;
lhsActuate = this.getActuate();
ActuateType rhsActuate;
rhsActuate = that.getActuate();
if (!strategy.equals(LocatorUtils.property(thisLocator, "actuate", lhsActuate), LocatorUtils.property(thatLocator, "actuate", rhsActuate), lhsActuate, rhsActuate, this.isSetActuate(), that.isSetActuate())) {
return false;
}
}
return true;
}
public boolean equals(Object object) {
final EqualsStrategy2 strategy = JAXBEqualsStrategy.INSTANCE;
return equals(null, null, object, strategy);
}
public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) {
int currentHashCode = 1;
{
JAXBElement theCityObject;
theCityObject = this.getCityObject();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "cityObject", theCityObject), currentHashCode, theCityObject, this.isSetCityObject());
}
{
String theRemoteSchema;
theRemoteSchema = this.getRemoteSchema();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "remoteSchema", theRemoteSchema), currentHashCode, theRemoteSchema, this.isSetRemoteSchema());
}
{
TypeType theTYPE;
theTYPE = this.getTYPE();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "type", theTYPE), currentHashCode, theTYPE, this.isSetTYPE());
}
{
String theHref;
theHref = this.getHref();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "href", theHref), currentHashCode, theHref, this.isSetHref());
}
{
String theRole;
theRole = this.getRole();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "role", theRole), currentHashCode, theRole, this.isSetRole());
}
{
String theArcrole;
theArcrole = this.getArcrole();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "arcrole", theArcrole), currentHashCode, theArcrole, this.isSetArcrole());
}
{
String theTitle;
theTitle = this.getTitle();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "title", theTitle), currentHashCode, theTitle, this.isSetTitle());
}
{
ShowType theShow;
theShow = this.getShow();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "show", theShow), currentHashCode, theShow, this.isSetShow());
}
{
ActuateType theActuate;
theActuate = this.getActuate();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "actuate", theActuate), currentHashCode, theActuate, this.isSetActuate());
}
return currentHashCode;
}
public int hashCode() {
final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.INSTANCE;
return this.hashCode(null, strategy);
}
public Object clone() {
return copyTo(createNewInstance());
}
public Object copyTo(Object target) {
final CopyStrategy2 strategy = JAXBCopyStrategy.INSTANCE;
return copyTo(null, target, strategy);
}
public Object copyTo(ObjectLocator locator, Object target, CopyStrategy2 strategy) {
final Object draftCopy = ((target == null)?createNewInstance():target);
if (draftCopy instanceof CityObjectGroupParentType) {
final CityObjectGroupParentType copy = ((CityObjectGroupParentType) draftCopy);
{
Boolean cityObjectShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetCityObject());
if (cityObjectShouldBeCopiedAndSet == Boolean.TRUE) {
JAXBElement sourceCityObject;
sourceCityObject = this.getCityObject();
@SuppressWarnings("unchecked")
JAXBElement copyCityObject = ((JAXBElement ) strategy.copy(LocatorUtils.property(locator, "cityObject", sourceCityObject), sourceCityObject, this.isSetCityObject()));
copy.setCityObject(copyCityObject);
} else {
if (cityObjectShouldBeCopiedAndSet == Boolean.FALSE) {
copy.cityObject = null;
}
}
}
{
Boolean remoteSchemaShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetRemoteSchema());
if (remoteSchemaShouldBeCopiedAndSet == Boolean.TRUE) {
String sourceRemoteSchema;
sourceRemoteSchema = this.getRemoteSchema();
String copyRemoteSchema = ((String) strategy.copy(LocatorUtils.property(locator, "remoteSchema", sourceRemoteSchema), sourceRemoteSchema, this.isSetRemoteSchema()));
copy.setRemoteSchema(copyRemoteSchema);
} else {
if (remoteSchemaShouldBeCopiedAndSet == Boolean.FALSE) {
copy.remoteSchema = null;
}
}
}
{
Boolean typeShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetTYPE());
if (typeShouldBeCopiedAndSet == Boolean.TRUE) {
TypeType sourceTYPE;
sourceTYPE = this.getTYPE();
TypeType copyTYPE = ((TypeType) strategy.copy(LocatorUtils.property(locator, "type", sourceTYPE), sourceTYPE, this.isSetTYPE()));
copy.setTYPE(copyTYPE);
} else {
if (typeShouldBeCopiedAndSet == Boolean.FALSE) {
copy.type = null;
}
}
}
{
Boolean hrefShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetHref());
if (hrefShouldBeCopiedAndSet == Boolean.TRUE) {
String sourceHref;
sourceHref = this.getHref();
String copyHref = ((String) strategy.copy(LocatorUtils.property(locator, "href", sourceHref), sourceHref, this.isSetHref()));
copy.setHref(copyHref);
} else {
if (hrefShouldBeCopiedAndSet == Boolean.FALSE) {
copy.href = null;
}
}
}
{
Boolean roleShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetRole());
if (roleShouldBeCopiedAndSet == Boolean.TRUE) {
String sourceRole;
sourceRole = this.getRole();
String copyRole = ((String) strategy.copy(LocatorUtils.property(locator, "role", sourceRole), sourceRole, this.isSetRole()));
copy.setRole(copyRole);
} else {
if (roleShouldBeCopiedAndSet == Boolean.FALSE) {
copy.role = null;
}
}
}
{
Boolean arcroleShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetArcrole());
if (arcroleShouldBeCopiedAndSet == Boolean.TRUE) {
String sourceArcrole;
sourceArcrole = this.getArcrole();
String copyArcrole = ((String) strategy.copy(LocatorUtils.property(locator, "arcrole", sourceArcrole), sourceArcrole, this.isSetArcrole()));
copy.setArcrole(copyArcrole);
} else {
if (arcroleShouldBeCopiedAndSet == Boolean.FALSE) {
copy.arcrole = null;
}
}
}
{
Boolean titleShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetTitle());
if (titleShouldBeCopiedAndSet == Boolean.TRUE) {
String sourceTitle;
sourceTitle = this.getTitle();
String copyTitle = ((String) strategy.copy(LocatorUtils.property(locator, "title", sourceTitle), sourceTitle, this.isSetTitle()));
copy.setTitle(copyTitle);
} else {
if (titleShouldBeCopiedAndSet == Boolean.FALSE) {
copy.title = null;
}
}
}
{
Boolean showShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetShow());
if (showShouldBeCopiedAndSet == Boolean.TRUE) {
ShowType sourceShow;
sourceShow = this.getShow();
ShowType copyShow = ((ShowType) strategy.copy(LocatorUtils.property(locator, "show", sourceShow), sourceShow, this.isSetShow()));
copy.setShow(copyShow);
} else {
if (showShouldBeCopiedAndSet == Boolean.FALSE) {
copy.show = null;
}
}
}
{
Boolean actuateShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetActuate());
if (actuateShouldBeCopiedAndSet == Boolean.TRUE) {
ActuateType sourceActuate;
sourceActuate = this.getActuate();
ActuateType copyActuate = ((ActuateType) strategy.copy(LocatorUtils.property(locator, "actuate", sourceActuate), sourceActuate, this.isSetActuate()));
copy.setActuate(copyActuate);
} else {
if (actuateShouldBeCopiedAndSet == Boolean.FALSE) {
copy.actuate = null;
}
}
}
}
return draftCopy;
}
public Object createNewInstance() {
return new CityObjectGroupParentType();
}
public void mergeFrom(Object left, Object right) {
final MergeStrategy2 strategy = JAXBMergeStrategy.INSTANCE;
mergeFrom(null, null, left, right, strategy);
}
public void mergeFrom(ObjectLocator leftLocator, ObjectLocator rightLocator, Object left, Object right, MergeStrategy2 strategy) {
if (right instanceof CityObjectGroupParentType) {
final CityObjectGroupParentType target = this;
final CityObjectGroupParentType leftObject = ((CityObjectGroupParentType) left);
final CityObjectGroupParentType rightObject = ((CityObjectGroupParentType) right);
{
Boolean cityObjectShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetCityObject(), rightObject.isSetCityObject());
if (cityObjectShouldBeMergedAndSet == Boolean.TRUE) {
JAXBElement lhsCityObject;
lhsCityObject = leftObject.getCityObject();
JAXBElement rhsCityObject;
rhsCityObject = rightObject.getCityObject();
JAXBElement mergedCityObject = ((JAXBElement ) strategy.merge(LocatorUtils.property(leftLocator, "cityObject", lhsCityObject), LocatorUtils.property(rightLocator, "cityObject", rhsCityObject), lhsCityObject, rhsCityObject, leftObject.isSetCityObject(), rightObject.isSetCityObject()));
target.setCityObject(mergedCityObject);
} else {
if (cityObjectShouldBeMergedAndSet == Boolean.FALSE) {
target.cityObject = null;
}
}
}
{
Boolean remoteSchemaShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetRemoteSchema(), rightObject.isSetRemoteSchema());
if (remoteSchemaShouldBeMergedAndSet == Boolean.TRUE) {
String lhsRemoteSchema;
lhsRemoteSchema = leftObject.getRemoteSchema();
String rhsRemoteSchema;
rhsRemoteSchema = rightObject.getRemoteSchema();
String mergedRemoteSchema = ((String) strategy.merge(LocatorUtils.property(leftLocator, "remoteSchema", lhsRemoteSchema), LocatorUtils.property(rightLocator, "remoteSchema", rhsRemoteSchema), lhsRemoteSchema, rhsRemoteSchema, leftObject.isSetRemoteSchema(), rightObject.isSetRemoteSchema()));
target.setRemoteSchema(mergedRemoteSchema);
} else {
if (remoteSchemaShouldBeMergedAndSet == Boolean.FALSE) {
target.remoteSchema = null;
}
}
}
{
Boolean typeShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetTYPE(), rightObject.isSetTYPE());
if (typeShouldBeMergedAndSet == Boolean.TRUE) {
TypeType lhsTYPE;
lhsTYPE = leftObject.getTYPE();
TypeType rhsTYPE;
rhsTYPE = rightObject.getTYPE();
TypeType mergedTYPE = ((TypeType) strategy.merge(LocatorUtils.property(leftLocator, "type", lhsTYPE), LocatorUtils.property(rightLocator, "type", rhsTYPE), lhsTYPE, rhsTYPE, leftObject.isSetTYPE(), rightObject.isSetTYPE()));
target.setTYPE(mergedTYPE);
} else {
if (typeShouldBeMergedAndSet == Boolean.FALSE) {
target.type = null;
}
}
}
{
Boolean hrefShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetHref(), rightObject.isSetHref());
if (hrefShouldBeMergedAndSet == Boolean.TRUE) {
String lhsHref;
lhsHref = leftObject.getHref();
String rhsHref;
rhsHref = rightObject.getHref();
String mergedHref = ((String) strategy.merge(LocatorUtils.property(leftLocator, "href", lhsHref), LocatorUtils.property(rightLocator, "href", rhsHref), lhsHref, rhsHref, leftObject.isSetHref(), rightObject.isSetHref()));
target.setHref(mergedHref);
} else {
if (hrefShouldBeMergedAndSet == Boolean.FALSE) {
target.href = null;
}
}
}
{
Boolean roleShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetRole(), rightObject.isSetRole());
if (roleShouldBeMergedAndSet == Boolean.TRUE) {
String lhsRole;
lhsRole = leftObject.getRole();
String rhsRole;
rhsRole = rightObject.getRole();
String mergedRole = ((String) strategy.merge(LocatorUtils.property(leftLocator, "role", lhsRole), LocatorUtils.property(rightLocator, "role", rhsRole), lhsRole, rhsRole, leftObject.isSetRole(), rightObject.isSetRole()));
target.setRole(mergedRole);
} else {
if (roleShouldBeMergedAndSet == Boolean.FALSE) {
target.role = null;
}
}
}
{
Boolean arcroleShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetArcrole(), rightObject.isSetArcrole());
if (arcroleShouldBeMergedAndSet == Boolean.TRUE) {
String lhsArcrole;
lhsArcrole = leftObject.getArcrole();
String rhsArcrole;
rhsArcrole = rightObject.getArcrole();
String mergedArcrole = ((String) strategy.merge(LocatorUtils.property(leftLocator, "arcrole", lhsArcrole), LocatorUtils.property(rightLocator, "arcrole", rhsArcrole), lhsArcrole, rhsArcrole, leftObject.isSetArcrole(), rightObject.isSetArcrole()));
target.setArcrole(mergedArcrole);
} else {
if (arcroleShouldBeMergedAndSet == Boolean.FALSE) {
target.arcrole = null;
}
}
}
{
Boolean titleShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetTitle(), rightObject.isSetTitle());
if (titleShouldBeMergedAndSet == Boolean.TRUE) {
String lhsTitle;
lhsTitle = leftObject.getTitle();
String rhsTitle;
rhsTitle = rightObject.getTitle();
String mergedTitle = ((String) strategy.merge(LocatorUtils.property(leftLocator, "title", lhsTitle), LocatorUtils.property(rightLocator, "title", rhsTitle), lhsTitle, rhsTitle, leftObject.isSetTitle(), rightObject.isSetTitle()));
target.setTitle(mergedTitle);
} else {
if (titleShouldBeMergedAndSet == Boolean.FALSE) {
target.title = null;
}
}
}
{
Boolean showShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetShow(), rightObject.isSetShow());
if (showShouldBeMergedAndSet == Boolean.TRUE) {
ShowType lhsShow;
lhsShow = leftObject.getShow();
ShowType rhsShow;
rhsShow = rightObject.getShow();
ShowType mergedShow = ((ShowType) strategy.merge(LocatorUtils.property(leftLocator, "show", lhsShow), LocatorUtils.property(rightLocator, "show", rhsShow), lhsShow, rhsShow, leftObject.isSetShow(), rightObject.isSetShow()));
target.setShow(mergedShow);
} else {
if (showShouldBeMergedAndSet == Boolean.FALSE) {
target.show = null;
}
}
}
{
Boolean actuateShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetActuate(), rightObject.isSetActuate());
if (actuateShouldBeMergedAndSet == Boolean.TRUE) {
ActuateType lhsActuate;
lhsActuate = leftObject.getActuate();
ActuateType rhsActuate;
rhsActuate = rightObject.getActuate();
ActuateType mergedActuate = ((ActuateType) strategy.merge(LocatorUtils.property(leftLocator, "actuate", lhsActuate), LocatorUtils.property(rightLocator, "actuate", rhsActuate), lhsActuate, rhsActuate, leftObject.isSetActuate(), rightObject.isSetActuate()));
target.setActuate(mergedActuate);
} else {
if (actuateShouldBeMergedAndSet == Boolean.FALSE) {
target.actuate = null;
}
}
}
}
}
public CityObjectGroupParentType withCityObject(JAXBElement value) {
setCityObject(value);
return this;
}
public CityObjectGroupParentType withRemoteSchema(String value) {
setRemoteSchema(value);
return this;
}
public CityObjectGroupParentType withTYPE(TypeType value) {
setTYPE(value);
return this;
}
public CityObjectGroupParentType withHref(String value) {
setHref(value);
return this;
}
public CityObjectGroupParentType withRole(String value) {
setRole(value);
return this;
}
public CityObjectGroupParentType withArcrole(String value) {
setArcrole(value);
return this;
}
public CityObjectGroupParentType withTitle(String value) {
setTitle(value);
return this;
}
public CityObjectGroupParentType withShow(ShowType value) {
setShow(value);
return this;
}
public CityObjectGroupParentType withActuate(ActuateType value) {
setActuate(value);
return this;
}
}