com.cisco.oss.foundation.configuration.xml.jaxb.HierarchyNode Maven / Gradle / Ivy
Show all versions of configuration-api Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.08.11 at 06:03:39 AM EDT
//
package com.cisco.oss.foundation.configuration.xml.jaxb;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.jvnet.jaxb2_commons.lang.CopyStrategy;
import org.jvnet.jaxb2_commons.lang.CopyTo;
import org.jvnet.jaxb2_commons.lang.Equals;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBCopyStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
import org.jvnet.jaxb2_commons.lang.ToString;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;
/**
* Java class for HierarchyNode complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="HierarchyNode">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="HierarchyNode" type="{}HierarchyNode" maxOccurs="unbounded" minOccurs="0"/>
* <element name="NamespaceParameters" type="{}NamespaceParameters" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="parentId" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="levelName" type="{}HierarchyLevel" />
* <attribute name="levelOrder" type="{http://www.w3.org/2001/XMLSchema}integer" />
* <attribute name="processName" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="installPath" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="ccpEnable" type="{http://www.w3.org/2001/XMLSchema}integer" default="0" />
* <attribute name="ccpSwitchable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
* <attribute name="inSync" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="isRunning" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="fqdn" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="ccpServers" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "HierarchyNode", propOrder = {
"hierarchyNodes",
"namespaceParameters"
})
public class HierarchyNode
implements Cloneable, CopyTo, Equals, ToString
{
@XmlElement(name = "HierarchyNode")
protected List hierarchyNodes;
@XmlElement(name = "NamespaceParameters")
protected List namespaceParameters;
@XmlAttribute(name = "id", required = true)
protected String id;
@XmlAttribute(name = "name", required = true)
protected String name;
@XmlAttribute(name = "parentId")
protected String parentId;
@XmlAttribute(name = "levelName")
protected HierarchyLevel levelName;
@XmlAttribute(name = "levelOrder")
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "integer")
protected Integer levelOrder;
@XmlAttribute(name = "processName")
protected String processName;
@XmlAttribute(name = "installPath")
protected String installPath;
@XmlAttribute(name = "ccpEnable")
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "integer")
protected Integer ccpEnable;
@XmlAttribute(name = "ccpSwitchable")
protected Boolean ccpSwitchable;
@XmlAttribute(name = "inSync")
protected Boolean inSync;
@XmlAttribute(name = "isRunning")
protected Boolean isRunning;
@XmlAttribute(name = "fqdn")
protected String fqdn;
@XmlAttribute(name = "ccpServers")
protected String ccpServers;
/**
* Gets the value of the hierarchyNodes 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 hierarchyNodes property.
*
*
* For example, to add a new item, do as follows:
*
* getHierarchyNodes().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HierarchyNode }
*
*
*/
public List getHierarchyNodes() {
if (hierarchyNodes == null) {
hierarchyNodes = new ArrayList();
}
return this.hierarchyNodes;
}
/**
* Gets the value of the namespaceParameters 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 namespaceParameters property.
*
*
* For example, to add a new item, do as follows:
*
* getNamespaceParameters().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NamespaceParameters }
*
*
*/
public List getNamespaceParameters() {
if (namespaceParameters == null) {
namespaceParameters = new ArrayList();
}
return this.namespaceParameters;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the parentId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getParentId() {
return parentId;
}
/**
* Sets the value of the parentId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setParentId(String value) {
this.parentId = value;
}
/**
* Gets the value of the levelName property.
*
* @return
* possible object is
* {@link HierarchyLevel }
*
*/
public HierarchyLevel getLevelName() {
return levelName;
}
/**
* Sets the value of the levelName property.
*
* @param value
* allowed object is
* {@link HierarchyLevel }
*
*/
public void setLevelName(HierarchyLevel value) {
this.levelName = value;
}
/**
* Gets the value of the levelOrder property.
*
* @return
* possible object is
* {@link String }
*
*/
public Integer getLevelOrder() {
return levelOrder;
}
/**
* Sets the value of the levelOrder property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLevelOrder(Integer value) {
this.levelOrder = value;
}
/**
* Gets the value of the processName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getProcessName() {
return processName;
}
/**
* Sets the value of the processName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setProcessName(String value) {
this.processName = value;
}
/**
* Gets the value of the installPath property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getInstallPath() {
return installPath;
}
/**
* Sets the value of the installPath property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setInstallPath(String value) {
this.installPath = value;
}
/**
* Gets the value of the ccpEnable property.
*
* @return
* possible object is
* {@link String }
*
*/
public Integer getCcpEnable() {
if (ccpEnable == null) {
return new Adapter1().unmarshal("0");
} else {
return ccpEnable;
}
}
/**
* Sets the value of the ccpEnable property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCcpEnable(Integer value) {
this.ccpEnable = value;
}
/**
* Gets the value of the ccpSwitchable property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isCcpSwitchable() {
if (ccpSwitchable == null) {
return true;
} else {
return ccpSwitchable;
}
}
/**
* Sets the value of the ccpSwitchable property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setCcpSwitchable(Boolean value) {
this.ccpSwitchable = value;
}
/**
* Gets the value of the inSync property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isInSync() {
return inSync;
}
/**
* Sets the value of the inSync property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setInSync(Boolean value) {
this.inSync = value;
}
/**
* Gets the value of the isRunning property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isIsRunning() {
return isRunning;
}
/**
* Sets the value of the isRunning property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setIsRunning(Boolean value) {
this.isRunning = value;
}
/**
* Gets the value of the fqdn property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFqdn() {
return fqdn;
}
/**
* Sets the value of the fqdn property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFqdn(String value) {
this.fqdn = value;
}
/**
* Gets the value of the ccpServers property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCcpServers() {
return ccpServers;
}
/**
* Sets the value of the ccpServers property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCcpServers(String value) {
this.ccpServers = value;
}
/**
* Sets the value of the hierarchyNodes property.
*
* @param hierarchyNodes
* allowed object is
* {@link HierarchyNode }
*
*/
public void setHierarchyNodes(List hierarchyNodes) {
this.hierarchyNodes = hierarchyNodes;
}
/**
* Sets the value of the namespaceParameters property.
*
* @param namespaceParameters
* allowed object is
* {@link NamespaceParameters }
*
*/
public void setNamespaceParameters(List namespaceParameters) {
this.namespaceParameters = namespaceParameters;
}
public String toString() {
final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
final StringBuilder buffer = new StringBuilder();
append(null, buffer, strategy);
return buffer.toString();
}
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
strategy.appendStart(locator, this, buffer);
appendFields(locator, buffer, strategy);
strategy.appendEnd(locator, this, buffer);
return buffer;
}
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
{
List theHierarchyNodes;
theHierarchyNodes = (((this.hierarchyNodes!= null)&&(!this.hierarchyNodes.isEmpty()))?this.getHierarchyNodes():null);
strategy.appendField(locator, this, "hierarchyNodes", buffer, theHierarchyNodes);
}
{
List theNamespaceParameters;
theNamespaceParameters = (((this.namespaceParameters!= null)&&(!this.namespaceParameters.isEmpty()))?this.getNamespaceParameters():null);
strategy.appendField(locator, this, "namespaceParameters", buffer, theNamespaceParameters);
}
{
String theId;
theId = this.getId();
strategy.appendField(locator, this, "id", buffer, theId);
}
{
String theName;
theName = this.getName();
strategy.appendField(locator, this, "name", buffer, theName);
}
{
String theParentId;
theParentId = this.getParentId();
strategy.appendField(locator, this, "parentId", buffer, theParentId);
}
{
HierarchyLevel theLevelName;
theLevelName = this.getLevelName();
strategy.appendField(locator, this, "levelName", buffer, theLevelName);
}
{
Integer theLevelOrder;
theLevelOrder = this.getLevelOrder();
strategy.appendField(locator, this, "levelOrder", buffer, theLevelOrder);
}
{
String theProcessName;
theProcessName = this.getProcessName();
strategy.appendField(locator, this, "processName", buffer, theProcessName);
}
{
String theInstallPath;
theInstallPath = this.getInstallPath();
strategy.appendField(locator, this, "installPath", buffer, theInstallPath);
}
{
Integer theCcpEnable;
theCcpEnable = this.getCcpEnable();
strategy.appendField(locator, this, "ccpEnable", buffer, theCcpEnable);
}
{
boolean theCcpSwitchable;
theCcpSwitchable = ((this.ccpSwitchable!= null)?this.isCcpSwitchable():false);
strategy.appendField(locator, this, "ccpSwitchable", buffer, theCcpSwitchable);
}
{
Boolean theInSync;
theInSync = this.isInSync();
strategy.appendField(locator, this, "inSync", buffer, theInSync);
}
{
Boolean theIsRunning;
theIsRunning = this.isIsRunning();
strategy.appendField(locator, this, "isRunning", buffer, theIsRunning);
}
{
String theFqdn;
theFqdn = this.getFqdn();
strategy.appendField(locator, this, "fqdn", buffer, theFqdn);
}
{
String theCcpServers;
theCcpServers = this.getCcpServers();
strategy.appendField(locator, this, "ccpServers", buffer, theCcpServers);
}
return buffer;
}
public Object clone() {
return copyTo(createNewInstance());
}
public Object copyTo(Object target) {
final CopyStrategy strategy = JAXBCopyStrategy.INSTANCE;
return copyTo(null, target, strategy);
}
public Object copyTo(ObjectLocator locator, Object target, CopyStrategy strategy) {
final Object draftCopy = ((target == null)?createNewInstance():target);
if (draftCopy instanceof HierarchyNode) {
final HierarchyNode copy = ((HierarchyNode) draftCopy);
if ((this.hierarchyNodes!= null)&&(!this.hierarchyNodes.isEmpty())) {
List sourceHierarchyNodes;
sourceHierarchyNodes = (((this.hierarchyNodes!= null)&&(!this.hierarchyNodes.isEmpty()))?this.getHierarchyNodes():null);
@SuppressWarnings("unchecked")
List copyHierarchyNodes = ((List ) strategy.copy(LocatorUtils.property(locator, "hierarchyNodes", sourceHierarchyNodes), sourceHierarchyNodes));
copy.setHierarchyNodes(copyHierarchyNodes);
} else {
copy.hierarchyNodes = null;
}
if ((this.namespaceParameters!= null)&&(!this.namespaceParameters.isEmpty())) {
List sourceNamespaceParameters;
sourceNamespaceParameters = (((this.namespaceParameters!= null)&&(!this.namespaceParameters.isEmpty()))?this.getNamespaceParameters():null);
@SuppressWarnings("unchecked")
List copyNamespaceParameters = ((List ) strategy.copy(LocatorUtils.property(locator, "namespaceParameters", sourceNamespaceParameters), sourceNamespaceParameters));
copy.setNamespaceParameters(copyNamespaceParameters);
} else {
copy.namespaceParameters = null;
}
if (this.id!= null) {
String sourceId;
sourceId = this.getId();
String copyId = ((String) strategy.copy(LocatorUtils.property(locator, "id", sourceId), sourceId));
copy.setId(copyId);
} else {
copy.id = null;
}
if (this.name!= null) {
String sourceName;
sourceName = this.getName();
String copyName = ((String) strategy.copy(LocatorUtils.property(locator, "name", sourceName), sourceName));
copy.setName(copyName);
} else {
copy.name = null;
}
if (this.parentId!= null) {
String sourceParentId;
sourceParentId = this.getParentId();
String copyParentId = ((String) strategy.copy(LocatorUtils.property(locator, "parentId", sourceParentId), sourceParentId));
copy.setParentId(copyParentId);
} else {
copy.parentId = null;
}
if (this.levelName!= null) {
HierarchyLevel sourceLevelName;
sourceLevelName = this.getLevelName();
HierarchyLevel copyLevelName = ((HierarchyLevel) strategy.copy(LocatorUtils.property(locator, "levelName", sourceLevelName), sourceLevelName));
copy.setLevelName(copyLevelName);
} else {
copy.levelName = null;
}
if (this.levelOrder!= null) {
Integer sourceLevelOrder;
sourceLevelOrder = this.getLevelOrder();
Integer copyLevelOrder = ((Integer) strategy.copy(LocatorUtils.property(locator, "levelOrder", sourceLevelOrder), sourceLevelOrder));
copy.setLevelOrder(copyLevelOrder);
} else {
copy.levelOrder = null;
}
if (this.processName!= null) {
String sourceProcessName;
sourceProcessName = this.getProcessName();
String copyProcessName = ((String) strategy.copy(LocatorUtils.property(locator, "processName", sourceProcessName), sourceProcessName));
copy.setProcessName(copyProcessName);
} else {
copy.processName = null;
}
if (this.installPath!= null) {
String sourceInstallPath;
sourceInstallPath = this.getInstallPath();
String copyInstallPath = ((String) strategy.copy(LocatorUtils.property(locator, "installPath", sourceInstallPath), sourceInstallPath));
copy.setInstallPath(copyInstallPath);
} else {
copy.installPath = null;
}
if (this.ccpEnable!= null) {
Integer sourceCcpEnable;
sourceCcpEnable = this.getCcpEnable();
Integer copyCcpEnable = ((Integer) strategy.copy(LocatorUtils.property(locator, "ccpEnable", sourceCcpEnable), sourceCcpEnable));
copy.setCcpEnable(copyCcpEnable);
} else {
copy.ccpEnable = null;
}
if (this.ccpSwitchable!= null) {
boolean sourceCcpSwitchable;
sourceCcpSwitchable = ((this.ccpSwitchable!= null)?this.isCcpSwitchable():false);
boolean copyCcpSwitchable = strategy.copy(LocatorUtils.property(locator, "ccpSwitchable", sourceCcpSwitchable), sourceCcpSwitchable);
copy.setCcpSwitchable(copyCcpSwitchable);
} else {
copy.ccpSwitchable = null;
}
if (this.inSync!= null) {
Boolean sourceInSync;
sourceInSync = this.isInSync();
Boolean copyInSync = ((Boolean) strategy.copy(LocatorUtils.property(locator, "inSync", sourceInSync), sourceInSync));
copy.setInSync(copyInSync);
} else {
copy.inSync = null;
}
if (this.isRunning!= null) {
Boolean sourceIsRunning;
sourceIsRunning = this.isIsRunning();
Boolean copyIsRunning = ((Boolean) strategy.copy(LocatorUtils.property(locator, "isRunning", sourceIsRunning), sourceIsRunning));
copy.setIsRunning(copyIsRunning);
} else {
copy.isRunning = null;
}
if (this.fqdn!= null) {
String sourceFqdn;
sourceFqdn = this.getFqdn();
String copyFqdn = ((String) strategy.copy(LocatorUtils.property(locator, "fqdn", sourceFqdn), sourceFqdn));
copy.setFqdn(copyFqdn);
} else {
copy.fqdn = null;
}
if (this.ccpServers!= null) {
String sourceCcpServers;
sourceCcpServers = this.getCcpServers();
String copyCcpServers = ((String) strategy.copy(LocatorUtils.property(locator, "ccpServers", sourceCcpServers), sourceCcpServers));
copy.setCcpServers(copyCcpServers);
} else {
copy.ccpServers = null;
}
}
return draftCopy;
}
public Object createNewInstance() {
return new HierarchyNode();
}
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
if (!(object instanceof HierarchyNode)) {
return false;
}
if (this == object) {
return true;
}
final HierarchyNode that = ((HierarchyNode) object);
{
List lhsHierarchyNodes;
lhsHierarchyNodes = (((this.hierarchyNodes!= null)&&(!this.hierarchyNodes.isEmpty()))?this.getHierarchyNodes():null);
List rhsHierarchyNodes;
rhsHierarchyNodes = (((that.hierarchyNodes!= null)&&(!that.hierarchyNodes.isEmpty()))?that.getHierarchyNodes():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "hierarchyNodes", lhsHierarchyNodes), LocatorUtils.property(thatLocator, "hierarchyNodes", rhsHierarchyNodes), lhsHierarchyNodes, rhsHierarchyNodes)) {
return false;
}
}
{
List lhsNamespaceParameters;
lhsNamespaceParameters = (((this.namespaceParameters!= null)&&(!this.namespaceParameters.isEmpty()))?this.getNamespaceParameters():null);
List rhsNamespaceParameters;
rhsNamespaceParameters = (((that.namespaceParameters!= null)&&(!that.namespaceParameters.isEmpty()))?that.getNamespaceParameters():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "namespaceParameters", lhsNamespaceParameters), LocatorUtils.property(thatLocator, "namespaceParameters", rhsNamespaceParameters), lhsNamespaceParameters, rhsNamespaceParameters)) {
return false;
}
}
{
String lhsId;
lhsId = this.getId();
String rhsId;
rhsId = that.getId();
if (!strategy.equals(LocatorUtils.property(thisLocator, "id", lhsId), LocatorUtils.property(thatLocator, "id", rhsId), lhsId, rhsId)) {
return false;
}
}
{
String lhsName;
lhsName = this.getName();
String rhsName;
rhsName = that.getName();
if (!strategy.equals(LocatorUtils.property(thisLocator, "name", lhsName), LocatorUtils.property(thatLocator, "name", rhsName), lhsName, rhsName)) {
return false;
}
}
{
String lhsParentId;
lhsParentId = this.getParentId();
String rhsParentId;
rhsParentId = that.getParentId();
if (!strategy.equals(LocatorUtils.property(thisLocator, "parentId", lhsParentId), LocatorUtils.property(thatLocator, "parentId", rhsParentId), lhsParentId, rhsParentId)) {
return false;
}
}
{
HierarchyLevel lhsLevelName;
lhsLevelName = this.getLevelName();
HierarchyLevel rhsLevelName;
rhsLevelName = that.getLevelName();
if (!strategy.equals(LocatorUtils.property(thisLocator, "levelName", lhsLevelName), LocatorUtils.property(thatLocator, "levelName", rhsLevelName), lhsLevelName, rhsLevelName)) {
return false;
}
}
{
Integer lhsLevelOrder;
lhsLevelOrder = this.getLevelOrder();
Integer rhsLevelOrder;
rhsLevelOrder = that.getLevelOrder();
if (!strategy.equals(LocatorUtils.property(thisLocator, "levelOrder", lhsLevelOrder), LocatorUtils.property(thatLocator, "levelOrder", rhsLevelOrder), lhsLevelOrder, rhsLevelOrder)) {
return false;
}
}
{
String lhsProcessName;
lhsProcessName = this.getProcessName();
String rhsProcessName;
rhsProcessName = that.getProcessName();
if (!strategy.equals(LocatorUtils.property(thisLocator, "processName", lhsProcessName), LocatorUtils.property(thatLocator, "processName", rhsProcessName), lhsProcessName, rhsProcessName)) {
return false;
}
}
{
String lhsInstallPath;
lhsInstallPath = this.getInstallPath();
String rhsInstallPath;
rhsInstallPath = that.getInstallPath();
if (!strategy.equals(LocatorUtils.property(thisLocator, "installPath", lhsInstallPath), LocatorUtils.property(thatLocator, "installPath", rhsInstallPath), lhsInstallPath, rhsInstallPath)) {
return false;
}
}
{
Integer lhsCcpEnable;
lhsCcpEnable = this.getCcpEnable();
Integer rhsCcpEnable;
rhsCcpEnable = that.getCcpEnable();
if (!strategy.equals(LocatorUtils.property(thisLocator, "ccpEnable", lhsCcpEnable), LocatorUtils.property(thatLocator, "ccpEnable", rhsCcpEnable), lhsCcpEnable, rhsCcpEnable)) {
return false;
}
}
{
boolean lhsCcpSwitchable;
lhsCcpSwitchable = ((this.ccpSwitchable!= null)?this.isCcpSwitchable():false);
boolean rhsCcpSwitchable;
rhsCcpSwitchable = ((that.ccpSwitchable!= null)?that.isCcpSwitchable():false);
if (!strategy.equals(LocatorUtils.property(thisLocator, "ccpSwitchable", lhsCcpSwitchable), LocatorUtils.property(thatLocator, "ccpSwitchable", rhsCcpSwitchable), lhsCcpSwitchable, rhsCcpSwitchable)) {
return false;
}
}
{
Boolean lhsInSync;
lhsInSync = this.isInSync();
Boolean rhsInSync;
rhsInSync = that.isInSync();
if (!strategy.equals(LocatorUtils.property(thisLocator, "inSync", lhsInSync), LocatorUtils.property(thatLocator, "inSync", rhsInSync), lhsInSync, rhsInSync)) {
return false;
}
}
{
Boolean lhsIsRunning;
lhsIsRunning = this.isIsRunning();
Boolean rhsIsRunning;
rhsIsRunning = that.isIsRunning();
if (!strategy.equals(LocatorUtils.property(thisLocator, "isRunning", lhsIsRunning), LocatorUtils.property(thatLocator, "isRunning", rhsIsRunning), lhsIsRunning, rhsIsRunning)) {
return false;
}
}
{
String lhsFqdn;
lhsFqdn = this.getFqdn();
String rhsFqdn;
rhsFqdn = that.getFqdn();
if (!strategy.equals(LocatorUtils.property(thisLocator, "fqdn", lhsFqdn), LocatorUtils.property(thatLocator, "fqdn", rhsFqdn), lhsFqdn, rhsFqdn)) {
return false;
}
}
{
String lhsCcpServers;
lhsCcpServers = this.getCcpServers();
String rhsCcpServers;
rhsCcpServers = that.getCcpServers();
if (!strategy.equals(LocatorUtils.property(thisLocator, "ccpServers", lhsCcpServers), LocatorUtils.property(thatLocator, "ccpServers", rhsCcpServers), lhsCcpServers, rhsCcpServers)) {
return false;
}
}
return true;
}
public boolean equals(Object object) {
final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE;
return equals(null, null, object, strategy);
}
}