|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--EDU.utwente.CoCompose.translate.ImplementationRolePart
Represents a role part / concept form combination for an implementation pattern.
Constructor Summary | |
ImplementationRolePart()
Constructs an ImplementationRolePart. |
Method Summary | |
void |
accept(ModelVisitor visitor)
Accepts a ModelVisitor. |
void |
addConstraint(java.lang.String rolename,
java.lang.String notEqualTo)
Adds a constraint for this role part. |
Composite |
getComposite()
Retrieves the composite the implementation generator implements. |
java.lang.String |
getConceptForm()
Gets the concept form for this role part. |
java.util.Enumeration |
getConstraintRoles()
Retrieves the role names for which constraints exist. |
java.util.Enumeration |
getConstraints(java.lang.String rolename)
Gets all constraints based upon the given role. |
ImplementationGenerator |
getImplementationGenerator()
|
Model |
getModel()
Retrieves the model context. |
java.lang.String |
getRoleName()
Gets the role name for this role part. |
void |
setConceptForm(java.lang.String conceptform)
Sets the concept form for this role part. |
void |
setImplementationGenerator(ImplementationGenerator implementation)
|
void |
setRoleName(java.lang.String rolename)
Sets the role name for this role part. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ImplementationRolePart()
Method Detail |
public ImplementationGenerator getImplementationGenerator()
public void setImplementationGenerator(ImplementationGenerator implementation)
public java.lang.String getRoleName()
public void setRoleName(java.lang.String rolename)
rolename
- The role name.public java.lang.String getConceptForm()
public void setConceptForm(java.lang.String conceptform)
conceptform
- The concept form.public void addConstraint(java.lang.String rolename, java.lang.String notEqualTo)
rolename
- The name of the role upon which the constraint is based.notEqualTo
- The concept form of the role indicated by the role name.public java.util.Enumeration getConstraints(java.lang.String rolename)
rolename
- The name of the role on which the constraints are based.public java.util.Enumeration getConstraintRoles()
public Composite getComposite()
public Model getModel()
public void accept(ModelVisitor visitor) throws CoComposeException
visitor
- The visitor object to accept.CoComposeException
- if visiting operation failed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |