|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.fractal.julia.BasicComponentInterface
public abstract class 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. |
void |
updateFcState()
Update the internal state of this 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 Interface
public String getFcItfName()
getFcItfName
in interface Interface
public Type getFcItfType()
getFcItfType
in interface Interface
public boolean isFcInternalItf()
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 void updateFcState()
updateFcState
in interface ComponentInterface
public int hashCode()
hashCode
in class Object
public boolean equals(Object o)
equals
in class Object
o
- the object to be compared to this component interface.
public Object clone()
ComponentInterface
clone
in interface ComponentInterface
clone
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |