org.glassfish.admingui.plugin
Class IntegrationPoint

java.lang.Object
  extended by org.glassfish.admingui.plugin.IntegrationPoint
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class IntegrationPoint
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

An IntegrationPoint represents the data necessary to describe a particular integration point into the admin console. Some examples of integration points include:

The design of this data structure is intentionally very general so that this data structure can be applied to a wide range of situations. It also intentionally does not refer to gui concepts such as "tree" or other UI elements so that these concepts be independent of this data as much as possible. This will allow some flexibility by the consumer of this data to render it in an appropriate way (to some extent). This will however, be limited by the content of the data this structure refers to (if any).

The IntegrationPoint contains the following properties:

All values in this class are immutable.

Author:
Ken Paulsen (ken.paulsen@sun.com)
See Also:
Serialized Form

Constructor Summary
IntegrationPoint()
           Default constructor.
 
Method Summary
 java.lang.String getConsoleConfigId()
           This provides access to the ConsoleConfig which provided this IntegrationPoint.
 java.lang.String getContent()
           A reference to extra information needed to use this IntegrationPoint.
 java.lang.String getId()
           The identifier of this IntegrationPoint.
 java.lang.String getParentId()
           The parent identifier.
 int getPriority()
           This specifies the relative priority of this IntegrationPoint.
 java.lang.String getType()
           This specifies the type of this IntegrationPoint.
 java.lang.String toString()
           Overrides the toString() method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IntegrationPoint

public IntegrationPoint()

Default constructor.

Method Detail

getId

public java.lang.String getId()

The identifier of this IntegrationPoint.


getType

public java.lang.String getType()

This specifies the type of this IntegrationPoint. The type might specify that this integration is a "navigation" integration, "help" integration, "applicationPage" integration, or any other supported integration type.


getParentId

public java.lang.String getParentId()

The parent identifier. Useful when an IntegrationPoint needs to refer to another integration point (such as when specifying which TreeNode to fall under.


getContent

public java.lang.String getContent()

A reference to extra information needed to use this IntegrationPoint. An example might be a .jsf page reference which should be included. Or a location used to find HelpSet information.


getPriority

public int getPriority()

This specifies the relative priority of this IntegrationPoint. This may be used for sorting multiple IntegrationPoints, or for other implementation-specific purposes.


toString

public java.lang.String toString()

Overrides the toString() method.

Overrides:
toString in class java.lang.Object

getConsoleConfigId

public java.lang.String getConsoleConfigId()

This provides access to the ConsoleConfig which provided this IntegrationPoint.



Copyright © 2012 GlassFish Community. All Rights Reserved.