org.jboss.dna.graph.commands.basic
Class BasicGetNodeCommand
java.lang.Object
org.jboss.dna.graph.commands.basic.BasicGraphCommand
org.jboss.dna.graph.commands.basic.BasicGetChildrenCommand
org.jboss.dna.graph.commands.basic.BasicGetNodeCommand
- All Implemented Interfaces:
- Serializable, Cacheable, ActsOnPath, GetChildrenCommand, GetNodeCommand, GetPropertiesCommand, GraphCommand
- Direct Known Subclasses:
- FederatedNode
@NotThreadSafe
public class BasicGetNodeCommand
- extends BasicGetChildrenCommand
- implements GetNodeCommand
- Author:
- Randall Hauch
- See Also:
- Serialized Form
BasicGetNodeCommand
public BasicGetNodeCommand(Path path)
- Parameters:
path
-
setProperty
public void setProperty(Property property)
- Set the values for the named property. Any existing property values, if previously set, will be overwritten. If there are
no property vlaues or if all of the property values are null, the property will be removed.
- Specified by:
setProperty
in interface GetPropertiesCommand
- Parameters:
property
- the property
setProperties
public void setProperties(Map<Name,Property> properties)
getProperties
public Collection<Property> getProperties()
- Get the property values that were added to the command
- Returns:
- the map of property name to values
getPropertiesByName
public Map<Name,Property> getPropertiesByName()
toString
public String toString()
-
- Overrides:
toString
in class BasicGetChildrenCommand
- See Also:
Object.toString()
Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.