org.jboss.system.metadata
Class ServiceAttributeMetaData

java.lang.Object
  extended by org.jboss.system.metadata.AbstractMetaDataVisitorNode
      extended by org.jboss.system.metadata.ServiceAttributeMetaData
All Implemented Interfaces:
Serializable, ServiceMetaDataVisitorNode

public class ServiceAttributeMetaData
extends AbstractMetaDataVisitorNode
implements Serializable

ServiceAttributeMetaData.

Version:
$Revision: 85945 $
Author:
Adrian Brock
See Also:
Serialized Form

Constructor Summary
ServiceAttributeMetaData()
           
 
Method Summary
protected  void addChildren(Set<ServiceMetaDataVisitorNode> children)
          Add to the children
 String getName()
          Get the name.
 ServiceValueMetaData getValue()
          Get the value.
 Object getValue(ServiceValueContext valueContext)
          Get the value
 boolean isReplace()
          Get the replace.
 boolean isTrim()
          Get the trim.
 void setName(String name)
          Set the name.
 void setReplace(boolean replace)
          Set the replace.
 void setTrim(boolean trim)
          Set the trim.
 void setValue(ServiceValueMetaData value)
          Set the value.
 void visit(ServiceMetaDataVisitor visitor)
          Visit the node
 
Methods inherited from class org.jboss.system.metadata.AbstractMetaDataVisitorNode
getChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceAttributeMetaData

public ServiceAttributeMetaData()
Method Detail

getName

public String getName()
Get the name.

Returns:
the name.

setName

public void setName(String name)
Set the name.

Parameters:
name - the name.

isReplace

public boolean isReplace()
Get the replace.

Returns:
the replace.

setReplace

public void setReplace(boolean replace)
Set the replace.

Parameters:
replace - the replace.

isTrim

public boolean isTrim()
Get the trim.

Returns:
the trim.

setTrim

public void setTrim(boolean trim)
Set the trim.

Parameters:
trim - the trim.

getValue

public ServiceValueMetaData getValue()
Get the value.

Returns:
the value.

setValue

public void setValue(ServiceValueMetaData value)
Set the value.

Parameters:
value - the value.

getValue

public Object getValue(ServiceValueContext valueContext)
                throws Exception
Get the value

Parameters:
valueContext - the value context
Returns:
the value
Throws:
Exception - for any error

visit

public void visit(ServiceMetaDataVisitor visitor)
Description copied from interface: ServiceMetaDataVisitorNode
Visit the node

Specified by:
visit in interface ServiceMetaDataVisitorNode
Overrides:
visit in class AbstractMetaDataVisitorNode
Parameters:
visitor - the visitor

addChildren

protected void addChildren(Set<ServiceMetaDataVisitorNode> children)
Description copied from class: AbstractMetaDataVisitorNode
Add to the children

Overrides:
addChildren in class AbstractMetaDataVisitorNode
Parameters:
children - the children


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.