com.softwareag.centrasite.api.configurator
Class ConfiguratorItem
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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
-