|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.metamodel.adapter.version.NullVersion
public class NullVersion
| Constructor Summary | |
|---|---|
NullVersion()
|
|
| Method Summary | |
|---|---|
boolean |
different(Version version)
Compares this version against the specified version and returns true if they are different versions. |
java.util.Date |
getTime()
Returns the time of the last change. |
java.lang.String |
getUser()
Returns the user who made the last change. |
Version |
next(java.lang.String user,
java.util.Date time)
|
java.lang.String |
sequence()
Returns the sequence for printing/display |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NullVersion()
| Method Detail |
|---|
public boolean different(Version version)
VersionThis is use for optimistic checking, where the existence of a different version will normally cause a concurrency exception.
different in interface Version
public Version next(java.lang.String user,
java.util.Date time)
public java.lang.String getUser()
Version
getUser in interface Versionpublic java.util.Date getTime()
Version
getTime in interface Versionpublic java.lang.String sequence()
Version
sequence in interface Version
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||