Class RequisitionMonitoredService
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
Java class for monitored-service element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="monitored-service">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<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}meta-data" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="service-name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault no-arg constructorRequisitionMonitoredService(List<RequisitionCategory> categories, List<MetaData> metaDatas, String serviceName) 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) booleanbooleanequals(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 categories property.Gets the value of the metaDatas property.Gets the value of the serviceName property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) booleanbooleanbooleanvoidsetServiceName(String value) Sets the value of the serviceName property.toString()voidvoidwithCategories(Collection<RequisitionCategory> values) withCategories(RequisitionCategory... values) withMetaDatas(Collection<MetaData> values) withMetaDatas(MetaData... values) withServiceName(String value)
-
Field Details
-
categories
-
metaDatas
-
serviceName
-
-
Constructor Details
-
RequisitionMonitoredService
public RequisitionMonitoredService()Default no-arg constructor -
RequisitionMonitoredService
public RequisitionMonitoredService(List<RequisitionCategory> categories, List<MetaData> metaDatas, String serviceName) Fully-initialising value constructor
-
-
Method Details
-
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
setmethod 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() -
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
setmethod 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() -
getServiceName
Gets the value of the serviceName property.- Returns:
- possible object is
String
-
setServiceName
Sets the value of the serviceName property.- Parameters:
value- allowed object isString
-
isSetServiceName
public boolean isSetServiceName() -
toString
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendin 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:
appendFieldsin 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:
equalsin 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:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
hashCode
public int hashCode() -
withCategories
-
withCategories
-
withMetaDatas
-
withMetaDatas
-
withServiceName
-