com.apelon.dts.client.namespace
Class ContentVersion

java.lang.Object
  extended by com.apelon.dts.client.common.DTSObject
      extended by com.apelon.dts.client.namespace.ContentVersion
All Implemented Interfaces:
Cloneable

public class ContentVersion
extends DTSObject

Specifies the version of a terminology in a namespace.

Copyright: Copyright (c) 2003

Company: Apelon, Inc.

Since:
DTS 3.0.0
Version:
DTS 3.0.0
Author:
Apelon, Inc.

Constructor Summary
ContentVersion(String name, int id, String code, int namespaceId, Date releaseDate)
          Constructs a new ContentVersion of the given name and release date.
 
Method Summary
 Date getReleaseDate()
          Retrieves the ContentVersion's release date.
 String toString()
          returns description of content version
 
Methods inherited from class com.apelon.dts.client.common.DTSObject
equals, getCode, getId, getName, getNamespaceId, hashCode, setCode, setId, setName, setNamespaceId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContentVersion

public ContentVersion(String name,
                      int id,
                      String code,
                      int namespaceId,
                      Date releaseDate)
Constructs a new ContentVersion of the given name and release date.

Parameters:
name - the ContentVersion's name
id - the ContentVersion's ID
code - the ContentVersion's code
namespaceId - the ID of the ContentVersion's namespace
releaseDate - the ContentVersion's release date
Method Detail

getReleaseDate

public Date getReleaseDate()
Retrieves the ContentVersion's release date.

Returns:
the ContentVersion's release date

toString

public String toString()
returns description of content version

Overrides:
toString in class DTSObject
Returns:
description
Since:
DTS 3.0


Copyright © 2011. All Rights Reserved.