|
||||||||||
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()
Returns the name of this interface inside its component. |
Component |
getFcItfOwner()
Returns the component to which this interface belongs. |
Type |
getFcItfType()
Returns the type of this interface. |
boolean |
hasFcInterceptor()
Returns true if this interface has a permanently associated interceptor. |
int |
hashCode()
Returns the hash code of this component interface. |
boolean |
isFcInternalItf()
Returns true if this interface is an internal interface. |
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()
Interface
getFcItfOwner
in interface Interface
Component
interface of the component to which this
interface belongs.public String getFcItfName()
Interface
getFcItfName
in interface Interface
public Type getFcItfType()
Interface
org.objectweb.fractal.api.type
package should be
sufficient in most cases, but another one can be used if necessary.
getFcItfType
in interface Interface
public boolean isFcInternalItf()
Interface
isFcInternalItf
in interface Interface
public void setFcItfName(String name)
ComponentInterface
setFcItfName
in interface ComponentInterface
name
- the new name of this component interface.public boolean hasFcInterceptor()
ComponentInterface
getFcItfImpl
instanceof Interceptor (but
it implies it).
hasFcInterceptor
in interface ComponentInterface
public 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 |