org.dishevelled.vocabulary
Interface Assignable

All Known Implementing Classes:
AbstractAssignable, SimpleAssignable

public interface Assignable

Marks an entity as being "assignable," in that it may be assigned to concepts in one or more domains for annotation purposes.

Version:
$Revision$ $Date$
Author:
Michael Heuer

Method Summary
 void addAssignment(Assignment assignment)
          Add the specified assigment.
 java.util.Set<Assignment> getAssignments()
          Return the set of assignments for this entity.
 

Method Detail

getAssignments

java.util.Set<Assignment> getAssignments()
Return the set of assignments for this entity. The set must not be null, but may be empty.

Returns:
the set of assignments

addAssignment

void addAssignment(Assignment assignment)
Add the specified assigment. assignment must not be null and must have this as its assignable entity.

Parameters:
assignment - assignment to add


Copyright (c) 2002-2004 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).