com.ibm.pim.common
Interface VersionInfo


public interface VersionInfo

Represents a label for a snapshot of a catalog or hierarchy and their content.
Note that no PIMAuthorizationException can be thrown here since access to and authorization for these methods is controlled from the parent.

Since:
6.0.0

Nested Class Summary
static class VersionInfo.Type
          Enumeration for the version type
 
Field Summary
static java.lang.String copyright
           
 
Method Summary
 java.util.Date getVersionDate()
          Retrieve the version creation date
 java.lang.String getVersionName()
          Retrieve the name associated with a version
 VersionInfo.Type getVersionType()
          Retrieve the type of version
 

Field Detail

copyright

static final java.lang.String copyright
See Also:
Constant Field Values
Method Detail

getVersionDate

java.util.Date getVersionDate()
Retrieve the version creation date

Returns:
Date a version was created
Throws:
PIMInternalException - If an internal error occurs

getVersionName

java.lang.String getVersionName()
Retrieve the name associated with a version

Returns:
String the version name
Throws:
PIMInternalException - If an internal error occurs

getVersionType

VersionInfo.Type getVersionType()
Retrieve the type of version

Returns:
String the version name
Throws:
PIMInternalException - If an internal error occurs