|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.fractal.gui.model.SharedInterface
Abstract implementation of the Interface
interface for interfaces of
slave components.
Field Summary | |
protected Interface |
masterInterface
The master interface of this slave interface. |
protected SharedComponent |
owner
The component that owns this 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 SharedComponent owner
protected Interface masterInterface
Method Detail |
public Component getOwner()
Interface
getOwner
in interface Interface
public long getStatus()
Interface
getStatus
in interface Interface
Interface.setStatus(long)
public void setStatus(long status)
Interface
setStatus
in interface Interface
status
- the new status of this interface.Interface.getStatus()
public java.lang.String getName()
Interface
getName
in interface Interface
Interface.setName(java.lang.String)
public void setName(java.lang.String name)
Interface
interfaceNameChanged
method.
setName
in interface Interface
name
- the new interface name.Interface.getName()
public java.lang.String getSignature()
Interface
getSignature
in interface Interface
Interface.setSignature(java.lang.String)
public void setSignature(java.lang.String signature)
Interface
interfaceSignatureChanged
method.
setSignature
in interface Interface
signature
- the new interface signature.Interface.getSignature()
public boolean isInternal()
Interface
isInternal
in interface Interface
public boolean isOptional()
Interface
isOptional
in interface Interface
public void setIsOptional(boolean isOptional)
Interface
interfaceContingencyChanged
method.
setIsOptional
in interface Interface
isOptional
- the new interface contingency.public boolean isCollection()
Interface
isCollection
in interface Interface
public void setIsCollection(boolean isCollection)
Interface
interfaceCardinalityChanged
method.
setIsCollection
in interface Interface
isCollection
- the new interface cardinality.public Interface getMasterCollectionInterface()
Interface
getMasterCollectionInterface
in interface Interface
public java.util.List getSlaveCollectionInterfaces()
Interface
getSlaveCollectionInterfaces
in interface Interface
public Interface getComplementaryInterface()
Interface
getComplementaryInterface
in interface Interface
public Interface getMasterInterface()
Interface
getMasterInterface
in interface Interface
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |