org.fusesource.web.console.client.common
Class MBeanName

java.lang.Object
  extended by org.fusesource.web.console.client.common.MBeanName
All Implemented Interfaces:
java.io.Serializable, Name

public class MBeanName
extends java.lang.Object
implements java.io.Serializable, Name

Version:
$Revision: 1.1 $
See Also:
Serialized Form

Constructor Summary
MBeanName()
           
MBeanName(java.lang.String domain, java.lang.String canonicalName, java.lang.String[] treePath, java.util.Map keyPropertyList, MBeanAttribute[] attributes)
           
 
Method Summary
 MBeanAttribute getAttribute(java.lang.String name)
           
static MBeanAttribute getAttribute(java.lang.String name, MBeanAttribute[] attributeArray)
           
 MBeanAttribute[] getAttributes()
           
 java.lang.String getCanonicalName()
           
 MBeanAttribute[] getChartAttributes()
           
 java.util.List<MBeanAttribute> getChildrenAttributes()
           
 java.lang.String getDomain()
           
 java.util.Map getKeyPropertyList()
           
 java.lang.String getName()
           
 java.lang.String getProperty(java.lang.String name)
           
 java.lang.String[] getTreePath()
           
 java.lang.String getType()
           
static boolean isBlank(java.lang.String text)
           
 void setAttributes(MBeanAttribute[] attributes)
           
 void setCanonicalName(java.lang.String canonicalName)
           
 void setDomain(java.lang.String domain)
           
 void setKeyPropertyList(java.util.Map keyPropertyList)
           
 void setTreePath(java.lang.String[] treePath)
           
 java.lang.String toString()
           
 void update(MBeanName newData)
          Updates the data from the new value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MBeanName

public MBeanName()

MBeanName

public MBeanName(java.lang.String domain,
                 java.lang.String canonicalName,
                 java.lang.String[] treePath,
                 java.util.Map keyPropertyList,
                 MBeanAttribute[] attributes)
Method Detail

update

public void update(MBeanName newData)
Updates the data from the new value


getAttributes

public MBeanAttribute[] getAttributes()

getAttribute

public MBeanAttribute getAttribute(java.lang.String name)

getAttribute

public static MBeanAttribute getAttribute(java.lang.String name,
                                          MBeanAttribute[] attributeArray)

getChartAttributes

public MBeanAttribute[] getChartAttributes()

setAttributes

public void setAttributes(MBeanAttribute[] attributes)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getDomain

public java.lang.String getDomain()

setDomain

public void setDomain(java.lang.String domain)

getCanonicalName

public java.lang.String getCanonicalName()

setCanonicalName

public void setCanonicalName(java.lang.String canonicalName)

getKeyPropertyList

public java.util.Map getKeyPropertyList()

setKeyPropertyList

public void setKeyPropertyList(java.util.Map keyPropertyList)

getType

public java.lang.String getType()

getName

public java.lang.String getName()
Specified by:
getName in interface Name

getTreePath

public java.lang.String[] getTreePath()

setTreePath

public void setTreePath(java.lang.String[] treePath)

isBlank

public static boolean isBlank(java.lang.String text)

getProperty

public java.lang.String getProperty(java.lang.String name)

getChildrenAttributes

public java.util.List<MBeanAttribute> getChildrenAttributes()


Copyright © 2009 FuseSource. All Rights Reserved.