Package org.opennms.pris.model
Class RequisitionAsset
java.lang.Object
org.opennms.pris.model.RequisitionAsset
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2
,org.jvnet.jaxb2_commons.lang.HashCode2
,org.jvnet.jaxb2_commons.lang.ToString2
public class RequisitionAsset
extends Object
implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
This element is used to specify an asset record attribute.
Java class for asset element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="asset"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDefault no-arg constructorRequisitionAsset
(String name, String value) 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) getName()
Gets the value of the name property.getValue()
Gets the value of the value property.int
hashCode()
int
hashCode
(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) boolean
boolean
void
Sets the value of the name property.void
Sets the value of the value property.toString()
-
Field Details
-
name
-
value
-
-
Constructor Details
-
RequisitionAsset
public RequisitionAsset()Default no-arg constructor -
RequisitionAsset
Fully-initialising value constructor
-
-
Method Details
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
isSetName
public boolean isSetName() -
getValue
Gets the value of the value property.- Returns:
- possible object is
String
-
setValue
Sets the value of the value property.- Parameters:
value
- allowed object isString
-
isSetValue
public boolean isSetValue() -
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() -
withName
-
withValue
-