org.eclipse.higgins.sync.meta.entity
Class RevisionEntity

java.lang.Object
  extended by org.eclipse.higgins.sync.meta.entity.RevisionEntity
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ResourceRevisionEntity, RootRevisionEntity

public class RevisionEntity
extends Object
implements Serializable

Base resource revision entity.

Author:
Alexander Yuhimenko
See Also:
Serialized Form

Constructor Summary
RevisionEntity()
           
 
Method Summary
 String getCommandName()
           
 Long getId()
           
 Date getModifiedTime()
           
 Long getNumber()
           
 Long getParentId()
           
 String getResourceId()
           
 String getResourceType()
           
 String getUserId()
           
 RevisionEntity setCommandName(String commandName)
           
 RevisionEntity setId(Long id)
           
 RevisionEntity setModifiedTime(Date modifiedTime)
           
 RevisionEntity setNumber(Long number)
           
 RevisionEntity setParentId(Long parentId)
           
 RevisionEntity setResourceId(String resourceId)
           
 RevisionEntity setResourceType(String resourceType)
           
 RevisionEntity setUserId(String userId)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RevisionEntity

public RevisionEntity()
Method Detail

getCommandName

public String getCommandName()
Returns:
the commandName

getId

public Long getId()
Returns:
the id

getModifiedTime

public Date getModifiedTime()
Returns:
the modifiedTime

getNumber

public Long getNumber()
Returns:
the number

getParentId

public Long getParentId()
Returns:
the parentId

getResourceId

public String getResourceId()
Returns:
the resourceId

getResourceType

public String getResourceType()
Returns:
the resourceType

getUserId

public String getUserId()
Returns:
the userId

setCommandName

public RevisionEntity setCommandName(String commandName)
Parameters:
commandName - the commandName to set

setId

public RevisionEntity setId(Long id)
Parameters:
id - the id to set

setModifiedTime

public RevisionEntity setModifiedTime(Date modifiedTime)
Parameters:
modifiedTime - the modifiedTime to set

setNumber

public RevisionEntity setNumber(Long number)
Parameters:
number - the number to set

setParentId

public RevisionEntity setParentId(Long parentId)
Parameters:
parentId - the parentId to set

setResourceId

public RevisionEntity setResourceId(String resourceId)
Parameters:
resourceId - the resourceId to set

setResourceType

public RevisionEntity setResourceType(String resourceType)
Parameters:
resourceType - the resourceType to set

setUserId

public RevisionEntity setUserId(String userId)
Parameters:
userId - the userId to set