org.opencms.workplace.comparison
Class CmsXmlContentElementComparison

java.lang.Object
  extended by org.opencms.workplace.comparison.CmsAttributeComparison
      extended by org.opencms.workplace.comparison.CmsElementComparison
          extended by org.opencms.workplace.comparison.CmsXmlContentElementComparison
All Implemented Interfaces:
java.lang.Comparable

public class CmsXmlContentElementComparison
extends CmsElementComparison

Comparison of two xml content elements.

Author:
Jan Baudisch

Constructor Summary
CmsXmlContentElementComparison(java.util.Locale locale, java.lang.String name, java.lang.String type)
          Creates a new element comparison.
 
Method Summary
 java.lang.String getType()
          Returns the type.
 void setType(java.lang.String type)
          Sets the type.
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsXmlContentElementComparison

public CmsXmlContentElementComparison(java.util.Locale locale,
                                      java.lang.String name,
                                      java.lang.String type)
Creates a new element comparison.

Parameters:
locale - the locale of the compared element
type - the type of the compared element
name - the name of the compared element
Method Detail

getType

public java.lang.String getType()
Returns the type.

Returns:
the type

setType

public void setType(java.lang.String type)
Sets the type.

Parameters:
type - the type to set