|
Version: 1.1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.biomoby.service.dashboard.CommonNode
public class CommonNode
A common node for various tree used in the dashboard. It contains two Strings - one is used to display the node ('name'), the second one to keep the real meaning of the node ('value'). It can have also a 'type' which make it easire when different nodes are present.
| Field Summary | |
|---|---|
static int |
NODE_AUTHORITY
|
static int |
NODE_DATA_TYPE
|
static int |
NODE_NAMESPACE
|
static int |
NODE_SERVICE
|
static int |
NODE_SERVICE_TYPE
|
| Constructor Summary | |
|---|---|
CommonNode(String value)
Usual constructor that sets both, meaning and appearance, to the same value. |
|
CommonNode(String value,
int type)
A constructor that sets both, meaning and appearance, to the same value, and add a node type. |
|
CommonNode(String name,
String value)
Another constructor setting separately meaning ('value') and appearance ('name'). |
|
CommonNode(String name,
String value,
int type)
Another constructor setting separately meaning ('value') and appearance ('name'), and a node type. |
|
| Method Summary | |
|---|---|
String |
getName()
Return back the appearance of this node. |
int |
getType()
Return back the type of this node. |
String |
getValue()
Return back the meaning of this node. |
void |
setName(String name)
Change the appearance of this node. |
void |
setType(int type)
Change the type of this node. |
void |
setValue(String value)
Change the meaning of this node. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int NODE_DATA_TYPE
public static final int NODE_NAMESPACE
public static final int NODE_SERVICE_TYPE
public static final int NODE_SERVICE
public static final int NODE_AUTHORITY
| Constructor Detail |
|---|
public CommonNode(String value)
public CommonNode(String name,
String value)
public CommonNode(String value,
int type)
public CommonNode(String name,
String value,
int type)
| Method Detail |
|---|
public String getValue()
public void setValue(String value)
public void setName(String name)
public String getName()
public void setType(int type)
public int getType()
public String toString()
toString in class Object
|
Version: 1.1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||