|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Parameter
Defines WSMO parameter of a relation.
Relation| Method Summary | |
|---|---|
void |
addType(Type type)
Adds a new Type as range for this parameter. |
Relation |
getRelation()
Returns the Relation to which this parameter is assigned. |
boolean |
isConstraining()
Returns the type of this parameter. |
Set<Type> |
listTypes()
Returns the list of allowed Type for the current parameter. |
void |
removeType(Type type)
Removes a Type for this parameter. |
void |
setConstraining(boolean constraining)
Sets the type of this parameter. |
| Method Detail |
|---|
boolean isConstraining()
void setConstraining(boolean constraining)
constraining - true (constraining) / false (inferring)Relation getRelation()
Relation to which this parameter is assigned.
void addType(Type type)
throws InvalidModelException
Type as range for this parameter.
type - the Type to be added
InvalidModelExceptionvoid removeType(Type type)
Type for this parameter.
type - the Type to be removed
InvalidModelExceptionSet<Type> listTypes()
Type for the current parameter.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||