|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.objectweb.fractal.gui.model.BasicInterface
Abstract implementation of the Interface interface.
| Field Summary | |
|---|---|
protected Interface |
complementaryItf
The complementary interface of this interface. |
protected Interface |
masterCollectionItf
The master collection interface of this interface, or null if this interface is not a slave collection interface. |
protected BasicComponent |
owner
The component that owns this interface. |
protected java.util.List |
slaveCollectionItfs
The slave collection interfaces of this master collection interface. |
| Fields inherited from interface org.objectweb.fractal.gui.model.Interface |
|---|
MANDATORY_INTERFACE_NOT_BOUND, NAME_ALREADY_USED, NAME_MISSING, OK, SIGNATURE_CLASS_INVALID, SIGNATURE_CLASS_NOT_FOUND, SIGNATURE_MISSING |
| Method Summary | |
|---|---|
Interface |
getComplementaryInterface()
Returns the complementary interface of this interface. |
Interface |
getMasterCollectionInterface()
Returns the master collection interface of this interface. |
Interface |
getMasterInterface()
Return the master interface of this interface. |
java.lang.String |
getName()
Returns the name of this interface. |
Component |
getOwner()
Returns the component that owns this interface. |
java.lang.String |
getSignature()
Returns the signature of this interface. |
java.util.List |
getSlaveCollectionInterfaces()
Returns the slave collection interfaces of this interface. |
long |
getStatus()
Returns the status of this interface. |
boolean |
isCollection()
Returns the cardinality of this interface. |
boolean |
isInternal()
Returns true if this interface is an internal interface. |
boolean |
isOptional()
Returns the contingency of this interface. |
void |
setIsCollection(boolean isCollection)
Sets the cadrinality of this interface. |
void |
setIsOptional(boolean isOptional)
Sets the contingency of this interface. |
void |
setName(java.lang.String name)
Sets the name of this interface. |
void |
setSignature(java.lang.String signature)
Sets the signature of this interface. |
void |
setStatus(long status)
Sets the status of this interface. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected BasicComponent owner
protected Interface masterCollectionItf
protected java.util.List slaveCollectionItfs
Interface objects. It is empty if this interface
is not a master collection interface.
protected Interface complementaryItf
| Method Detail |
public Component getOwner()
Interface
getOwner in interface Interfacepublic long getStatus()
Interface
getStatus in interface InterfaceInterface.setStatus(long)public void setStatus(long status)
Interface
setStatus in interface Interfacestatus - the new status of this interface.Interface.getStatus()public java.lang.String getName()
Interface
getName in interface InterfaceInterface.setName(java.lang.String)public void setName(java.lang.String name)
InterfaceinterfaceNameChanged method.
setName in interface Interfacename - the new interface name.Interface.getName()public java.lang.String getSignature()
Interface
getSignature in interface InterfaceInterface.setSignature(java.lang.String)public void setSignature(java.lang.String signature)
InterfaceinterfaceSignatureChanged
method.
setSignature in interface Interfacesignature - the new interface signature.Interface.getSignature()public boolean isInternal()
Interface
isInternal in interface Interfacepublic boolean isOptional()
Interface
isOptional in interface Interfacepublic void setIsOptional(boolean isOptional)
InterfaceinterfaceContingencyChanged method.
setIsOptional in interface InterfaceisOptional - the new interface contingency.public boolean isCollection()
Interface
isCollection in interface Interfacepublic void setIsCollection(boolean isCollection)
InterfaceinterfaceCardinalityChanged method.
setIsCollection in interface InterfaceisCollection - the new interface cardinality.public Interface getMasterCollectionInterface()
Interface
getMasterCollectionInterface in interface Interfacepublic java.util.List getSlaveCollectionInterfaces()
Interface
getSlaveCollectionInterfaces in interface Interfacepublic Interface getComplementaryInterface()
Interface
getComplementaryInterface in interface Interfacepublic Interface getMasterInterface()
Interface
getMasterInterface in interface Interface
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||