Class RequisitionNode
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2
,org.jvnet.jaxb2_commons.lang.HashCode2
,org.jvnet.jaxb2_commons.lang.ToString2
Java class for node element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="node"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://xmlns.opennms.org/xsd/config/model-import}interface" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://xmlns.opennms.org/xsd/config/model-import}category" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://xmlns.opennms.org/xsd/config/model-import}asset" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://xmlns.opennms.org/xsd/config/model-import}meta-data" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="node-label" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <pattern value=".*"/> </restriction> </simpleType> </attribute> <attribute name="foreign-id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="parent-foreign-source" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="parent-foreign-id" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="parent-node-label" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="location" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="city" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="building" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element>
-
Field Summary
Modifier and TypeFieldDescriptionprotected List<RequisitionAsset>
protected String
protected List<RequisitionCategory>
protected String
protected String
protected List<RequisitionInterface>
protected String
protected String
protected String
protected String
protected String
-
Constructor Summary
ConstructorDescriptionDefault no-arg constructorRequisitionNode
(List<RequisitionInterface> interfaces, List<RequisitionCategory> categories, List<RequisitionAsset> assets, List<MetaData> metaDatas, String nodeLabel, String foreignId, String parentForeignSource, String parentForeignId, String parentNodeLabel, String location, String city, String building) Fully-initialising value constructor -
Method Summary
Modifier and TypeMethodDescriptionappend
(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields
(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) boolean
boolean
equals
(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) Gets the value of the assets property.Gets the value of the building property.Gets the value of the categories property.getCity()
Gets the value of the city property.Gets the value of the foreignId property.Gets the value of the interfaces property.Gets the value of the location property.Gets the value of the metaDatas property.Gets the value of the nodeLabel property.Gets the value of the parentForeignId property.Gets the value of the parentForeignSource property.Gets the value of the parentNodeLabel property.int
hashCode()
int
hashCode
(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
setBuilding
(String value) Sets the value of the building property.void
Sets the value of the city property.void
setForeignId
(String value) Sets the value of the foreignId property.void
setLocation
(String value) Sets the value of the location property.void
setNodeLabel
(String value) Sets the value of the nodeLabel property.void
setParentForeignId
(String value) Sets the value of the parentForeignId property.void
setParentForeignSource
(String value) Sets the value of the parentForeignSource property.void
setParentNodeLabel
(String value) Sets the value of the parentNodeLabel property.toString()
void
void
void
void
withAssets
(Collection<RequisitionAsset> values) withAssets
(RequisitionAsset... values) withBuilding
(String value) withCategories
(Collection<RequisitionCategory> values) withCategories
(RequisitionCategory... values) withForeignId
(String value) withInterfaces
(Collection<RequisitionInterface> values) withInterfaces
(RequisitionInterface... values) withLocation
(String value) withMetaDatas
(Collection<MetaData> values) withMetaDatas
(MetaData... values) withNodeLabel
(String value) withParentForeignId
(String value) withParentForeignSource
(String value) withParentNodeLabel
(String value)
-
Field Details
-
interfaces
-
categories
-
assets
-
metaDatas
-
nodeLabel
-
foreignId
-
parentForeignSource
-
parentForeignId
-
parentNodeLabel
-
location
-
city
-
building
-
-
Constructor Details
-
RequisitionNode
public RequisitionNode()Default no-arg constructor -
RequisitionNode
public RequisitionNode(List<RequisitionInterface> interfaces, List<RequisitionCategory> categories, List<RequisitionAsset> assets, List<MetaData> metaDatas, String nodeLabel, String foreignId, String parentForeignSource, String parentForeignId, String parentNodeLabel, String location, String city, String building) Fully-initialising value constructor
-
-
Method Details
-
getInterfaces
Gets the value of the interfaces 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 interfaces property.For example, to add a new item, do as follows:
getInterfaces().add(newItem);
Objects of the following type(s) are allowed in the list
RequisitionInterface
-
isSetInterfaces
public boolean isSetInterfaces() -
unsetInterfaces
public void unsetInterfaces() -
getCategories
Gets the value of the categories 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 categories property.For example, to add a new item, do as follows:
getCategories().add(newItem);
Objects of the following type(s) are allowed in the list
RequisitionCategory
-
isSetCategories
public boolean isSetCategories() -
unsetCategories
public void unsetCategories() -
getAssets
Gets the value of the assets 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 assets property.For example, to add a new item, do as follows:
getAssets().add(newItem);
Objects of the following type(s) are allowed in the list
RequisitionAsset
-
isSetAssets
public boolean isSetAssets() -
unsetAssets
public void unsetAssets() -
getMetaDatas
Gets the value of the metaDatas 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 metaDatas property.For example, to add a new item, do as follows:
getMetaDatas().add(newItem);
Objects of the following type(s) are allowed in the list
MetaData
-
isSetMetaDatas
public boolean isSetMetaDatas() -
unsetMetaDatas
public void unsetMetaDatas() -
getNodeLabel
Gets the value of the nodeLabel property.- Returns:
- possible object is
String
-
setNodeLabel
Sets the value of the nodeLabel property.- Parameters:
value
- allowed object isString
-
isSetNodeLabel
public boolean isSetNodeLabel() -
getForeignId
Gets the value of the foreignId property.- Returns:
- possible object is
String
-
setForeignId
Sets the value of the foreignId property.- Parameters:
value
- allowed object isString
-
isSetForeignId
public boolean isSetForeignId() -
getParentForeignSource
Gets the value of the parentForeignSource property.- Returns:
- possible object is
String
-
setParentForeignSource
Sets the value of the parentForeignSource property.- Parameters:
value
- allowed object isString
-
isSetParentForeignSource
public boolean isSetParentForeignSource() -
getParentForeignId
Gets the value of the parentForeignId property.- Returns:
- possible object is
String
-
setParentForeignId
Sets the value of the parentForeignId property.- Parameters:
value
- allowed object isString
-
isSetParentForeignId
public boolean isSetParentForeignId() -
getParentNodeLabel
Gets the value of the parentNodeLabel property.- Returns:
- possible object is
String
-
setParentNodeLabel
Sets the value of the parentNodeLabel property.- Parameters:
value
- allowed object isString
-
isSetParentNodeLabel
public boolean isSetParentNodeLabel() -
getLocation
Gets the value of the location property.- Returns:
- possible object is
String
-
setLocation
Sets the value of the location property.- Parameters:
value
- allowed object isString
-
isSetLocation
public boolean isSetLocation() -
getCity
Gets the value of the city property.- Returns:
- possible object is
String
-
setCity
Sets the value of the city property.- Parameters:
value
- allowed object isString
-
isSetCity
public boolean isSetCity() -
getBuilding
Gets the value of the building property.- Returns:
- possible object is
String
-
setBuilding
Sets the value of the building property.- Parameters:
value
- allowed object isString
-
isSetBuilding
public boolean isSetBuilding() -
toString
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
append
in interfaceorg.jvnet.jaxb2_commons.lang.ToString2
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFields
in interfaceorg.jvnet.jaxb2_commons.lang.ToString2
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) - Specified by:
equals
in interfaceorg.jvnet.jaxb2_commons.lang.Equals2
-
equals
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) - Specified by:
hashCode
in interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
hashCode
public int hashCode() -
withInterfaces
-
withInterfaces
-
withCategories
-
withCategories
-
withAssets
-
withAssets
-
withMetaDatas
-
withMetaDatas
-
withNodeLabel
-
withForeignId
-
withParentForeignSource
-
withParentForeignId
-
withParentNodeLabel
-
withLocation
-
withCity
-
withBuilding
-