Version: 1.1.1

org.inb.biomoby.shared.registry
Class ObjectType

java.lang.Object
  extended by org.inb.biomoby.shared.registry.AbstractEntity<T>
      extended by org.inb.biomoby.shared.registry.AbstractTypeEntity<ObjectType>
          extended by org.inb.biomoby.shared.registry.ObjectType
All Implemented Interfaces:
Serializable, Cloneable, Comparable<ObjectType>

public class ObjectType
extends AbstractTypeEntity<ObjectType>
implements Serializable, Cloneable

Author:
Dmitry Repchevsky
See Also:
Serialized Form

Constructor Summary
ObjectType()
           
ObjectType(String name)
           
ObjectType(String name, String authURI)
           
 
Method Summary
 void addRelationship(Relationship<ObjectType> relationship)
           
 ObjectType clone()
           
 String getArticleName()
           
 Relationship<ObjectType> getRelationship(Relationship.RELATIONSHIP_TYPE relationshipType)
          Auxiliary method to find relationship by its type
 List<Relationship<ObjectType>> getRelationships()
           
 void setArticleName(String articleName)
           
 
Methods inherited from class org.inb.biomoby.shared.registry.AbstractEntity
compareTo, equals, getAuthURI, getContactEmail, getDescription, getLsid, getName, getTitle, hashCode, setAuthURI, setContactEmail, setDescription, setLsid, setName, setTitle
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectType

public ObjectType()

ObjectType

public ObjectType(String name)

ObjectType

public ObjectType(String name,
                  String authURI)
Method Detail

getArticleName

public String getArticleName()

setArticleName

public void setArticleName(String articleName)

addRelationship

public void addRelationship(Relationship<ObjectType> relationship)

getRelationship

public Relationship<ObjectType> getRelationship(Relationship.RELATIONSHIP_TYPE relationshipType)
Auxiliary method to find relationship by its type

Parameters:
relationshipType - a type of relationship to be found
Returns:
found relationship object or null

getRelationships

public List<Relationship<ObjectType>> getRelationships()

clone

public ObjectType clone()
Overrides:
clone in class AbstractTypeEntity<ObjectType>

Version: 1.1.1

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