Class TransientVariableInstance

    • Field Detail

      • TYPE_TRANSIENT

        public static java.lang.String TYPE_TRANSIENT
      • variableName

        protected java.lang.String variableName
      • variableValue

        protected java.lang.Object variableValue
    • Constructor Detail

      • TransientVariableInstance

        public TransientVariableInstance​(java.lang.String variableName,
                                         java.lang.Object variableValue)
    • Method Detail

      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface ValueFields
        Returns:
        the name of the variable
      • getTextValue

        public java.lang.String getTextValue()
        Specified by:
        getTextValue in interface ValueFields
        Returns:
        the first text value, if any, or null.
      • setTextValue

        public void setTextValue​(java.lang.String textValue)
        Description copied from interface: ValueFields
        Sets the first text value. A value of null is allowed.
        Specified by:
        setTextValue in interface ValueFields
      • getTextValue2

        public java.lang.String getTextValue2()
        Specified by:
        getTextValue2 in interface ValueFields
        Returns:
        the second text value, if any, or null.
      • setTextValue2

        public void setTextValue2​(java.lang.String textValue2)
        Description copied from interface: ValueFields
        Sets second text value. A value of null is allowed.
        Specified by:
        setTextValue2 in interface ValueFields
      • getLongValue

        public java.lang.Long getLongValue()
        Specified by:
        getLongValue in interface ValueFields
        Returns:
        the long value, if any, or null.
      • setLongValue

        public void setLongValue​(java.lang.Long longValue)
        Description copied from interface: ValueFields
        Sets the long value. A value of null is allowed.
        Specified by:
        setLongValue in interface ValueFields
      • getDoubleValue

        public java.lang.Double getDoubleValue()
        Specified by:
        getDoubleValue in interface ValueFields
        Returns:
        the double value, if any, or null.
      • setDoubleValue

        public void setDoubleValue​(java.lang.Double doubleValue)
        Description copied from interface: ValueFields
        Sets the double value. A value of null is allowed.
        Specified by:
        setDoubleValue in interface ValueFields
      • getBytes

        public byte[] getBytes()
        Specified by:
        getBytes in interface ValueFields
        Returns:
        the byte array value, if any, or null.
      • setBytes

        public void setBytes​(byte[] bytes)
        Description copied from interface: ValueFields
        Sets the byte array value. A value of null is allowed.
        Specified by:
        setBytes in interface ValueFields
      • setCachedValue

        public void setCachedValue​(java.lang.Object cachedValue)
        Specified by:
        setCachedValue in interface ValueFields
      • getId

        public java.lang.String getId()
        Specified by:
        getId in interface Entity
      • setId

        public void setId​(java.lang.String id)
        Specified by:
        setId in interface Entity
      • isInserted

        public boolean isInserted()
        Specified by:
        isInserted in interface Entity
      • setInserted

        public void setInserted​(boolean inserted)
        Specified by:
        setInserted in interface Entity
      • isUpdated

        public boolean isUpdated()
        Specified by:
        isUpdated in interface Entity
      • setUpdated

        public void setUpdated​(boolean updated)
        Specified by:
        setUpdated in interface Entity
      • isDeleted

        public boolean isDeleted()
        Specified by:
        isDeleted in interface Entity
      • setDeleted

        public void setDeleted​(boolean deleted)
        Specified by:
        setDeleted in interface Entity
      • getPersistentState

        public java.lang.Object getPersistentState()
        Description copied from interface: Entity
        Returns a representation of the object, as would be stored in the database. Used when deciding if updates have occurred to the object or not since it was last loaded.
        Specified by:
        getPersistentState in interface Entity
      • setRevision

        public void setRevision​(int revision)
        Specified by:
        setRevision in interface HasRevision