|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.biomoby.shared.MobyData
public abstract class MobyData
A container keeping input or output data types together with few other attributes. Together they tell what data a service can have. Some of these types are 'primary' - they are used for service discovery - the others are 'secondary' - they are here just for the case that the registry needs to know about all service inputs and outputs.
Constructor Summary | |
---|---|
MobyData()
Default constructor. |
|
MobyData(String name)
Normal constructor. |
Method Summary | |
---|---|
abstract MobyData |
clone()
Must be overwritten by a subclass. |
abstract String |
format(int indent)
|
String |
getId()
|
String |
getName()
|
Object |
getUserData()
Retrieves any application-specific data that may have been stored in association with this Moby object. |
abstract boolean |
isPrimary()
|
void |
setId(String value)
|
void |
setName(String value)
|
void |
setUserData(Object data)
Allows developers to track their application-specific information alongside the Moby functionality. |
abstract String |
toXML()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MobyData()
public MobyData(String name)
Method Detail |
---|
public String getName()
public void setName(String value)
public String getId()
public void setId(String value)
public Object getUserData()
public void setUserData(Object data)
public abstract MobyData clone()
clone
in class Object
public abstract String toXML()
public abstract boolean isPrimary()
public abstract String format(int indent)
|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |