Class CmsPropertyCompareBean
- java.lang.Object
-
- org.opencms.ui.dialogs.history.diff.CmsPropertyCompareBean
-
public class CmsPropertyCompareBean extends java.lang.Object
Represents a row in an attribute comparison table.
-
-
Constructor Summary
Constructors Constructor Description CmsPropertyCompareBean(CmsAttributeComparison comp)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getProperty()
Gets the attribute name.java.lang.String
getV1()
Gets the value for the first version.java.lang.String
getV2()
Gets the value for the second version.
-
-
-
Constructor Detail
-
CmsPropertyCompareBean
public CmsPropertyCompareBean(CmsAttributeComparison comp)
Creates a new instance.- Parameters:
comp
- an attribute comparison
-
-
Method Detail
-
getProperty
public java.lang.String getProperty()
Gets the attribute name.- Returns:
- the attribute name
-
getV1
public java.lang.String getV1()
Gets the value for the first version.- Returns:
- the first version's value
-
getV2
public java.lang.String getV2()
Gets the value for the second version.- Returns:
- the second version's value
-
-