|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IType
Represents a type such as a class, an interface, an enumeration and so on.
| Field Summary | |
|---|---|
static IType[] |
EMPTY_TYPE_ARRAY
An empty array of IType elements that can be used as return value in implementations whenever an empty array is needed. |
| Method Summary | |
|---|---|
TypeClassification |
getClassification()
Returns the classification (i.e. |
DependencySet<IType,IType> |
getDependencies()
Returns all dependencies to other types. |
java.util.Collection<IType> |
getDirectReferredTypes()
Returns all types this type directly depends on. |
INamespace |
getNamespace()
Returns the namespace the type belongs to. |
java.lang.String |
getUnqualifiedName()
Returns the name without the namespace |
Visibility |
getVisibility()
Returns the visibility of this type. |
boolean |
isAbstract()
Returns whether or not this type is abstract. |
boolean |
isDirectExtensionOf(IType type)
Returns true if this type extends the given type directly. |
boolean |
isDirectImplementorOf(IType type)
Returns true if this type directly implements the given type. |
boolean |
isFinal()
Returns whether or not this type is final. |
| Methods inherited from interface org.pfsw.odem.IExplorationModelObject |
|---|
getContext, getName |
| Methods inherited from interface org.pfsw.odem.IObjectProperties |
|---|
getProperty, getPropertyNames, setProperty |
| Methods inherited from interface org.pfsw.odem.IExplorableElementVisiting |
|---|
accept, acceptTypes |
| Field Detail |
|---|
static final IType[] EMPTY_TYPE_ARRAY
| Method Detail |
|---|
TypeClassification getClassification()
INamespace getNamespace()
java.lang.String getUnqualifiedName()
java.util.Collection<IType> getDirectReferredTypes()
getDependencies().
boolean isDirectExtensionOf(IType type)
getDependencies() if one
wants to find out if there is a direct inheritance relationship.
type - Any type that can be extended.
isDirectImplementorOf(IType),
getDependencies()boolean isDirectImplementorOf(IType type)
getDependencies() if one
wants to find out if there is a direct implementation relationship.
type - An interface type
isDirectExtensionOf(IType),
getDependencies()DependencySet<IType,IType> getDependencies()
getDirectReferredTypes().
boolean isFinal()
boolean isAbstract()
Visibility getVisibility()
Visibility.PUBLIC and
Visibility.DEFAULT are reasonable return values here.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||