org.apache.qpid.console
Class QMFObject

java.lang.Object
  extended by org.apache.qpid.console.QMFObject

public class QMFObject
extends Object


Field Summary
 HashMap<String,Object> properties
           
protected  SchemaClass schema
           
 HashMap<String,Object> statistics
           
 
Constructor Summary
QMFObject()
           
QMFObject(QMFObject source)
           
QMFObject(Session session, SchemaClass schema, boolean hasProperties, boolean hasStats, boolean isManaged)
           
QMFObject(Session session, SchemaClass schema, org.apache.qpid.transport.codec.Decoder dec, boolean hasProperties, boolean hasStats, boolean isManaged)
           
 
Method Summary
 long agentBank()
           
 long brokerBank()
           
 void encode(org.apache.qpid.transport.codec.Encoder enc)
           
 Date getCreateTime()
           
 Date getCurrentTime()
           
 Date getDeleteTime()
           
protected  ArrayList<SchemaMethod> getMethods()
           
 ObjectID getObjectID()
           
 Object getProperty(String attributeName)
           
 SchemaClass getSchema()
           
 Session getSession()
           
protected  MethodResult internalInvokeMethod(String name, List<Object> args, boolean synchronous, int timeToLive)
           
 MethodResult invokeMethod(String name, boolean synchronous, int timeToLive, Object... args)
           
 MethodResult invokeMethod(String name, boolean synchronous, Object... args)
           
 MethodResult invokeMethod(String name, int timeToLive, Object... args)
           
 MethodResult invokeMethod(String name, Object... args)
           
 boolean isDeleted()
           
protected  ArrayList<String> processPresenceMasks(org.apache.qpid.transport.codec.Decoder dec, SchemaClass schema)
           
 String routingKey()
           
protected  void safeAddProperty(String propName, Object value)
           
 void setCreateTime(Date value)
           
 void setCurrentTime(Date value)
           
 void setDeleteTime(Date value)
           
 void setObjectID(ObjectID value)
           
 void setProperty(String attributeName, Object newValue)
           
 void setSchema(SchemaClass value)
           
 void setSession(Session value)
           
protected  void setStatistic(String attributeName, Object newValue)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

schema

protected SchemaClass schema

properties

public HashMap<String,Object> properties

statistics

public HashMap<String,Object> statistics
Constructor Detail

QMFObject

public QMFObject()

QMFObject

public QMFObject(QMFObject source)

QMFObject

public QMFObject(Session session,
                 SchemaClass schema,
                 boolean hasProperties,
                 boolean hasStats,
                 boolean isManaged)

QMFObject

public QMFObject(Session session,
                 SchemaClass schema,
                 org.apache.qpid.transport.codec.Decoder dec,
                 boolean hasProperties,
                 boolean hasStats,
                 boolean isManaged)
Method Detail

agentBank

public final long agentBank()

brokerBank

public final long brokerBank()

encode

public final void encode(org.apache.qpid.transport.codec.Encoder enc)

getCreateTime

public final Date getCreateTime()

getCurrentTime

public final Date getCurrentTime()

getDeleteTime

public final Date getDeleteTime()

getMethods

protected final ArrayList<SchemaMethod> getMethods()

getObjectID

public final ObjectID getObjectID()

getProperty

public final Object getProperty(String attributeName)

getSchema

public SchemaClass getSchema()

getSession

public final Session getSession()

internalInvokeMethod

protected final MethodResult internalInvokeMethod(String name,
                                                  List<Object> args,
                                                  boolean synchronous,
                                                  int timeToLive)

invokeMethod

public final MethodResult invokeMethod(String name,
                                       boolean synchronous,
                                       int timeToLive,
                                       Object... args)

invokeMethod

public final MethodResult invokeMethod(String name,
                                       boolean synchronous,
                                       Object... args)

invokeMethod

public final MethodResult invokeMethod(String name,
                                       int timeToLive,
                                       Object... args)

invokeMethod

public final MethodResult invokeMethod(String name,
                                       Object... args)

isDeleted

public final boolean isDeleted()

processPresenceMasks

protected final ArrayList<String> processPresenceMasks(org.apache.qpid.transport.codec.Decoder dec,
                                                       SchemaClass schema)

routingKey

public final String routingKey()

safeAddProperty

protected final void safeAddProperty(String propName,
                                     Object value)

setCreateTime

public final void setCreateTime(Date value)

setCurrentTime

public final void setCurrentTime(Date value)

setDeleteTime

public final void setDeleteTime(Date value)

setObjectID

public final void setObjectID(ObjectID value)

setProperty

public final void setProperty(String attributeName,
                              Object newValue)

setSchema

public void setSchema(SchemaClass value)

setSession

public final void setSession(Session value)

setStatistic

protected final void setStatistic(String attributeName,
                                  Object newValue)

toString

public String toString()
Overrides:
toString in class Object


Licensed to the Apache Software Foundation