|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.util.AbstractEnumerator
com.ibm.xtools.emf.query.conditions.eobjects.TypeRelation
An enumerator for the kinds of relatioships between EClasses/types. It is
primarily used by EObjectTypeRelationCondition
to check for
relations between EObjects
Field Summary | |
static int |
BASETYPE
The integer value of the BASETYPE_LITERAL TypeRelation
enumeration literal. |
static TypeRelation |
BASETYPE_LITERAL
A TypeRelation enumeration literal used to denote that one
type is a base type of another. |
static int |
DIRECT_BASETYPE
The integer value of the DIRECT_BASETYPE_LITERAL TypeRelation enumeration literal. |
static TypeRelation |
DIRECT_BASETYPE_LITERAL
A TypeRelation enumeration literal used to denote that one
type is a direct super type of another. |
static int |
DIRECT_SUBTYPE
The integer value of the DIRECT_SUBTYPE_LITERAL TypeRelation
enumeration literal. |
static TypeRelation |
DIRECT_SUBTYPE_LITERAL
A TypeRelation enumeration literal used to denote that one
type is a direct sub type of another. |
static int |
RELATED_TYPE
The integer value of the RELATED_TYPE_LITERAL TypeRelation
enumeration literal. |
static TypeRelation |
RELATED_TYPE_LITERAL
A TypeRelation enumeration literal used to denote the
presence of a relationship between two types, regardless of the nature of
this relationship, in other words, either type could be a parent of
another, or they could be the same. |
static int |
SAMETYPE
The integer value of the SAMETYPE_LITERAL TypeRelation
enumeration literal. |
static TypeRelation |
SAMETYPE_LITERAL
A TypeRelation enumeration literal used to denote that two
types are exactly the same. |
static int |
SAMETYPE_OR_BASETYPE
The integer value of the SAMETYPE_OR_BASETYPE_LITERAL TypeRelation enumeration literal. |
static TypeRelation |
SAMETYPE_OR_BASETYPE_LITERAL
A TypeRelation enumeration literal used to denote that one
type is either the same or a super type of another. |
static int |
SAMETYPE_OR_DIRECT_BASETYPE
The integer value of the SAMETYPE_OR_DIRECT_BASETYPE_LITERAL TypeRelation enumeration literal. |
static TypeRelation |
SAMETYPE_OR_DIRECT_BASETYPE_LITERAL
A TypeRelation enumeration literal used to denote that one
type is either the same or a direct base type of another. |
static int |
SAMETYPE_OR_DIRECT_SUBTYPE
The integer value of the SAMETYPE_OR_DIRECT_SUBTYPE_LITERAL TypeRelation enumeration literal. |
static TypeRelation |
SAMETYPE_OR_DIRECT_SUBTYPE_LITERAL
A TypeRelation enumeration literal used to denote that one
type is either the same or a direct sub type of another. |
static int |
SAMETYPE_OR_SUBTYPE
The integer value of the SAMETYPE_OR_SUBTYPE_LITERAL TypeRelation enumeration literal. |
static TypeRelation |
SAMETYPE_OR_SUBTYPE_LITERAL
A TypeRelation enumeration literal used to denote that one
type is either the same or a sub type of another. |
static int |
SUBTYPE
The integer value of the SUBTYPE_LITERAL TypeRelation
enumeration literal. |
static TypeRelation |
SUBTYPE_LITERAL
A TypeRelation enumeration literal used to denote that one
type is a sub type of another. |
static int |
UNDEFINED
The integer value of the UNDEFINED_LITERAL TypeRelation
enumeration literal. |
static TypeRelation |
UNDEFINED_LITERAL
A TypeRelation enumeration literal used to denote an
undefined relationship between two types which means the two types could
or could not be related at all. |
static int |
UNRELATED_TYPE
The integer value of the UNRELATED_TYPE_LITERAL TypeRelation
enumeration literal. |
static TypeRelation |
UNRELATED_TYPE_LITERAL
A TypeRelation enumeration literal used to denote the
absence of a relationship between two types, regardless of the nature of
this relationship, in other words, either type should not be a parent of
the other, nor they should be the same. |
static List |
VALUES
An immutable list of the enumeration literals declared by this enumerator |
Method Summary | |
static TypeRelation |
get(int value)
Gets the TypeRelation enumeration literal with the integer
value specified in the argument. |
static TypeRelation |
get(String name)
Gets the TypeRelation enumeration literal with the name
specified in the argument. |
static int |
getTotalCount()
Answers how many enumeration literals declared by this enumerator. |
Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator |
getName, getValue, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final TypeRelation UNDEFINED_LITERAL
TypeRelation
enumeration literal used to denote an
undefined relationship between two types which means the two types could
or could not be related at all.
public static final TypeRelation RELATED_TYPE_LITERAL
TypeRelation
enumeration literal used to denote the
presence of a relationship between two types, regardless of the nature of
this relationship, in other words, either type could be a parent of
another, or they could be the same.
public static final TypeRelation UNRELATED_TYPE_LITERAL
TypeRelation
enumeration literal used to denote the
absence of a relationship between two types, regardless of the nature of
this relationship, in other words, either type should not be a parent of
the other, nor they should be the same.
public static final TypeRelation SAMETYPE_LITERAL
TypeRelation
enumeration literal used to denote that two
types are exactly the same.
public static final TypeRelation BASETYPE_LITERAL
TypeRelation
enumeration literal used to denote that one
type is a base type of another.
public static final TypeRelation SUBTYPE_LITERAL
TypeRelation
enumeration literal used to denote that one
type is a sub type of another.
public static final TypeRelation DIRECT_BASETYPE_LITERAL
TypeRelation
enumeration literal used to denote that one
type is a direct super type of another.
public static final TypeRelation DIRECT_SUBTYPE_LITERAL
TypeRelation
enumeration literal used to denote that one
type is a direct sub type of another.
public static final TypeRelation SAMETYPE_OR_DIRECT_SUBTYPE_LITERAL
TypeRelation
enumeration literal used to denote that one
type is either the same or a direct sub type of another.
public static final TypeRelation SAMETYPE_OR_DIRECT_BASETYPE_LITERAL
TypeRelation
enumeration literal used to denote that one
type is either the same or a direct base type of another.
public static final TypeRelation SAMETYPE_OR_SUBTYPE_LITERAL
TypeRelation
enumeration literal used to denote that one
type is either the same or a sub type of another.
public static final TypeRelation SAMETYPE_OR_BASETYPE_LITERAL
TypeRelation
enumeration literal used to denote that one
type is either the same or a super type of another.
public static final int UNDEFINED
TypeRelation
enumeration literal.
public static final int RELATED_TYPE
TypeRelation
enumeration literal.
public static final int UNRELATED_TYPE
TypeRelation
enumeration literal.
public static final int SAMETYPE
TypeRelation
enumeration literal.
public static final int BASETYPE
TypeRelation
enumeration literal.
public static final int SUBTYPE
TypeRelation
enumeration literal.
public static final int DIRECT_BASETYPE
TypeRelation
enumeration literal.
public static final int DIRECT_SUBTYPE
TypeRelation
enumeration literal.
public static final int SAMETYPE_OR_DIRECT_SUBTYPE
TypeRelation
enumeration literal.
public static final int SAMETYPE_OR_DIRECT_BASETYPE
TypeRelation
enumeration literal.
public static final int SAMETYPE_OR_SUBTYPE
TypeRelation
enumeration literal.
public static final int SAMETYPE_OR_BASETYPE
TypeRelation
enumeration literal.
public static final List VALUES
Method Detail |
public static TypeRelation get(int value)
TypeRelation
enumeration literal with the integer
value specified in the argument.
value
- An integer representing the value of a
TypeRelation
enumeration literal
TypeRelation
having this name or
null if the name is not recognisedpublic static TypeRelation get(String name)
TypeRelation
enumeration literal with the name
specified in the argument.
name
- A string representing the name of a TypeRelation
enumeration literal
TypeRelation
having this name or
null
if the name is not recognisedpublic static int getTotalCount()
|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2004. All rights reserved.