public enum CDOFeatureType extends java.lang.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,
java.util.Collection<CDOFeatureType> featureTypes) |
static CDOFeatureType |
read(java.lang.String str) |
static java.util.Set<CDOFeatureType> |
readCombination(java.lang.String str) |
static CDOFeatureType |
valueOf(java.lang.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 java.lang.String |
writeCombination(java.util.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(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 namejava.lang.NullPointerException
- if the argument is nullpublic abstract boolean matches(EStructuralFeature feature)
public static boolean matchesCombination(EStructuralFeature feature, java.util.Collection<CDOFeatureType> featureTypes)
public static CDOFeatureType read(java.lang.String str)
public static java.util.Set<CDOFeatureType> readCombination(java.lang.String str)
public static java.lang.String writeCombination(java.util.Collection<CDOFeatureType> featureTypes)
Copyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html