net.sf.nakeduml.obsolete.uimetamodel.UIMParameterParticipation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of metamodel Show documentation
Show all versions of metamodel Show documentation
A uml code generator and execution engine
The newest version!
package net.sf.nakeduml.obsolete.uimetamodel;
public class UIMParameterParticipation extends UIMTypedElementParticipation{
/**
*
*/
private static final long serialVersionUID = 7890522671996785427L;
UIMOperation operation;
@Override
public UIMElement getOwnerElement(){
return this.operation;
}
public int getArgumentIndex(){
return getParameter().getArgumentIndex();
}
@Override
public boolean canReceiveInput(){
return !(getParameter().isReturn() || getParameter().isOut());
}
public UIMParameter getParameter(){
return (UIMParameter) getTypedElement();
}
@Override
public boolean isRequired(){
return getParameter().isRequired();
}
@Override
public boolean isReadOnly(){
return getParameter().isReturn();
}
}