org.inb.biomoby.shared.registry
Class ObjectType
java.lang.Object
org.inb.biomoby.shared.registry.AbstractEntity<T>
org.inb.biomoby.shared.registry.AbstractTypeEntity<ObjectType>
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
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 |
ObjectType
public ObjectType()
ObjectType
public ObjectType(String name)
ObjectType
public ObjectType(String name,
String authURI)
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>
Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010