|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.objectweb.fractal.julia.BasicComponentInterface
Provides a basic implementation of the ComponentInterface interface.
| Field Summary | |
|---|---|
protected int |
flags
The flags of this component interfaces. |
protected String |
name
The name of this component interface. |
protected Component |
owner
The component to which this component interface belongs. |
protected Type |
type
The type of this component interface. |
| Constructor Summary | |
|---|---|
BasicComponentInterface()
Constructs an uninitialized BasicComponentInterface. |
|
BasicComponentInterface(Component owner,
String name,
Type type,
boolean isInternal,
Object impl)
Constructs a new BasicComponentInterface. |
|
| Method Summary | |
|---|---|
Object |
clone()
Creates and returns a copy of this component interface. |
boolean |
equals(Object o)
Tests if the given object is equal to this component interface. |
String |
getFcItfName()
|
Component |
getFcItfOwner()
|
Type |
getFcItfType()
|
boolean |
hasFcInterceptor()
Returns true if this interface has a permanently associated interceptor. |
int |
hashCode()
Returns the hash code of this component interface. |
boolean |
isFcInternalItf()
|
void |
setFcItfName(String name)
Sets the name of this component interface. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.objectweb.fractal.julia.ComponentInterface |
|---|
getFcItfImpl, setFcItfImpl |
| Field Detail |
protected Component owner
protected String name
protected Type type
protected int flags
| Constructor Detail |
public BasicComponentInterface()
BasicComponentInterface. This default
public constructor is needed for the implementation of the clone method.
public BasicComponentInterface(Component owner,
String name,
Type type,
boolean isInternal,
Object impl)
BasicComponentInterface.
owner - the component to which the interface belongs. If this
parameter is null the owner is set to the interface itself,
which must therefore be a Component interface.name - the name of the interface.type - the type of the interface.isInternal - true if the interface is an internal interface.impl - the object that implements the interface.| Method Detail |
public Component getFcItfOwner()
getFcItfOwner in interface Interfacepublic String getFcItfName()
getFcItfName in interface Interfacepublic Type getFcItfType()
getFcItfType in interface Interfacepublic boolean isFcInternalItf()
isFcInternalItf in interface Interfacepublic void setFcItfName(String name)
ComponentInterface
setFcItfName in interface ComponentInterfacename - the new name of this component interface.public boolean hasFcInterceptor()
ComponentInterfacegetFcItfImpl instanceof Interceptor (but
it implies it).
hasFcInterceptor in interface ComponentInterfacepublic int hashCode()
public boolean equals(Object o)
o - the object to be compared to this component interface.
public Object clone()
ComponentInterface
clone in interface ComponentInterface
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||