Version: 1.1.1

org.inb.biomoby.shared.message
Class AnyMobyObject

java.lang.Object
  extended by org.inb.biomoby.shared.message.AbstractMobyElement
      extended by org.inb.biomoby.shared.message.AbstractMobyObject
          extended by org.inb.biomoby.shared.message.MobyObject
              extended by org.inb.biomoby.shared.message.AnyMobyObject
All Implemented Interfaces:
Serializable

public class AnyMobyObject
extends MobyObject
implements Serializable

This class is a substitution to ontology classes. In case JAXBContext could not find an appropriate ontology class in a classpath, a class is substituted by this one.

Author:
Dmitry Repchevsky
See Also:
Serialized Form

Field Summary
 String type
           
 
Constructor Summary
AnyMobyObject(String type)
           
AnyMobyObject(String type, String id, String namespace)
           
 
Method Summary
 AbstractMobyObject getAttribute(String articleName)
          Method makes public an access to internal properties
 List<AbstractMobyObject> getAttributes(String articleName)
           
 String getType()
           
 
Methods inherited from class org.inb.biomoby.shared.message.MobyObject
getAttributes, getCrossReference, putAttribute, removeAttribute, removeCrossReference, setCrossReference, toString
 
Methods inherited from class org.inb.biomoby.shared.message.AbstractMobyObject
getMobyId, getNamespace, setMobyId, setNamespace
 
Methods inherited from class org.inb.biomoby.shared.message.AbstractMobyElement
getArticleName, setArticleName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

type

public final String type
Constructor Detail

AnyMobyObject

public AnyMobyObject(String type)

AnyMobyObject

public AnyMobyObject(String type,
                     String id,
                     String namespace)
Method Detail

getType

public String getType()

getAttribute

public AbstractMobyObject getAttribute(String articleName)
Method makes public an access to internal properties

Parameters:
articleName - - an articleName for a property
Returns:
anything (MobyObject, AnyMobyObject, primitives, ontology generated classes)

getAttributes

public List<AbstractMobyObject> getAttributes(String articleName)

Version: 1.1.1

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