Version: 1.1.1

org.biomoby.shared
Class MobyPrimaryData

java.lang.Object
  extended by org.biomoby.shared.MobyData
      extended by org.biomoby.shared.MobyPrimaryData
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
MobyPrimaryDataSet, MobyPrimaryDataSimple

public abstract class MobyPrimaryData
extends MobyData
implements Cloneable

A container representing primary (both input and output) data as they are registered by services.

Version:
$Id: MobyPrimaryData.java,v 1.3 2008/01/07 22:11:36 gordonp Exp $
Author:
Martin Senger

Constructor Summary
MobyPrimaryData()
           
MobyPrimaryData(String name)
           
 
Method Summary
abstract  void addNamespace(MobyNamespace value)
           
abstract  MobyPrimaryData clone()
          Must be overwritten by a subclass.
abstract  MobyDataType getDataType()
           
abstract  MobyNamespace[] getNamespaces()
           
 boolean isPrimary()
          Returns always true.
abstract  void removeNamespace(MobyNamespace value)
           
abstract  void removeNamespace(String namespaceName)
           
abstract  void setDataType(MobyDataType value)
           
abstract  void setNamespaces(MobyNamespace[] value)
           
 
Methods inherited from class org.biomoby.shared.MobyData
format, getId, getName, getUserData, setId, setName, setUserData, toXML
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MobyPrimaryData

public MobyPrimaryData()

MobyPrimaryData

public MobyPrimaryData(String name)
Method Detail

isPrimary

public boolean isPrimary()
Returns always true.

Specified by:
isPrimary in class MobyData

clone

public abstract MobyPrimaryData clone()
Must be overwritten by a subclass.

Specified by:
clone in class MobyData

getDataType

public abstract MobyDataType getDataType()

setDataType

public abstract void setDataType(MobyDataType value)

getNamespaces

public abstract MobyNamespace[] getNamespaces()

setNamespaces

public abstract void setNamespaces(MobyNamespace[] value)

addNamespace

public abstract void addNamespace(MobyNamespace value)

removeNamespace

public abstract void removeNamespace(String namespaceName)

removeNamespace

public abstract void removeNamespace(MobyNamespace value)

Version: 1.1.1

Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010