|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
VInterface represents an interface in the software architecture
Interface has operations and a type and it can be visualized in two different modes: either as a circle or like class
Field Summary | |
static int |
TYPE_OFFERED
a constant describing that this interface is an offered interface |
static int |
TYPE_REQUIRED
a constant describing that this interface is a required interface |
static int |
VIEWMODE_CIRCLE
a constant: mode when interface is visualized as a circle |
static int |
VIEWMODE_EXPANDED
a constant: mode when interface is visualized like class |
Method Summary | |
void |
addSubsDeps(VModelElement inElement)
Add inElement to list of dependencies that are greated to substitute this interface. |
void |
clearHiddenRelationships()
Clear list of hidden relationship. |
java.util.LinkedList |
getHiddenRelationships()
Get content of hidden relationships. |
int |
getInterfaceType()
returns the type of interface (offered or required) |
java.lang.Object[] |
getOperations()
returns the array which contains the operations in this interface. |
java.util.LinkedList |
getSubsDeps()
Get content of substitute dependency list. |
int |
getViewMode()
returns the current view mode of the interface. |
void |
removeSubsDeps()
Clear substitute dependency list. |
void |
setHiddenRelationships(VModelElement inElement)
Set inElement to hidden relationships list. |
void |
setInterfaceType(int inType)
sets the type of the interface (offered or required). |
void |
setOperations(java.lang.Object[] inOps)
sets the operations of the interface. |
void |
setViewMode(int inMode)
sets the view mode of the interface. |
Methods inherited from interface venice.VModelElement |
addRelationship, addToCompositeRelationshipList, debugDump, getCompositeRelationships, getId, getName, getRelationshipConnectPoint, getRelationships, getType, getVisible, getVParent, intersectWithLine, setName, setType, setVisible |
Field Detail |
public static final int TYPE_OFFERED
public static final int TYPE_REQUIRED
public static final int VIEWMODE_CIRCLE
public static final int VIEWMODE_EXPANDED
Method Detail |
public void setHiddenRelationships(VModelElement inElement)
public java.util.LinkedList getHiddenRelationships()
public void clearHiddenRelationships()
public void addSubsDeps(VModelElement inElement)
public java.util.LinkedList getSubsDeps()
public void removeSubsDeps()
public int getInterfaceType()
public java.lang.Object[] getOperations()
The array has been given to VInterface using setOperations method. See setOperations method description for information on the array content
public int getViewMode()
public void setInterfaceType(int inType)
public void setOperations(java.lang.Object[] inOps)
The operations are shown when the interface is visualized in expanded mode.
inOps
- the array of objects representing the operations
of the interface. The objects toString() method is used
to get string representation of the operationspublic void setViewMode(int inMode)
inMode
- one of VIEWMODE_ constants
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |