Package org.eclipse.emf.cdo.common.model
Enum CDOFeatureType
- java.lang.Object
- 
- java.lang.Enum<CDOFeatureType>
- 
- org.eclipse.emf.cdo.common.model.CDOFeatureType
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<CDOFeatureType>
 
 public enum CDOFeatureType extends java.lang.Enum<CDOFeatureType> - Since:
- 4.5
- Author:
- Eike Stepper
 
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract booleanmatches(org.eclipse.emf.ecore.EStructuralFeature feature)static booleanmatchesCombination(org.eclipse.emf.ecore.EStructuralFeature feature, java.util.Collection<CDOFeatureType> featureTypes)static CDOFeatureTyperead(java.lang.String str)static java.util.Set<CDOFeatureType>readCombination(java.lang.String str)static CDOFeatureTypevalueOf(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.StringwriteCombination(java.util.Collection<CDOFeatureType> featureTypes)
 
- 
- 
- 
Enum Constant Detail- 
NONEpublic static final CDOFeatureType NONE 
 - 
ALLpublic static final CDOFeatureType ALL 
 - 
ATTRIBUTEpublic static final CDOFeatureType ATTRIBUTE 
 - 
REFERENCEpublic static final CDOFeatureType REFERENCE 
 - 
CONTAINERpublic static final CDOFeatureType CONTAINER 
 - 
CONTAINMENTpublic static final CDOFeatureType CONTAINMENT 
 - 
XREFpublic static final CDOFeatureType XREF 
 
- 
 - 
Method Detail- 
valuespublic static CDOFeatureType[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CDOFeatureType c : CDOFeatureType.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static CDOFeatureType valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- java.lang.IllegalArgumentException- if this enum type has no constant with the specified name
- java.lang.NullPointerException- if the argument is null
 
 - 
matchespublic abstract boolean matches(org.eclipse.emf.ecore.EStructuralFeature feature) 
 - 
matchesCombinationpublic static boolean matchesCombination(org.eclipse.emf.ecore.EStructuralFeature feature, java.util.Collection<CDOFeatureType> featureTypes)
 - 
readpublic static CDOFeatureType read(java.lang.String str) 
 - 
readCombinationpublic static java.util.Set<CDOFeatureType> readCombination(java.lang.String str) 
 - 
writeCombinationpublic static java.lang.String writeCombination(java.util.Collection<CDOFeatureType> featureTypes) 
 
- 
 
-