Class Version

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

    public class Version
    extends ServiceDataObject
    implements java.io.Serializable
    A Version object contains information about a (Document) version.
    Version:
    2013-10-25
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Version()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getComment()
      Gets the comment of the version.
      java.util.Date getCreateDate()
      Gets the creation date of the version.
      java.util.Date getFileCreateDate()
      Gets the creation date of the source file for the version.
      java.lang.String getFileCreator()
      Gets the creator of the source file for the version.
      long getFileDataSize()
      Gets the data size of the version.
      java.util.Date getFileModifyDate()
      Gets the modification date of the source file for the version.
      java.lang.String getFilename()
      Gets the filename of the source file for the version.
      int getFilePlatform()
      Gets the platform of the source file for the version.
      long getFileResSize()
      Gets the resource size of the version.
      java.lang.String getFileType()
      Gets the file type of the source file of the version.
      long getID()
      Gets the ID of the version.
      int getLocked()
      Gets the flag indicating whether the version is locked.
      java.lang.Long getLockedBy()
      Gets the ID of the user who locked the version.
      java.util.Date getLockedDate()
      Gets the date the version was locked.
      Metadata getMetadata()
      Gets the metadata for the version (null means none specified).
      java.lang.String getMimeType()
      Gets the MIME type of the version.
      java.util.Date getModifyDate()
      Gets the modification date of the version.
      java.lang.String getName()
      Gets the name of the version.
      long getNodeID()
      Gets the node ID of the version.
      long getNumber()
      Gets the version number.
      long getOwner()
      Gets the owner of the version.
      long getProviderID()
      Gets the provider ID for the version.
      java.lang.String getProviderName()
      Gets the provider name for the version.
      java.lang.String getType()
      Gets the type of version.
      long getVerMajor()
      Gets the version major number.
      long getVerMinor()
      Gets the version minor number.
      void load​(com.opentext.api.LLValue value)
      Deserialize an ServiceDataObject from an LLValue that is received from Livelink.
      void setComment​(java.lang.String value)
      Sets the comment of the version.
      void setCreateDate​(java.util.Date value)
      Sets the creation date of the version.
      void setFileCreateDate​(java.util.Date value)
      Sets the creation date of the source file for the version.
      void setFileCreator​(java.lang.String value)
      Sets the creator of the source file for the version.
      void setFileDataSize​(long value)
      Sets the data size of the version.
      void setFileModifyDate​(java.util.Date value)
      Sets the modification date of the source file for the version.
      void setFilename​(java.lang.String value)
      Sets the filename of the source file for the version.
      void setFilePlatform​(int value)
      Sets the platform of the source file for the version.
      void setFileResSize​(long value)
      Sets the resource size of the version.
      void setFileType​(java.lang.String value)
      Sets the file type of the source file of the version.
      void setID​(long value)
      Sets the ID of the version.
      void setLocked​(int value)
      Sets the flag indicating whether the version is locked.
      void setLockedBy​(java.lang.Long value)
      Sets the ID of the user who locked the version.
      void setLockedDate​(java.util.Date value)
      Sets the date the version was locked.
      void setMetadata​(Metadata value)
      Sets the metadata for the version (null means none specified).
      void setMimeType​(java.lang.String value)
      Sets the MIME type of the version.
      void setModifyDate​(java.util.Date value)
      Sets the modification date of the version.
      void setName​(java.lang.String value)
      Sets the name of the version.
      void setNodeID​(long value)
      Sets the node ID of the version.
      void setNumber​(long value)
      Sets the version number.
      void setOwner​(long value)
      Sets the owner of the version.
      void setProviderID​(long value)
      Sets the provider ID for the version.
      void setProviderName​(java.lang.String value)
      Sets the provider name for the version.
      void setType​(java.lang.String value)
      Sets the type of version.
      void setVerMajor​(long value)
      Sets the version major number.
      void setVerMinor​(long value)
      Sets the version minor number.
      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

      • Version

        public Version()
    • Method Detail

      • setComment

        public void setComment​(java.lang.String value)
        Sets the comment of the version.
      • getComment

        public java.lang.String getComment()
        Gets the comment of the version.
      • setCreateDate

        public void setCreateDate​(java.util.Date value)
        Sets the creation date of the version.
      • getCreateDate

        public java.util.Date getCreateDate()
        Gets the creation date of the version.
      • setFileCreateDate

        public void setFileCreateDate​(java.util.Date value)
        Sets the creation date of the source file for the version.
      • getFileCreateDate

        public java.util.Date getFileCreateDate()
        Gets the creation date of the source file for the version.
      • setFileCreator

        public void setFileCreator​(java.lang.String value)
        Sets the creator of the source file for the version.
      • getFileCreator

        public java.lang.String getFileCreator()
        Gets the creator of the source file for the version.
      • setFileDataSize

        public void setFileDataSize​(long value)
        Sets the data size of the version.
      • getFileDataSize

        public long getFileDataSize()
        Gets the data size of the version.
      • setFileModifyDate

        public void setFileModifyDate​(java.util.Date value)
        Sets the modification date of the source file for the version.
      • getFileModifyDate

        public java.util.Date getFileModifyDate()
        Gets the modification date of the source file for the version.
      • setFilename

        public void setFilename​(java.lang.String value)
        Sets the filename of the source file for the version.
      • getFilename

        public java.lang.String getFilename()
        Gets the filename of the source file for the version.
      • setFilePlatform

        public void setFilePlatform​(int value)
        Sets the platform of the source file for the version.
      • getFilePlatform

        public int getFilePlatform()
        Gets the platform of the source file for the version.
      • setFileResSize

        public void setFileResSize​(long value)
        Sets the resource size of the version.
      • getFileResSize

        public long getFileResSize()
        Gets the resource size of the version.
      • setFileType

        public void setFileType​(java.lang.String value)
        Sets the file type of the source file of the version.
      • getFileType

        public java.lang.String getFileType()
        Gets the file type of the source file of the version.
      • setID

        public void setID​(long value)
        Sets the ID of the version.
      • getID

        public long getID()
        Gets the ID of the version.
      • setLocked

        public void setLocked​(int value)
        Sets the flag indicating whether the version is locked.
      • getLocked

        public int getLocked()
        Gets the flag indicating whether the version is locked.
      • setLockedBy

        public void setLockedBy​(java.lang.Long value)
        Sets the ID of the user who locked the version.
      • getLockedBy

        public java.lang.Long getLockedBy()
        Gets the ID of the user who locked the version.
      • setLockedDate

        public void setLockedDate​(java.util.Date value)
        Sets the date the version was locked.
      • getLockedDate

        public java.util.Date getLockedDate()
        Gets the date the version was locked.
      • setMetadata

        public void setMetadata​(Metadata value)
        Sets the metadata for the version (null means none specified).
      • getMetadata

        public Metadata getMetadata()
        Gets the metadata for the version (null means none specified).
      • setMimeType

        public void setMimeType​(java.lang.String value)
        Sets the MIME type of the version.
      • getMimeType

        public java.lang.String getMimeType()
        Gets the MIME type of the version.
      • setModifyDate

        public void setModifyDate​(java.util.Date value)
        Sets the modification date of the version.
      • getModifyDate

        public java.util.Date getModifyDate()
        Gets the modification date of the version.
      • setName

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

        public java.lang.String getName()
        Gets the name of the version.
      • setNodeID

        public void setNodeID​(long value)
        Sets the node ID of the version.
      • getNodeID

        public long getNodeID()
        Gets the node ID of the version.
      • setNumber

        public void setNumber​(long value)
        Sets the version number.
      • getNumber

        public long getNumber()
        Gets the version number.
      • setOwner

        public void setOwner​(long value)
        Sets the owner of the version.
      • getOwner

        public long getOwner()
        Gets the owner of the version.
      • setProviderID

        public void setProviderID​(long value)
        Sets the provider ID for the version.
      • getProviderID

        public long getProviderID()
        Gets the provider ID for the version.
      • setProviderName

        public void setProviderName​(java.lang.String value)
        Sets the provider name for the version.
      • getProviderName

        public java.lang.String getProviderName()
        Gets the provider name for the version.
      • setType

        public void setType​(java.lang.String value)
        Sets the type of version.
      • getType

        public java.lang.String getType()
        Gets the type of version.
      • setVerMajor

        public void setVerMajor​(long value)
        Sets the version major number.
      • getVerMajor

        public long getVerMajor()
        Gets the version major number.
      • setVerMinor

        public void setVerMinor​(long value)
        Sets the version minor number.
      • getVerMinor

        public long getVerMinor()
        Gets the version minor number.
      • 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