org.jboss.kernel.plugins.deployment.props.vertex
Class ValueMetaDataAwareVertex<U extends ValueMetaDataAware,T extends org.jboss.util.graph.Vertex<String>>

java.lang.Object
  extended by org.jboss.util.graph.Vertex<String>
      extended by org.jboss.kernel.plugins.deployment.props.TreeVertex<T>
          extended by org.jboss.kernel.plugins.deployment.props.vertex.ValueMetaDataAwareVertex<U,T>
Type Parameters:
U - exact ValueMetaDataAware type
T - exact parent type
All Implemented Interfaces:
ValueMetaDataAware

public abstract class ValueMetaDataAwareVertex<U extends ValueMetaDataAware,T extends org.jboss.util.graph.Vertex<String>>
extends TreeVertex<T>
implements ValueMetaDataAware

Value aware vertex.

Author:
Ales Justin

Field Summary
protected  U delegate
           
 
Fields inherited from class org.jboss.kernel.plugins.deployment.props.TreeVertex
log
 
Constructor Summary
protected ValueMetaDataAwareVertex(String n)
           
 
Method Summary
protected abstract  U createValueMetaDataAware()
          Create value meta data aware instance.
 ValueMetaData getValue()
          Get the value.
 void setValue(ValueMetaData value)
          Set the value.
 
Methods inherited from class org.jboss.kernel.plugins.deployment.props.TreeVertex
getChildren, getLastToken, getNext, getParent, getPrevious, visit, visit
 
Methods inherited from class org.jboss.util.graph.Vertex
addEdge, addIncomingEdge, addOutgoingEdge, clearMark, cost, findEdge, findEdge, getData, getIncomingEdge, getIncomingEdgeCount, getIncomingEdges, getMarkState, getName, getOutgoingEdge, getOutgoingEdgeCount, getOutgoingEdges, hasEdge, hasEdge, mark, remove, setData, setMarkState, toString, visited
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

delegate

protected U extends ValueMetaDataAware delegate
Constructor Detail

ValueMetaDataAwareVertex

protected ValueMetaDataAwareVertex(String n)
Method Detail

createValueMetaDataAware

protected abstract U createValueMetaDataAware()
Create value meta data aware instance.

Returns:
ValueMetaDataAware instance

getValue

public ValueMetaData getValue()
Description copied from interface: ValueMetaDataAware
Get the value.

Specified by:
getValue in interface ValueMetaDataAware
Returns:
the value.

setValue

public void setValue(ValueMetaData value)
Description copied from interface: ValueMetaDataAware
Set the value.

Specified by:
setValue in interface ValueMetaDataAware
Parameters:
value - the value


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