|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.antelmann.util.revision.DefaultRevision
public class DefaultRevision
implements a standard immutable revision object
| Field Summary |
|---|
| Fields inherited from interface com.antelmann.calendar.Timed |
|---|
COMPARATOR, DATE_EXTRACTOR |
| Constructor Summary | |
|---|---|
DefaultRevision(Object source,
Revisable revisable,
Object changes,
Status status,
long time,
String comment)
|
|
DefaultRevision(Object source,
Revisable revisable,
Object changes,
Status status,
String comment)
|
|
| Method Summary | |
|---|---|
Revisable |
getRevisable()
returns the object that this revision applies to |
Object |
getRevisionChanges()
specifies the changes that this revision implies |
String |
getRevisionComment()
returns additional comments made for this revision |
Object |
getRevisionSource()
specifies who or what initiated the revision |
Status |
getRevisionStatus()
returns the status that this revision applied to the revisable instance |
long |
getTime()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultRevision(Object source,
Revisable revisable,
Object changes,
Status status,
String comment)
public DefaultRevision(Object source,
Revisable revisable,
Object changes,
Status status,
long time,
String comment)
| Method Detail |
|---|
public final Object getRevisionSource()
Revision
getRevisionSource in interface Revisionpublic Revisable getRevisable()
Revision
getRevisable in interface Revisionpublic Object getRevisionChanges()
Revision
getRevisionChanges in interface Revisionpublic String getRevisionComment()
Revision
getRevisionComment in interface Revisionpublic Status getRevisionStatus()
Revision
getRevisionStatus in interface Revisionpublic final long getTime()
getTime in interface Timed
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||