Class Property
- java.lang.Object
-
- lumis.portal.structure.sync.model.propertybag.Property
-
- All Implemented Interfaces:
java.io.Serializable
,ICustomEquivalence
public class Property extends java.lang.Object implements ICustomEquivalence, java.io.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: 25199 $ $Date: 2022-09-05 18:27:38 -0300 (Mon, 05 Sep 2022) $
- 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 java.lang.String
getDefaultValue()
java.util.List<java.lang.String>
getDefaultValues()
Returns the default value list ornull
if there's no property default.Property.InheritMode
getInheritMode()
java.lang.String
getName()
boolean
isEquivalent(java.lang.Object obj)
Returns whether this object is equivalent to the given object.void
setInheritMode(Property.InheritMode inheritMode)
-
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getInheritMode
public Property.InheritMode getInheritMode()
-
setInheritMode
public void setInheritMode(Property.InheritMode inheritMode)
-
getDefaultValue
public java.lang.String getDefaultValue()
-
getDefaultValues
public java.util.List<java.lang.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(java.lang.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.
-
-