| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Provider, which implements this interface is responsible for supplying of Link interface
functionality of Entity.
| Method Summary | |
boolean | canSetParticipant(Entity link, String role, Element oldParticipant, Element newParticipant)This method is called, when canSetParticipant method of Link was invoked
or before calling of setParticipant method. |
boolean | canSetParticipant(Entity link, Element participant, String oldRole, String newRole)See description of canSetParticipant(Entity link, String role,Element oldParticipant,Element newParticipant) |
boolean | isApplicable(Entity link)It is guaranteed that before calling any other methods of the provider, this method was invoked and result value was true. |
StringEnumeration | participantRoles(Entity link)This method is used, when participantRoles of Entity was called. |
StringEnumeration | participants(Entity link, String role)This method is used, when participants of Entity was called. |
void | setParticipant(Entity link, String role, Element oldParticipant, Element newParticipant)This method is called when one participant must be changed with another. |
void | setParticipant(Entity link, Element participant, String oldRole, String newRole)This method is called when role of participant must be changed. |
| Method Detail |
public boolean canSetParticipant(Entity link, String role, Element oldParticipant, Element newParticipant)
canSetParticipant method of Link was invoked
setParticipant method.
true if it can make desired setting.
The result of collaborative execution of this method for multiple
link providers registered in the model is false when all applicable providers returned
false or true otherwise.
public boolean canSetParticipant(Entity link, Element participant, String oldRole, String newRole)
canSetParticipant(Entity link, String role,Element oldParticipant,Element newParticipant)public boolean isApplicable(Entity link)
true.public StringEnumeration participantRoles(Entity link)
participantRoles of Entity was called.
The result of collaborative execution of this method for multiple
link providers registered in the model is a concatenation of the
enumerations returned by providers.
public StringEnumeration participants(Entity link, String role)
participants of Entity was called.
The result of collaborative execution of this method for multiple
link providers registered in the model is a concatenation of the
enumerations returned by providers.
public void setParticipant(Entity link, String role, Element oldParticipant, Element newParticipant)
true both
isApplicable and canSetParticipants methods.public void setParticipant(Entity link, Element participant, String oldRole, String newRole)
true both
isApplicable and canSetParticipants methods.
| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||