com.softwareag.centrasite.api.configurator
Class ConfiguratorItem

java.lang.Object
  extended by com.softwareag.centrasite.api.configurator.ConfiguratorItem

public class ConfiguratorItem
extends java.lang.Object


Constructor Summary
ConfiguratorItem(java.lang.String xpath, java.lang.String val, java.util.HashMap<java.lang.String,java.lang.String> attributes)
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.String> getAttributes()
           
 java.lang.String getAttributeValue(java.lang.String attribute)
          Gets the value for the attribute
 java.lang.String getPath()
           
 java.lang.String getValue()
           
 boolean isProtected()
           
 void removeAttribute(java.lang.String attribute)
           
 void setAttributes(java.util.HashMap<java.lang.String,java.lang.String> attributes)
           
 void setAttributeValue(java.lang.String attribute, java.lang.String attrValue)
           
 void setProtected(boolean isProtected)
           
 void setValue(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfiguratorItem

public ConfiguratorItem(java.lang.String xpath,
                        java.lang.String val,
                        java.util.HashMap<java.lang.String,java.lang.String> attributes)
                 throws CLLException
Parameters:
xpath -
val -
attributes -
Throws:
CLLException
Method Detail

getPath

public java.lang.String getPath()
Returns:
the xpath

getAttributes

public java.util.Map<java.lang.String,java.lang.String> getAttributes()
Returns:
the attributes

setAttributes

public void setAttributes(java.util.HashMap<java.lang.String,java.lang.String> attributes)
Parameters:
attributes - the attributes to set

getValue

public java.lang.String getValue()
Returns:
the value

setValue

public void setValue(java.lang.String value)
Parameters:
value - the value to set

isProtected

public boolean isProtected()
Returns:
the isProtected

setProtected

public void setProtected(boolean isProtected)
Parameters:
isProtected - the isProtected to set

getAttributeValue

public java.lang.String getAttributeValue(java.lang.String attribute)
Gets the value for the attribute

Parameters:
attribute -
Returns:
value for the passed attribute

setAttributeValue

public void setAttributeValue(java.lang.String attribute,
                              java.lang.String attrValue)
Parameters:
attribute -
attrValue -

removeAttribute

public void removeAttribute(java.lang.String attribute)
Parameters:
attribute -