public enum CDOFeatureType extends Enum<CDOFeatureType>
Enum Constant and Description |
---|
ALL |
ATTRIBUTE |
CONTAINER |
CONTAINMENT |
NONE |
REFERENCE |
XREF |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
matches(EStructuralFeature feature) |
static boolean |
matchesCombination(EStructuralFeature feature,
Collection<CDOFeatureType> featureTypes) |
static CDOFeatureType |
read(String str) |
static Set<CDOFeatureType> |
readCombination(String str) |
static CDOFeatureType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CDOFeatureType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static String |
writeCombination(Collection<CDOFeatureType> featureTypes) |
public static final CDOFeatureType NONE
public static final CDOFeatureType ALL
public static final CDOFeatureType ATTRIBUTE
public static final CDOFeatureType REFERENCE
public static final CDOFeatureType CONTAINER
public static final CDOFeatureType CONTAINMENT
public static final CDOFeatureType XREF
public static CDOFeatureType[] values()
for (CDOFeatureType c : CDOFeatureType.values()) System.out.println(c);
public static CDOFeatureType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract boolean matches(EStructuralFeature feature)
public static boolean matchesCombination(EStructuralFeature feature, Collection<CDOFeatureType> featureTypes)
public static CDOFeatureType read(String str)
public static Set<CDOFeatureType> readCombination(String str)
public static String writeCombination(Collection<CDOFeatureType> featureTypes)
Copyright (c) 2011-2015 Eike Stepper (Berlin, Germany) and others.