Class NodeFeature

  • All Implemented Interfaces:
    IServiceDataObject, java.io.Serializable

    public class NodeFeature
    extends ServiceDataObject
    implements java.io.Serializable
    NodeFeatures store named values which apply to the particular type of Node. Each feature is of a particular type, and its value is retrieved by inspecting the appropriate typed value. For example, a URL has a string 'Location' feature.
    Version:
    2013-08-26
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      NodeFeature()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Boolean getBooleanValue()
      Gets the boolean value of the feature.
      java.util.Date getDateValue()
      Gets the date value of the feature.
      java.lang.Integer getIntegerValue()
      Gets the integer value of the feature.
      java.lang.Long getLongValue()
      Gets the long integer value of the feature.
      java.lang.String getName()
      Gets the name of the feature.
      java.lang.String getStringValue()
      Gets the string value of the feature.
      java.lang.String getType()
      Gets the primitive type of the feature (String, Integer, Long, Date or Boolean).
      void load​(com.opentext.api.LLValue value)
      Deserialize an ServiceDataObject from an LLValue that is received from Livelink.
      void setBooleanValue​(java.lang.Boolean value)
      Sets the boolean value of the feature.
      void setDateValue​(java.util.Date value)
      Sets the date value of the feature.
      void setIntegerValue​(java.lang.Integer value)
      Sets the integer value of the feature.
      void setLongValue​(java.lang.Long value)
      Sets the long integer value of the feature.
      void setName​(java.lang.String value)
      Sets the name of the feature.
      void setStringValue​(java.lang.String value)
      Sets the string value of the feature.
      void setType​(java.lang.String value)
      Sets the primitive type of the feature (String, Integer, Long, Date or Boolean).
      com.opentext.api.LLValue toLLValue()
      Serialize an SDO object to an LLValue that can be sent to Livelink.
      java.lang.String toString()
      Returns a string representation of the object consisting of the object name and any features and their values within square brackets.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • NodeFeature

        public NodeFeature()
    • Method Detail

      • setBooleanValue

        public void setBooleanValue​(java.lang.Boolean value)
        Sets the boolean value of the feature.
      • getBooleanValue

        public java.lang.Boolean getBooleanValue()
        Gets the boolean value of the feature.
      • setDateValue

        public void setDateValue​(java.util.Date value)
        Sets the date value of the feature.
      • getDateValue

        public java.util.Date getDateValue()
        Gets the date value of the feature.
      • setIntegerValue

        public void setIntegerValue​(java.lang.Integer value)
        Sets the integer value of the feature.
      • getIntegerValue

        public java.lang.Integer getIntegerValue()
        Gets the integer value of the feature.
      • setLongValue

        public void setLongValue​(java.lang.Long value)
        Sets the long integer value of the feature.
      • getLongValue

        public java.lang.Long getLongValue()
        Gets the long integer value of the feature.
      • setName

        public void setName​(java.lang.String value)
        Sets the name of the feature.
      • getName

        public java.lang.String getName()
        Gets the name of the feature.
      • setStringValue

        public void setStringValue​(java.lang.String value)
        Sets the string value of the feature.
      • getStringValue

        public java.lang.String getStringValue()
        Gets the string value of the feature.
      • setType

        public void setType​(java.lang.String value)
        Sets the primitive type of the feature (String, Integer, Long, Date or Boolean).
      • getType

        public java.lang.String getType()
        Gets the primitive type of the feature (String, Integer, Long, Date or Boolean).
      • load

        public void load​(com.opentext.api.LLValue value)
        Description copied from interface: IServiceDataObject
        Deserialize an ServiceDataObject from an LLValue that is received from Livelink. The LLValue is an Assoc that contains all of the features of this SDO. These features may refer to other SDOs and contain arrays of primitive values or SDOs. Each referenced SDO, will have its load() method called as well. Note: this is an internal method not meant to be called by clients.
        Specified by:
        load in interface IServiceDataObject
        Overrides:
        load in class ServiceDataObject
        Parameters:
        value - the LLValue containing the data to be loaded
      • toLLValue

        public com.opentext.api.LLValue toLLValue()
        Description copied from interface: IServiceDataObject
        Serialize an SDO object to an LLValue that can be sent to Livelink. Each feature of the SDO is stored in a key of the LLValue Assoc. Any references to other SDOs cause their toLLValue() method to be called. Note: this is an internal method not meant to be called by clients.
        Specified by:
        toLLValue in interface IServiceDataObject
        Overrides:
        toLLValue in class ServiceDataObject
        Returns:
        Returns the LLValue object that represents this SDO
      • toString

        public java.lang.String toString()
        Description copied from class: ServiceDataObject
        Returns a string representation of the object consisting of the object name and any features and their values within square brackets. Intended for simple debugging or logging of an SDO.
        Overrides:
        toString in class ServiceDataObject