|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Relation.TypesOfRelation>
org.designwizard.design.relation.Relation.TypesOfRelation
public static enum Relation.TypesOfRelation
Types of relations
Method Summary | |
---|---|
static Relation.TypesOfRelation |
extractElement(java.lang.String type)
Translate an UPPERCASE String to a type. |
Relation.TypesOfRelation |
getReverseRelation()
Returns the reverse relation of this relation. |
boolean |
isAccessRelation()
Verifies if the relationType is equals to any kind of access relation (GETSTATIC,PUTSTATIC,GETFIELD or PUTFIELD). |
boolean |
isInvokeRelation()
Verifies if the relationType is equals to any kind of invoke relation (INVOKEVIRTUAL,INVOKESPECIAL,INVOKESTATIC or INVOKEINTERFACE). |
java.lang.String |
toString()
|
static Relation.TypesOfRelation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Relation.TypesOfRelation[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Relation.TypesOfRelation INSTANCE
public static final Relation.TypesOfRelation CONTAINS
public static final Relation.TypesOfRelation EXTENDS
public static final Relation.TypesOfRelation IMPLEMENTS
public static final Relation.TypesOfRelation GETSTATIC
public static final Relation.TypesOfRelation PUTSTATIC
public static final Relation.TypesOfRelation GETFIELD
public static final Relation.TypesOfRelation PUTFIELD
public static final Relation.TypesOfRelation INVOKEVIRTUAL
public static final Relation.TypesOfRelation INVOKESPECIAL
public static final Relation.TypesOfRelation INVOKESTATIC
public static final Relation.TypesOfRelation INVOKEINTERFACE
public static final Relation.TypesOfRelation IS_INVOKED_BY
public static final Relation.TypesOfRelation IS_ACCESSED_BY
public static final Relation.TypesOfRelation IS_SUPERCLASS
public static final Relation.TypesOfRelation CATCH
public static final Relation.TypesOfRelation THROWS
public static final Relation.TypesOfRelation IS_DECLARED_ON
public static final Relation.TypesOfRelation LOAD
public static final Relation.TypesOfRelation IS_IMPLEMENTED_BY
Method Detail |
---|
public static Relation.TypesOfRelation[] values()
for (Relation.TypesOfRelation c : Relation.TypesOfRelation.values()) System.out.println(c);
public static Relation.TypesOfRelation valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic boolean isInvokeRelation()
public boolean isAccessRelation()
public Relation.TypesOfRelation getReverseRelation()
public java.lang.String toString()
toString
in class java.lang.Enum<Relation.TypesOfRelation>
public static Relation.TypesOfRelation extractElement(java.lang.String type) throws InexistentTypeOfRelationException
type
-
InexistentTypeOfRelationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |