lumis.portal.structure
Class GenericStructureElementPropertiesAccessor

Package class diagram package GenericStructureElementPropertiesAccessor
java.lang.Object
  extended by lumis.portal.structure.GenericStructureElementPropertiesAccessor
All Implemented Interfaces:
IStructureElementPropertiesAccessor

public class GenericStructureElementPropertiesAccessor
extends Object
implements IStructureElementPropertiesAccessor

A generic implementation class for IStructureElementPropertiesAccessor.

Since:
5.6.0

Constructor Summary
GenericStructureElementPropertiesAccessor(StructureElement structureElement)
          The constructor for GenericStructureElementPropertiesAccessor.
 
Method Summary
 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 given propertyValue property value for a given propertyName property name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericStructureElementPropertiesAccessor

public GenericStructureElementPropertiesAccessor(StructureElement structureElement)
The constructor for GenericStructureElementPropertiesAccessor.

Parameters:
structureElement - the element whose properties are accessed.
Since:
5.6.0
Method Detail

getPropertyLocalValue

public String getPropertyLocalValue(String propertyName)

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 interface IStructureElementPropertiesAccessor
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 interface IStructureElementPropertiesAccessor
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 given propertyValue property value for a given propertyName property name.

Specified by:
setPropertyValue in interface IStructureElementPropertiesAccessor
Parameters:
propertyName - the property name
propertyValue - the property value


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