Class Reference

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected InterMineObject item  
      protected java.lang.String name  
      protected java.lang.String refId  
    • Constructor Summary

      Constructors 
      Constructor Description
      Reference()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getFieldProxy​(java.lang.String fieldName)
      Returns the value of a field without dereferencing any ProxyReference objects.
      java.lang.Class<?> getFieldType​(java.lang.String fieldName)
      Returns the type of a field by name.
      java.lang.Object getFieldValue​(java.lang.String fieldName)
      Returns the value of a field by name.
      Item getItem()  
      java.lang.String getName()  
      java.lang.String getRefId()  
      InterMineObject proxGetItem()  
      void proxyItem​(ProxyReference item)  
      void setFieldValue​(java.lang.String fieldName, java.lang.Object value)
      Sets the value of a field by name.
      void setItem​(Item item)  
      void setName​(java.lang.String name)  
      void setRefId​(java.lang.String refId)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • name

        protected java.lang.String name
      • refId

        protected java.lang.String refId
    • Constructor Detail

      • Reference

        public Reference()
    • Method Detail

      • getName

        public java.lang.String getName()
      • setName

        public void setName​(java.lang.String name)
      • getRefId

        public java.lang.String getRefId()
      • setRefId

        public void setRefId​(java.lang.String refId)
      • getItem

        public Item getItem()
      • setItem

        public void setItem​(Item item)
      • toString

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

        public java.lang.Object getFieldValue​(java.lang.String fieldName)
                                       throws java.lang.IllegalAccessException
        Description copied from interface: FastPathObject
        Returns the value of a field by name.
        Specified by:
        getFieldValue in interface FastPathObject
        Parameters:
        fieldName - the name of the field
        Returns:
        the value of the field
        Throws:
        java.lang.IllegalAccessException - when something goes wrong
      • getFieldProxy

        public java.lang.Object getFieldProxy​(java.lang.String fieldName)
                                       throws java.lang.IllegalAccessException
        Description copied from interface: FastPathObject
        Returns the value of a field without dereferencing any ProxyReference objects.
        Specified by:
        getFieldProxy in interface FastPathObject
        Parameters:
        fieldName - the name of the field
        Returns:
        the value of the field, or a ProxyReference representing it
        Throws:
        java.lang.IllegalAccessException - when something goes wrong
      • setFieldValue

        public void setFieldValue​(java.lang.String fieldName,
                                  java.lang.Object value)
        Description copied from interface: FastPathObject
        Sets the value of a field by name.
        Specified by:
        setFieldValue in interface FastPathObject
        Parameters:
        fieldName - the name of the field
        value - the value of the field, or a ProxyReference representing it
      • getFieldType

        public java.lang.Class<?> getFieldType​(java.lang.String fieldName)
        Description copied from interface: FastPathObject
        Returns the type of a field by name.
        Specified by:
        getFieldType in interface FastPathObject
        Parameters:
        fieldName - the name of the field
        Returns:
        the type of the field