ccc.domain
Class RevisionMetadata

java.lang.Object
  extended by ccc.domain.RevisionMetadata

public final class RevisionMetadata
extends java.lang.Object

Metadata describing a revision.

Author:
Civic Computing Ltd.

Constructor Summary
RevisionMetadata(java.util.Date timestamp, UserEntity actor, boolean majorChange, java.lang.String comment)
          Constructor.
 
Method Summary
 UserEntity getActor()
          Accessor.
 java.lang.String getComment()
          Accessor.
 java.util.Date getTimestamp()
          Accessor.
 boolean isMajorChange()
          Accessor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RevisionMetadata

public RevisionMetadata(java.util.Date timestamp,
                        UserEntity actor,
                        boolean majorChange,
                        java.lang.String comment)
Constructor.

Parameters:
timestamp - The timestamp of the revision.
actor - The user causing the change.
majorChange - The boolean flag of the major change.
comment - The comment of the revision.
Method Detail

getTimestamp

public java.util.Date getTimestamp()
Accessor.

Returns:
Returns the timestamp.

getActor

public UserEntity getActor()
Accessor.

Returns:
Returns the actor.

isMajorChange

public boolean isMajorChange()
Accessor.

Returns:
Returns the majorChange.

getComment

public java.lang.String getComment()
Accessor.

Returns:
Returns the comment.


Copyright © 2010. All Rights Reserved.