org.apache.qpid.management.web.action
Class BrokerModel

java.lang.Object
  extended by org.apache.qpid.management.web.action.BrokerModel

public class BrokerModel
extends Object

Value Object encapsulating a broker management domain model.


Constructor Summary
BrokerModel()
           
 
Method Summary
(package private)  void addObject(ObjectName name)
          Adds a new object to this domain model.
 List<ObjectName> getCategory(String name)
           
 int getCategoryCount()
           
 Set<String> getCategoryNames()
           
 String getId()
          Gets the identifier of the owner of this model.
 void setId(String id)
          Sets the identifier of the owner of this model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrokerModel

public BrokerModel()
Method Detail

addObject

void addObject(ObjectName name)
Adds a new object to this domain model.

Parameters:
name - the object name of the JMX entity.

getId

public String getId()
Gets the identifier of the owner of this model.

Returns:
the identifier of the owner of this model.

setId

public void setId(String id)
Sets the identifier of the owner of this model.

Parameters:
id - the identifier of the owner of this model.

getCategoryNames

public Set<String> getCategoryNames()

getCategory

public List<ObjectName> getCategory(String name)

getCategoryCount

public int getCategoryCount()


Licensed to the Apache Software Foundation