|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlumis.portal.structure.sync.model.propertybag.PropertyBag
public class PropertyBag
Property bag model.
Documentation in this class focus synchronization behavior. About
the use behind the fields in the portal,
see PropertyBag
.
PropertyBag
,
Serialized FormConstructor Summary | |
---|---|
PropertyBag()
|
Method Summary | |
---|---|
String |
getId()
|
String |
getParentPropertyBagId()
|
List<Property> |
getProperties()
|
String |
getValue(String propertyName)
Returns the value of the given property. |
boolean |
isDefault()
Returns whether this object is equivalent to the default value. |
boolean |
isEquivalent(Object obj)
Returns whether this object is equivalent to the given object. |
List<String> |
removeProperties(String propertyName)
Removes and returns the values of the given property. |
String |
removeProperty(String propertyName)
|
void |
setDefaultValue(String propertyName,
String value)
|
void |
setDefaultValue(String propertyName,
String value,
Property.InheritMode inheritMode)
Sets the default value. |
void |
setDefaultValues(String propertyName,
List<String> values)
Sets the property default values. |
void |
setDefaultValues(String propertyName,
List<String> values,
Property.InheritMode inheritMode)
Sets the property default values. |
void |
setId(String id)
|
void |
setParentPropertyBagId(String parentPropertyBagId)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyBag()
Method Detail |
---|
public boolean isDefault()
IDefaultAware
isDefault
in interface IDefaultAware
public boolean isEquivalent(Object obj)
ICustomEquivalence
isEquivalent
in interface ICustomEquivalence
obj
- the object to compare with.
public String getId()
public void setId(String id)
public String getParentPropertyBagId()
public void setParentPropertyBagId(String parentPropertyBagId)
public List<Property> getProperties()
public String removeProperty(String propertyName)
public List<String> removeProperties(String propertyName)
propertyName
- the property name.
null
if there's no such property.public void setDefaultValue(String propertyName, String value)
public void setDefaultValue(String propertyName, String value, Property.InheritMode inheritMode)
propertyName
- the property name.value
- the value.inheritMode
- the Property.InheritMode
.public void setDefaultValues(String propertyName, List<String> values)
propertyName
- the property name.values
- the values.public void setDefaultValues(String propertyName, List<String> values, Property.InheritMode inheritMode)
propertyName
- the property name.values
- the values.inheritMode
- the Property.InheritMode
.public String getValue(String propertyName)
propertyName
- the property name.
null
if there's no such property.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |