|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.fractal.julia.type.BasicInterfaceType
Provides a basic implementation of the InterfaceType interface.
| Constructor Summary | |
BasicInterfaceType(String name,
String signature,
boolean isClient,
boolean isOptional,
boolean isCollection)
Constructs a new BasicInterfaceType object. |
|
| Method Summary | |
boolean |
equals(Object o)
Tests if this interface type is equal to the given object. |
String |
getFcItfName()
Returns the name of component interfaces of this type. |
String |
getFcItfSignature()
Returns the signatures of the methods of interfaces of this type. |
boolean |
isFcClientItf()
Returns true if component interfaces of this type are client interfaces. |
boolean |
isFcCollectionItf()
Indicates how many interfaces of this type a component may have. |
boolean |
isFcOptionalItf()
Returns true if component interfaces of this type are optional. |
boolean |
isFcSubTypeOf(Type type)
Returns true if the given type is a sub-type of this type. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BasicInterfaceType(String name,
String signature,
boolean isClient,
boolean isOptional,
boolean isCollection)
BasicInterfaceType object.
name - the name of the described interface.signature - the fully qualified name of the Java type of the described
interface.isClient - true if the described interface is a client
interface.isOptional - true if the described interface is an
optional interface.isCollection - true if the described interface is a
collection interface.| Method Detail |
public String getFcItfName()
InterfaceTypeisFcCollectionItf), this name is in fact a
prefix of the real names of interfaces of this type.
getFcItfName in interface InterfaceTypegetFcItfName).public String getFcItfSignature()
InterfaceType
getFcItfSignature in interface InterfaceTypepublic boolean isFcClientItf()
InterfaceType
isFcClientItf in interface InterfaceTypepublic boolean isFcOptionalItf()
InterfaceType
isFcOptionalItf in interface InterfaceTypepublic boolean isFcCollectionItf()
InterfaceType
isFcCollectionItf in interface InterfaceTypepublic boolean isFcSubTypeOf(Type type)
Typeequals to u
then t.isFcSubTypeOf(u) should return true
isFcSubTypeOf in interface Typetype - the type to be compared to this type.
public boolean equals(Object o)
o - the object to be compared to this interface type.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||