lumis.portal.structure.sync.model.propertybag
Class PropertyBag

Package class diagram package PropertyBag
java.lang.Object
  extended by lumis.portal.structure.sync.model.propertybag.PropertyBag
All Implemented Interfaces:
Serializable, ICustomEquivalence, IDefaultAware

public class PropertyBag
extends Object
implements IDefaultAware, ICustomEquivalence, Serializable

Property bag model.

Documentation in this class focus synchronization behavior. About the use behind the fields in the portal, see PropertyBag.

Since:
6.2.0
See Also:
PropertyBag, Serialized Form

Constructor Summary
PropertyBag()
           
 
Method Summary
 String getId()
           
 String getParentPropertyBagId()
           
 List<Property> getProperties()
           
 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.
 String removeProperty(String propertyName)
           
 void setDefaultValue(String propertyName, String value)
           
 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

PropertyBag

public PropertyBag()
Method Detail

isDefault

public boolean isDefault()
Description copied from interface: IDefaultAware
Returns whether this object is equivalent to the default value.

Specified by:
isDefault in interface IDefaultAware
Returns:
true if this object is equivalent to the default value, false otherwise.

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 interface ICustomEquivalence
Parameters:
obj - the object to compare with.
Returns:
true if the objects are equivalent, false otherwise.

getId

public String getId()

setId

public void setId(String id)

getParentPropertyBagId

public String getParentPropertyBagId()

setParentPropertyBagId

public void setParentPropertyBagId(String parentPropertyBagId)

getProperties

public List<Property> getProperties()

removeProperty

public String removeProperty(String propertyName)

setDefaultValue

public void setDefaultValue(String propertyName,
                            String value)


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.