Class Property
- java.lang.Object
-
- lumis.portal.structure.sync.model.propertybag.Property
-
- All Implemented Interfaces:
Serializable
,ICustomEquivalence
public class Property extends Object implements ICustomEquivalence, Serializable
PropertyBag's property.Documentation in this class focus synchronization behavior. About the use behind the fields in the portal, see
Property
.- Since:
- 6.2.0
- Version:
- $Revision: 24343 $ $Date: 2021-02-03 16:37:03 -0300 (Wed, 03 Feb 2021) $
- See Also:
PropertyBag
,Property
, Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Property.InheritMode
Options forinheritMode
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDefaultValue()
List<String>
getDefaultValues()
Returns the default value list ornull
if there's no property default.Property.InheritMode
getInheritMode()
String
getName()
boolean
isEquivalent(Object obj)
Returns whether this object is equivalent to the given object.void
setInheritMode(Property.InheritMode inheritMode)
-
-
-
Method Detail
-
getName
public String getName()
-
getInheritMode
public Property.InheritMode getInheritMode()
-
setInheritMode
public void setInheritMode(Property.InheritMode inheritMode)
-
getDefaultValue
public String getDefaultValue()
-
getDefaultValues
public List<String> getDefaultValues()
Returns the default value list ornull
if there's no property default.- Returns:
- the default value list or
null
if there's no property default. - Since:
- 7.0.0
-
isEquivalent
public boolean isEquivalent(Object obj)
Description copied from interface:ICustomEquivalence
Returns whether this object is equivalent to the given object. If the object is equivalent, it will not need to be updated during synchronization.- Specified by:
isEquivalent
in interfaceICustomEquivalence
- Parameters:
obj
- the object to compare with.- Returns:
- true if the objects are equivalent, false otherwise.
-
-