org.exoplatform.services.wcm.publication.lifecycle.stageversion.config
Class VersionData

java.lang.Object
  extended by org.exoplatform.services.wcm.publication.lifecycle.stageversion.config.VersionData
Direct Known Subclasses:
VersionLog

public class VersionData
extends java.lang.Object

Created by The eXo Platform SAS Author : Hoa Pham hoa.phamvu@exoplatform.com Mar 4, 2009


Field Summary
protected  java.lang.String author
          The author.
protected  java.util.Calendar endPublicationDate
          The end publication date.
protected  java.util.Calendar startPublicationDate
          The start publication date.
protected  java.lang.String state
          The state.
protected  java.lang.String UUID
          The UUID.
protected  java.lang.String versionName
          The version name.
 
Constructor Summary
VersionData(java.lang.String uuid, java.lang.String state, java.lang.String author)
          Instantiates a new version data.
VersionData(java.lang.String uuid, java.lang.String state, java.lang.String author, java.util.Calendar startPublicationDate, java.util.Calendar endPublicationDate)
          Instantiates a new version data.
 
Method Summary
 java.lang.String getAuthor()
          Gets the author.
 java.util.Calendar getEndPublicationDate()
          Gets the end publication date.
 java.util.Calendar getStartPublicationDate()
          Gets the start publication date.
 java.lang.String getState()
          Gets the state.
 java.lang.String getUUID()
          Gets the uUID.
 java.lang.String getVersionName()
          Gets the version name.
 void setAuthor(java.lang.String author)
          Sets the author.
 void setEndPublicationDate(java.util.Calendar endPublicationDate)
          Sets the end publication date.
 void setStartPublicationDate(java.util.Calendar startPublicationDate)
          Sets the start publication date.
 void setState(java.lang.String state)
          Sets the state.
 void setUUID(java.lang.String uuid)
          Sets the uUID.
 void setVersionName(java.lang.String versionName)
          Sets the version name.
 java.lang.String toString()
           
 java.lang.String toStringValue()
          To string value.
 java.lang.String[] toStringValues()
          To string values.
static VersionData toVersionData(java.lang.String s)
          To version data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UUID

protected java.lang.String UUID
The UUID.


versionName

protected java.lang.String versionName
The version name.


state

protected java.lang.String state
The state.


author

protected java.lang.String author
The author.


startPublicationDate

protected java.util.Calendar startPublicationDate
The start publication date.


endPublicationDate

protected java.util.Calendar endPublicationDate
The end publication date.

Constructor Detail

VersionData

public VersionData(java.lang.String uuid,
                   java.lang.String state,
                   java.lang.String author,
                   java.util.Calendar startPublicationDate,
                   java.util.Calendar endPublicationDate)
Instantiates a new version data.

Parameters:
uuid - the uuid
state - the state
author - the author
startPublicationDate - the start publication date
endPublicationDate - the end publication date

VersionData

public VersionData(java.lang.String uuid,
                   java.lang.String state,
                   java.lang.String author)
Instantiates a new version data.

Parameters:
uuid - the uuid
state - the state
author - the author
Method Detail

getVersionName

public java.lang.String getVersionName()
Gets the version name.

Returns:
the version name

setVersionName

public void setVersionName(java.lang.String versionName)
Sets the version name.

Parameters:
versionName - the new version name

getState

public java.lang.String getState()
Gets the state.

Returns:
the state

setState

public void setState(java.lang.String state)
Sets the state.

Parameters:
state - the new state

getAuthor

public java.lang.String getAuthor()
Gets the author.

Returns:
the author

setAuthor

public void setAuthor(java.lang.String author)
Sets the author.

Parameters:
author - the new author

getStartPublicationDate

public java.util.Calendar getStartPublicationDate()
Gets the start publication date.

Returns:
the start publication date

setStartPublicationDate

public void setStartPublicationDate(java.util.Calendar startPublicationDate)
Sets the start publication date.

Parameters:
startPublicationDate - the new start publication date

getEndPublicationDate

public java.util.Calendar getEndPublicationDate()
Gets the end publication date.

Returns:
the end publication date

setEndPublicationDate

public void setEndPublicationDate(java.util.Calendar endPublicationDate)
Sets the end publication date.

Parameters:
endPublicationDate - the new end publication date

toStringValues

public java.lang.String[] toStringValues()
To string values.

Returns:
the string[]

toStringValue

public java.lang.String toStringValue()
To string value.

Returns:
the string

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toVersionData

public static VersionData toVersionData(java.lang.String s)
To version data.

Parameters:
s - the s
Returns:
the version data

getUUID

public java.lang.String getUUID()
Gets the uUID.

Returns:
the uUID

setUUID

public void setUUID(java.lang.String uuid)
Sets the uUID.

Parameters:
uuid - the new uUID


Copyright © 2010 eXo Platform SAS. All Rights Reserved.