Package lumis.portal.structure
Class GenericStructureElementPropertiesAccessor
- java.lang.Object
-
- lumis.portal.structure.GenericStructureElementPropertiesAccessor
-
- All Implemented Interfaces:
IStructureElementPropertiesAccessor
public class GenericStructureElementPropertiesAccessor extends java.lang.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 java.lang.String
getPropertyLocalValue(java.lang.String propertyName)
java.lang.String
getPropertyValue(java.lang.String propertyName)
Returns the property value for a given property name.void
removeProperty(java.lang.String propertyName)
Removes a property for a given property name from the local property structure map.void
setPropertyValue(java.lang.String propertyName, java.lang.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
-
getPropertyLocalValue
public java.lang.String getPropertyLocalValue(java.lang.String propertyName)
-
getPropertyValue
public java.lang.String getPropertyValue(java.lang.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(java.lang.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(java.lang.String propertyName, java.lang.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
-
-