org.biomage.Interface
Interface HasRoles

All Known Implementing Classes:
Contact, Organization, Person, User

public interface HasRoles


Nested Class Summary
static class HasRoles.Roles_list
          Inner list class for holding multiple entries for attribute roles.
 
Method Summary
 void addToRoles(int position, OntologyEntry ontologyEntry)
          Method to add OntologyEntry at position to Roles_list
 void addToRoles(OntologyEntry ontologyEntry)
          Method to add OntologyEntry to Roles_list
 OntologyEntry getFromRoles(int position)
          Method to get OntologyEntry from Roles_list
 HasRoles.Roles_list getRoles()
          Get method for roles
 void removeElementAtFromRoles(int position)
          Method to remove by position from Roles_list
 void removeFromRoles(OntologyEntry ontologyEntry)
          Method to remove first OntologyEntry from Roles_list
 void setRoles(HasRoles.Roles_list roles)
          Set method for roles
 

Method Detail

setRoles

void setRoles(HasRoles.Roles_list roles)
Set method for roles

Parameters:
value - to set

getRoles

HasRoles.Roles_list getRoles()
Get method for roles

Returns:
value of the attribute

addToRoles

void addToRoles(OntologyEntry ontologyEntry)
Method to add OntologyEntry to Roles_list


addToRoles

void addToRoles(int position,
                OntologyEntry ontologyEntry)
Method to add OntologyEntry at position to Roles_list


getFromRoles

OntologyEntry getFromRoles(int position)
Method to get OntologyEntry from Roles_list


removeElementAtFromRoles

void removeElementAtFromRoles(int position)
Method to remove by position from Roles_list


removeFromRoles

void removeFromRoles(OntologyEntry ontologyEntry)
Method to remove first OntologyEntry from Roles_list