Class 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
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String m_name  
      protected java.lang.String m_value  
    • Constructor Summary

      Constructors 
      Constructor Description
      RequisitionAsset()
      Constructor for RequisitionAsset.
      RequisitionAsset​(java.lang.String name, java.lang.String value)
      Constructor for RequisitionAsset.
    • Field Detail

      • m_name

        protected java.lang.String m_name
      • m_value

        protected java.lang.String m_value
    • Constructor Detail

      • RequisitionAsset

        public RequisitionAsset()

        Constructor for RequisitionAsset.

      • RequisitionAsset

        public RequisitionAsset​(java.lang.String name,
                                java.lang.String value)

        Constructor for RequisitionAsset.

        Parameters:
        name - a String object.
        value - a String object.
    • Method Detail

      • getName

        public java.lang.String getName()

        getName

        Returns:
        a String object.
      • setName

        public void setName​(java.lang.String value)

        setName

        Parameters:
        value - a String object.
      • getValue

        public java.lang.String getValue()

        getValue

        Returns:
        a String object.
      • setValue

        public void setValue​(java.lang.String value)

        setValue

        Parameters:
        value - a String object.
      • validate

        public void validate()
                      throws javax.xml.bind.ValidationException
        Throws:
        javax.xml.bind.ValidationException
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object