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