Class RequisitionAsset
- java.lang.Object
-
- org.opennms.netmgt.provision.persist.requisition.RequisitionAsset
-
- All Implemented Interfaces:
java.lang.Comparable<RequisitionAsset>
public class RequisitionAsset extends java.lang.Object implements java.lang.Comparable<RequisitionAsset>
RequisitionAsset class.
- Version:
- $Id: $
- Author:
- ranger
-
-
Constructor Summary
Constructors Constructor Description RequisitionAsset()
Constructor for RequisitionAsset.RequisitionAsset(java.lang.String name, java.lang.String value)
Constructor for RequisitionAsset.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(RequisitionAsset other)
boolean
equals(java.lang.Object obj)
java.lang.String
getName()
getNamejava.lang.String
getValue()
getValueint
hashCode()
void
setName(java.lang.String value)
setNamevoid
setValue(java.lang.String value)
setValuejava.lang.String
toString()
void
validate()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
getName
- Returns:
- a
String
object.
-
setName
public void setName(java.lang.String value)
setName
- Parameters:
value
- aString
object.
-
getValue
public java.lang.String getValue()
getValue
- Returns:
- a
String
object.
-
setValue
public void setValue(java.lang.String value)
setValue
- Parameters:
value
- aString
object.
-
validate
public void validate() throws javax.xml.bind.ValidationException
- Throws:
javax.xml.bind.ValidationException
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
compareTo
public int compareTo(RequisitionAsset other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<RequisitionAsset>
-
-