|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.workplace.comparison.CmsAttributeComparison
org.opencms.workplace.comparison.CmsElementComparison
public class CmsElementComparison
Comparison of two xml page elements.
Constructor Summary | |
---|---|
CmsElementComparison(java.util.Locale locale,
java.lang.String name)
Creates a new element comparison. |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o)
|
boolean |
equals(java.lang.Object o)
|
java.util.Locale |
getLocale()
Returns the locale. |
int |
hashCode()
|
void |
setLocale(java.util.Locale locale)
Sets the locale. |
Methods inherited from class org.opencms.workplace.comparison.CmsAttributeComparison |
---|
getName, getStatus, getVersion1, getVersion2, setName, setStatus, setVersion1, setVersion2 |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CmsElementComparison(java.util.Locale locale, java.lang.String name)
locale
- the locale of the comparisonname
- the name of the elementMethod Detail |
---|
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
Comparable.compareTo(java.lang.Object)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public java.util.Locale getLocale()
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public void setLocale(java.util.Locale locale)
locale
- the locale to set
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |