com.togethersoft.sca.dataflow
Interface INamedUnit

All Known Subinterfaces:
IBehavior, IClass, IField, IInterface, IMember, IMethod, INamespaceUnit, IPackage, IProject

public interface INamedUnit

represents named program units in Java language with the only exception of project, these units are contained in some other unit. In some rare occurences the names may be generated.


Field Summary
static int DEFAULT_ACCESS
          the access to this item is default, i.e.
static int KIND_CLASS
          the kind of INamedUnit --- class
static int KIND_FIELD
          the kind of INamedUnit --- field, i.e.
static int KIND_INTERFACE
          the kind of INamedUnit --- interface
static int KIND_METHOD
          the kind of INamedUnit --- method (of class or interface)
static int KIND_PACKAGE
          the kind of INamedUnit --- package
static int KIND_PROJECT
          the kind of INamedUnit --- project
static int KINDS_NUMBER
          number of INamedUnit kinds
static int MODIFIER_ABSTRACT
          this bit is set in modifiers mask when named unit was explicitly or implicitly specifed as abstract
static int MODIFIER_FINAL
          this bit is set in modifiers mask when named unit was explicitly or implicitly specifed as final
static int MODIFIER_NATIVE
          this bit is set in modifiers mask when named unit was explicitly or implicitly specifed as native
static int MODIFIER_STATIC
          this bit is set in modifiers mask when named unit was explicitly or implicitly specifed as static
static int MODIFIER_STRICTFP
          this bit is set in modifiers mask when named unit was explicitly or implicitly specifed as strictfp
static int MODIFIER_SYNCHRONIZED
          this bit is set in modifiers mask when named unit was explicitly or implicitly specifed as synchronized
static int MODIFIER_TRANSIENT
          this bit is set in modifiers mask when named unit was explicitly or implicitly specifed as transient
static int MODIFIER_VOLATILE
          this bit is set in modifiers mask when named unit was explicitly or implicitly specifed as volatile
static int PRIVATE_ACCESS
          the access to this item is private, i.e.
static int PROTECTED_ACCESS
          the access to this item is protected, i.e.
static int PUBLIC_ACCESS
          the access to this item is public, i.e.
 
Method Summary
 int accessType()
          get access type for this named unit
 AstObject getAstObject()
          Obtain an associated AstObject, for which the tuple was generated returns null if no AstObject is associated.
 boolean isAbstract()
          provides information if this named unit was unit was explicitly or implicitly specifed as abstract
 boolean isFinal()
          provides information if this named unit was unit was explicitly or implicitly specifed as final
 boolean isNative()
          provides information if this named unit was unit was explicitly or implicitly specifed as native
 boolean isStatic()
          provides information if this named unit was unit was explicitly or implicitly specifed as static
 boolean isStrictfp()
          provides information if this named unit was unit was explicitly or implicitly specifed as strictfp
 boolean isSynchronized()
          provides information if this named unit was unit was explicitly or implicitly specifed as synchronized
 boolean isTransient()
          provides information if this named unit was unit was explicitly or implicitly specifed as transient
 boolean isVolatile()
          provides information if this named unit was unit was explicitly or implicitly specifed as volatile
 int modifiers()
          get modifiers for this named unit the modifiers are reperesented as
 java.lang.String name()
          get name of the named unit
 void remove()
          remove the class from the hierarchy
 INamespaceUnit scope()
          get the scope where this Named Unit is included
 int unitKind()
          get kind of this unit
 

Field Detail

DEFAULT_ACCESS

public static final int DEFAULT_ACCESS
the access to this item is default, i.e. no explicit qualifiers were specified for it

KIND_CLASS

public static final int KIND_CLASS
the kind of INamedUnit --- class

KIND_FIELD

public static final int KIND_FIELD
the kind of INamedUnit --- field, i.e. component of class or interface

KIND_INTERFACE

public static final int KIND_INTERFACE
the kind of INamedUnit --- interface

KIND_METHOD

public static final int KIND_METHOD
the kind of INamedUnit --- method (of class or interface)

KIND_PACKAGE

public static final int KIND_PACKAGE
the kind of INamedUnit --- package

KIND_PROJECT

public static final int KIND_PROJECT
the kind of INamedUnit --- project

KINDS_NUMBER

public static final int KINDS_NUMBER
number of INamedUnit kinds

MODIFIER_ABSTRACT

public static final int MODIFIER_ABSTRACT
this bit is set in modifiers mask when named unit was explicitly or implicitly specifed as abstract

MODIFIER_FINAL

public static final int MODIFIER_FINAL
this bit is set in modifiers mask when named unit was explicitly or implicitly specifed as final

MODIFIER_NATIVE

public static final int MODIFIER_NATIVE
this bit is set in modifiers mask when named unit was explicitly or implicitly specifed as native

MODIFIER_STATIC

public static final int MODIFIER_STATIC
this bit is set in modifiers mask when named unit was explicitly or implicitly specifed as static

MODIFIER_STRICTFP

public static final int MODIFIER_STRICTFP
this bit is set in modifiers mask when named unit was explicitly or implicitly specifed as strictfp

MODIFIER_SYNCHRONIZED

public static final int MODIFIER_SYNCHRONIZED
this bit is set in modifiers mask when named unit was explicitly or implicitly specifed as synchronized

MODIFIER_TRANSIENT

public static final int MODIFIER_TRANSIENT
this bit is set in modifiers mask when named unit was explicitly or implicitly specifed as transient

MODIFIER_VOLATILE

public static final int MODIFIER_VOLATILE
this bit is set in modifiers mask when named unit was explicitly or implicitly specifed as volatile

PRIVATE_ACCESS

public static final int PRIVATE_ACCESS
the access to this item is private, i.e. qualifier private was specified for it

PROTECTED_ACCESS

public static final int PROTECTED_ACCESS
the access to this item is protected, i.e. qualifier protected was specified for it

PUBLIC_ACCESS

public static final int PUBLIC_ACCESS
the access to this item is public, i.e. qualifier public was specified for it
Method Detail

accessType

public int accessType()
get access type for this named unit

getAstObject

public AstObject getAstObject()
Obtain an associated AstObject, for which the tuple was generated returns null if no AstObject is associated.

isAbstract

public boolean isAbstract()
provides information if this named unit was unit was explicitly or implicitly specifed as abstract

isFinal

public boolean isFinal()
provides information if this named unit was unit was explicitly or implicitly specifed as final

isNative

public boolean isNative()
provides information if this named unit was unit was explicitly or implicitly specifed as native

isStatic

public boolean isStatic()
provides information if this named unit was unit was explicitly or implicitly specifed as static

isStrictfp

public boolean isStrictfp()
provides information if this named unit was unit was explicitly or implicitly specifed as strictfp

isSynchronized

public boolean isSynchronized()
provides information if this named unit was unit was explicitly or implicitly specifed as synchronized

isTransient

public boolean isTransient()
provides information if this named unit was unit was explicitly or implicitly specifed as transient

isVolatile

public boolean isVolatile()
provides information if this named unit was unit was explicitly or implicitly specifed as volatile

modifiers

public int modifiers()
get modifiers for this named unit the modifiers are reperesented as

name

public java.lang.String name()
get name of the named unit

remove

public void remove()
remove the class from the hierarchy

scope

public INamespaceUnit scope()
get the scope where this Named Unit is included

unitKind

public int unitKind()
get kind of this unit