| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.1) E67661-01  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
  
oracle.jdeveloper.history.RevisionIdentifier
public class RevisionIdentifier
Class of objects returned from HistoryEntry.getValue() for the SharedProperties.REVISION property. This simply consists of an icon and a string.
| Constructor Summary | |
|---|---|
RevisionIdentifier(javax.swing.Icon icon, java.lang.String label)Construct the identifier.  | 
|
| Method Summary | |
|---|---|
 int | 
compareTo(java.lang.Object o) | 
 boolean | 
equals(java.lang.Object that)Simple implementation of equals() that compares two RevisionIdentifiers based on their label.  | 
 javax.swing.Icon | 
getIcon()Get the icon.  | 
 java.lang.String | 
getLabel()Get the label.  | 
 boolean | 
isCurrent()Get whether this identifies the current document revision.  | 
 void | 
setCurrent(boolean current)Set whether this identifies the current document revision.  | 
 java.lang.String | 
toString() | 
| Methods inherited from class java.lang.Object | 
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public RevisionIdentifier(javax.swing.Icon icon,
                          java.lang.String label)
icon - the iconrevision - the revision number (and label).| Method Detail | 
|---|
public int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparablepublic javax.swing.Icon getIcon()
public java.lang.String getLabel()
public void setCurrent(boolean current)
current - true if the revision is current.public boolean isCurrent()
true if the revision is current.public boolean equals(java.lang.Object that)
equals in class java.lang.Objectthat - the other object to compare withpublic java.lang.String toString()
toString in class java.lang.Object
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.1) E67661-01  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||