Class Reference


  • public class Reference
    extends java.lang.Object
    Representation of an Reference in an object
    Author:
    Andrew Varley
    • Constructor Summary

      Constructors 
      Constructor Description
      Reference()
      Constructor
      Reference​(java.lang.String name, java.lang.String refId)
      Construnctor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)
      java.lang.String getName()
      Get the name of this field
      java.lang.String getRefId()
      Get the refId of this field
      int hashCode()
      void setName​(java.lang.String name)
      Set the name of this field
      void setRefId​(java.lang.String refId)
      Set the refId of this field
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Reference

        public Reference()
        Constructor
      • Reference

        public Reference​(java.lang.String name,
                         java.lang.String refId)
        Construnctor
        Parameters:
        name - the name
        refId - the refId
    • Method Detail

      • setName

        public void setName​(java.lang.String name)
        Set the name of this field
        Parameters:
        name - the name
      • getName

        public java.lang.String getName()
        Get the name of this field
        Returns:
        the name
      • setRefId

        public void setRefId​(java.lang.String refId)
        Set the refId of this field
        Parameters:
        refId - the refId
      • getRefId

        public java.lang.String getRefId()
        Get the refId of this field
        Returns:
        the refId
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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