Package lumis.portal.structure
Class GenericStructureElementPropertiesAccessor
- java.lang.Object
-
- lumis.portal.structure.GenericStructureElementPropertiesAccessor
-
- All Implemented Interfaces:
IStructureElementPropertiesAccessor
public class GenericStructureElementPropertiesAccessor extends Object implements IStructureElementPropertiesAccessor
A generic implementation class forIStructureElementPropertiesAccessor
.- Since:
- 5.6.0
- Version:
- $Revision: 11804 $ $Date: 2010-07-29 10:06:21 -0300 (Thu, 29 Jul 2010) $
-
-
Constructor Summary
Constructors Constructor Description GenericStructureElementPropertiesAccessor(StructureElement structureElement)
The constructor forGenericStructureElementPropertiesAccessor
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPropertyLocalValue(String propertyName)
String
getPropertyValue(String propertyName)
Returns the property value for a given property name.void
removeProperty(String propertyName)
Removes a property for a given property name from the local property structure map.void
setPropertyValue(String propertyName, String propertyValue)
Sets on the local property structure map a givenpropertyValue
property value for a givenpropertyName
property name.
-
-
-
Constructor Detail
-
GenericStructureElementPropertiesAccessor
public GenericStructureElementPropertiesAccessor(StructureElement structureElement)
The constructor forGenericStructureElementPropertiesAccessor
.- Parameters:
structureElement
- the element whose properties are accessed.- Since:
- 5.6.0
-
-
Method Detail
-
getPropertyValue
public String getPropertyValue(String propertyName)
Description copied from interface:IStructureElementPropertiesAccessor
Returns the property value for a given property name. The property value could be local or inherited.- Specified by:
getPropertyValue
in interfaceIStructureElementPropertiesAccessor
- Parameters:
propertyName
- the property name.- Returns:
- the property value.
-
removeProperty
public void removeProperty(String propertyName)
Description copied from interface:IStructureElementPropertiesAccessor
Removes a property for a given property name from the local property structure map.- Specified by:
removeProperty
in interfaceIStructureElementPropertiesAccessor
- Parameters:
propertyName
- the name of the property to be removed.
-
setPropertyValue
public void setPropertyValue(String propertyName, String propertyValue)
Description copied from interface:IStructureElementPropertiesAccessor
Sets on the local property structure map a givenpropertyValue
property value for a givenpropertyName
property name.- Specified by:
setPropertyValue
in interfaceIStructureElementPropertiesAccessor
- Parameters:
propertyName
- the property namepropertyValue
- the property value
-
-