org.rhq.helpers.perftest.support.config
Class Entity
java.lang.Object
org.rhq.helpers.perftest.support.config.Entity
public class Entity
- extends Object
Represents an entity in the dependency graph.
- Author:
- Lukas Krejci
Entity
public Entity()
getRelationships
public Set<Relationship> getRelationships()
- Returns:
- the relationships defined on this entity.
setRelationships
public void setRelationships(Set<Relationship> relationships)
getName
public String getName()
- Returns:
- the name of this entity
setName
public void setName(String name)
isIncludeAllFields
public boolean isIncludeAllFields()
- Returns:
- true if all fields on this entity are considered as included
(as opposed to explicitly defined in the
getRelationships()).
setIncludeAllFields
public void setIncludeAllFields(Boolean allDependents)
- Parameters:
allDependents - the allDependents to set
isRoot
public boolean isRoot()
- Returns:
- true if this entity is to be considered the root of the exported hierarchy.
The root entities are considered the base of the exported entity graph. All other non-root
entities only contain additional configuration for given resources should they appear
in the entity dependency graph as a dependency or dependent of some of the root entities.
setRoot
public void setRoot(boolean root)
getFilter
public String getFilter()
- Returns:
- the SQL statement that returns the primary keys to be considered. Setting this
property only makes sense for
root entities.
setFilter
public void setFilter(String filter)
- Parameters:
filter - the filter to set
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object other)
- Overrides:
equals in class Object
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.