Package org.opencms.workplace.comparison
Class CmsXmlContentElementComparison
java.lang.Object
org.opencms.workplace.comparison.CmsAttributeComparison
org.opencms.workplace.comparison.CmsElementComparison
org.opencms.workplace.comparison.CmsXmlContentElementComparison
- All Implemented Interfaces:
Comparable<CmsElementComparison>
Comparison of two xml content elements.
-
Constructor Summary
ConstructorDescriptionCmsXmlContentElementComparison
(Locale locale, String name, String type) Creates a new element comparison. -
Method Summary
Methods inherited from class org.opencms.workplace.comparison.CmsElementComparison
compareTo, equals, getLocale, hashCode, setLocale
Methods inherited from class org.opencms.workplace.comparison.CmsAttributeComparison
getName, getStatus, getVersion1, getVersion2, setName, setStatus, setVersion1, setVersion2
-
Constructor Details
-
CmsXmlContentElementComparison
Creates a new element comparison.- Parameters:
locale
- the locale of the compared elementtype
- the type of the compared elementname
- the name of the compared element
-
-
Method Details
-
getType
Returns the type.- Returns:
- the type
-
setType
Sets the type.- Parameters:
type
- the type to set
-