public interface P2Package extends EPackage
P2Factory| Modifier and Type | Interface and Description | 
|---|---|
| static interface  | P2Package.LiteralsDefines literals for the meta objects that represent
 
   each class,
   each feature of each class,
   each operation of each class,
   each enum,
   and each data type
 
  | 
EPackage.Descriptor, EPackage.Registry| Modifier and Type | Field and Description | 
|---|---|
| static P2Package | eINSTANCEThe singleton instance of the package. | 
| static String | eNAMEThe package name. | 
| static String | eNS_PREFIXThe package namespace name. | 
| static String | eNS_URIThe package namespace URI. | 
| static int | PROFILE_DEFINITIONThe meta object id for the ' Profile Definition' class. | 
| static int | PROFILE_DEFINITION___GET_ANNOTATION__STRINGThe operation id for the 'Get Annotation' operation. | 
| static int | PROFILE_DEFINITION___SET_REPOSITORIES__ELISTThe operation id for the 'Set Repositories' operation. | 
| static int | PROFILE_DEFINITION___SET_REQUIREMENTS__ELISTThe operation id for the 'Set Requirements' operation. | 
| static int | PROFILE_DEFINITION__ANNOTATIONSThe feature id for the 'Annotations' containment reference list. | 
| static int | PROFILE_DEFINITION__INCLUDE_SOURCE_BUNDLESThe feature id for the 'Include Source Bundles' attribute. | 
| static int | PROFILE_DEFINITION__REPOSITORIESThe feature id for the 'Repositories' containment reference list. | 
| static int | PROFILE_DEFINITION__REQUIREMENTSThe feature id for the 'Requirements' containment reference list. | 
| static int | PROFILE_DEFINITION_FEATURE_COUNTThe number of structural features of the 'Profile Definition' class. | 
| static int | PROFILE_DEFINITION_OPERATION_COUNTThe number of operations of the 'Profile Definition' class. | 
| static int | REPOSITORYThe meta object id for the ' Repository' class. | 
| static int | REPOSITORY___GET_ANNOTATION__STRINGThe operation id for the 'Get Annotation' operation. | 
| static int | REPOSITORY__ANNOTATIONSThe feature id for the 'Annotations' containment reference list. | 
| static int | REPOSITORY__TYPEThe feature id for the 'Type' attribute. | 
| static int | REPOSITORY__URLThe feature id for the 'URL' attribute. | 
| static int | REPOSITORY_FEATURE_COUNTThe number of structural features of the 'Repository' class. | 
| static int | REPOSITORY_LISTThe meta object id for the ' Repository List' class. | 
| static int | REPOSITORY_LIST___GET_ANNOTATION__STRINGThe operation id for the 'Get Annotation' operation. | 
| static int | REPOSITORY_LIST__ANNOTATIONSThe feature id for the 'Annotations' containment reference list. | 
| static int | REPOSITORY_LIST__NAMEThe feature id for the 'Name' attribute. | 
| static int | REPOSITORY_LIST__REPOSITORIESThe feature id for the 'Repositories' containment reference list. | 
| static int | REPOSITORY_LIST_FEATURE_COUNTThe number of structural features of the 'Repository List' class. | 
| static int | REPOSITORY_LIST_OPERATION_COUNTThe number of operations of the 'Repository List' class. | 
| static int | REPOSITORY_OPERATION_COUNTThe number of operations of the 'Repository' class. | 
| static int | REPOSITORY_TYPEThe meta object id for the ' Repository Type' enum. | 
| static int | REQUIREMENTThe meta object id for the ' Requirement' class. | 
| static int | REQUIREMENT___GET_ANNOTATION__STRINGThe operation id for the 'Get Annotation' operation. | 
| static int | REQUIREMENT___SET_VERSION_RANGE__VERSION_VERSIONSEGMENTThe operation id for the 'Set Version Range' operation. | 
| static int | REQUIREMENT__ANNOTATIONSThe feature id for the 'Annotations' containment reference list. | 
| static int | REQUIREMENT__FEATUREThe feature id for the 'Feature' attribute. | 
| static int | REQUIREMENT__IDThe feature id for the 'ID' attribute. | 
| static int | REQUIREMENT__NAMEThe feature id for the 'Name' attribute. | 
| static int | REQUIREMENT__NAMESPACEThe feature id for the 'Namespace' attribute. | 
| static int | REQUIREMENT__OPTIONALThe feature id for the 'Optional' attribute. | 
| static int | REQUIREMENT__VERSION_RANGEThe feature id for the 'Version Range' attribute. | 
| static int | REQUIREMENT_FEATURE_COUNTThe number of structural features of the 'Requirement' class. | 
| static int | REQUIREMENT_OPERATION_COUNTThe number of operations of the 'Requirement' class. | 
| static int | VERSIONThe meta object id for the 'Version' data type. | 
| static int | VERSION_RANGEThe meta object id for the 'Version Range' data type. | 
| static int | VERSION_SEGMENTThe meta object id for the ' Version Segment' enum. | 
| Modifier and Type | Method and Description | 
|---|---|
| P2Factory | getP2Factory()Returns the factory that creates the instances of the model. | 
| EOperation | getProfileDefinition__SetRepositories__EList()Returns the meta object for the ' Set Repositories' operation. | 
| EOperation | getProfileDefinition__SetRequirements__EList()Returns the meta object for the ' Set Requirements' operation. | 
| EAttribute | getProfileDefinition_IncludeSourceBundles()Returns the meta object for the attribute ' Include Source Bundles'. | 
| EReference | getProfileDefinition_Repositories()Returns the meta object for the containment reference list ' Repositories'. | 
| EReference | getProfileDefinition_Requirements()Returns the meta object for the containment reference list ' Requirements'. | 
| EClass | getProfileDefinition()Returns the meta object for class ' Profile Definition'. | 
| EAttribute | getRepository_Type()Returns the meta object for the attribute ' Type'. | 
| EAttribute | getRepository_URL()Returns the meta object for the attribute ' URL'. | 
| EClass | getRepository()Returns the meta object for class ' Repository'. | 
| EAttribute | getRepositoryList_Name()Returns the meta object for the attribute ' Name'. | 
| EReference | getRepositoryList_Repositories()Returns the meta object for the containment reference list ' Repositories'. | 
| EClass | getRepositoryList()Returns the meta object for class ' Repository List'. | 
| EEnum | getRepositoryType()Returns the meta object for enum ' Repository Type'. | 
| EOperation | getRequirement__SetVersionRange__Version_VersionSegment()Returns the meta object for the ' Set Version Range' operation. | 
| EAttribute | getRequirement_Feature()Returns the meta object for the attribute ' Feature'. | 
| EAttribute | getRequirement_ID()Returns the meta object for the attribute ' ID'. | 
| EAttribute | getRequirement_Name()Returns the meta object for the attribute ' Name'. | 
| EAttribute | getRequirement_Namespace()Returns the meta object for the attribute ' Namespace'. | 
| EAttribute | getRequirement_Optional()Returns the meta object for the attribute ' Optional'. | 
| EAttribute | getRequirement_VersionRange()Returns the meta object for the attribute ' Version Range'. | 
| EClass | getRequirement()Returns the meta object for class ' Requirement'. | 
| EDataType | getVersion()Returns the meta object for data type ' Version'. | 
| EDataType | getVersionRange()Returns the meta object for data type ' Version Range'. | 
| EEnum | getVersionSegment()Returns the meta object for enum ' Version Segment'. | 
getEClassifier, getEClassifiers, getEFactoryInstance, getESubpackages, getESuperPackage, getNsPrefix, getNsURI, setEFactoryInstance, setNsPrefix, setNsURIgetName, setNamegetEAnnotation, getEAnnotationseAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDeliverstatic final String eNAME
static final String eNS_URI
static final String eNS_PREFIX
static final P2Package eINSTANCE
static final int PROFILE_DEFINITION
Profile Definition' class.
 
 ProfileDefinitionImpl, 
P2PackageImpl.getProfileDefinition(), 
Constant Field Valuesstatic final int PROFILE_DEFINITION__ANNOTATIONS
static final int PROFILE_DEFINITION__REQUIREMENTS
static final int PROFILE_DEFINITION__REPOSITORIES
static final int PROFILE_DEFINITION__INCLUDE_SOURCE_BUNDLES
static final int PROFILE_DEFINITION_FEATURE_COUNT
static final int PROFILE_DEFINITION___GET_ANNOTATION__STRING
static final int PROFILE_DEFINITION___SET_REQUIREMENTS__ELIST
static final int PROFILE_DEFINITION___SET_REPOSITORIES__ELIST
static final int PROFILE_DEFINITION_OPERATION_COUNT
static final int REQUIREMENT
Requirement' class.
 
 RequirementImpl, 
P2PackageImpl.getRequirement(), 
Constant Field Valuesstatic final int REQUIREMENT__ANNOTATIONS
static final int REQUIREMENT__ID
static final int REQUIREMENT__NAME
static final int REQUIREMENT__NAMESPACE
static final int REQUIREMENT__VERSION_RANGE
static final int REQUIREMENT__OPTIONAL
static final int REQUIREMENT__FEATURE
static final int REQUIREMENT_FEATURE_COUNT
static final int REQUIREMENT___GET_ANNOTATION__STRING
static final int REQUIREMENT___SET_VERSION_RANGE__VERSION_VERSIONSEGMENT
static final int REQUIREMENT_OPERATION_COUNT
static final int REPOSITORY_LIST
Repository List' class.
 
 RepositoryListImpl, 
P2PackageImpl.getRepositoryList(), 
Constant Field Valuesstatic final int REPOSITORY
Repository' class.
 
 RepositoryImpl, 
P2PackageImpl.getRepository(), 
Constant Field Valuesstatic final int REPOSITORY_LIST__ANNOTATIONS
static final int REPOSITORY_LIST__REPOSITORIES
static final int REPOSITORY_LIST__NAME
static final int REPOSITORY_LIST_FEATURE_COUNT
static final int REPOSITORY_LIST___GET_ANNOTATION__STRING
static final int REPOSITORY_LIST_OPERATION_COUNT
static final int REPOSITORY__ANNOTATIONS
static final int REPOSITORY__URL
static final int REPOSITORY__TYPE
static final int REPOSITORY_FEATURE_COUNT
static final int REPOSITORY___GET_ANNOTATION__STRING
static final int REPOSITORY_OPERATION_COUNT
static final int REPOSITORY_TYPE
Repository Type' enum.
 
 RepositoryType, 
P2PackageImpl.getRepositoryType(), 
Constant Field Valuesstatic final int VERSION_SEGMENT
Version Segment' enum.
 
 VersionSegment, 
P2PackageImpl.getVersionSegment(), 
Constant Field Valuesstatic final int VERSION
Version, 
P2PackageImpl.getVersion(), 
Constant Field Valuesstatic final int VERSION_RANGE
VersionRange, 
P2PackageImpl.getVersionRange(), 
Constant Field ValuesEClass getProfileDefinition()
Profile Definition'.
 
 ProfileDefinitionEReference getProfileDefinition_Requirements()
Requirements'.
 
 ProfileDefinition.getRequirements(), 
getProfileDefinition()EReference getProfileDefinition_Repositories()
Repositories'.
 
 ProfileDefinition.getRepositories(), 
getProfileDefinition()EAttribute getProfileDefinition_IncludeSourceBundles()
Include Source Bundles'.
 
 ProfileDefinition.isIncludeSourceBundles(), 
getProfileDefinition()EOperation getProfileDefinition__SetRequirements__EList()
Set Requirements' operation.
 
 ProfileDefinition.setRequirements(org.eclipse.emf.common.util.EList)EOperation getProfileDefinition__SetRepositories__EList()
Set Repositories' operation.
 
 ProfileDefinition.setRepositories(org.eclipse.emf.common.util.EList)EClass getRequirement()
Requirement'.
 
 RequirementEAttribute getRequirement_ID()
ID'.
 
 Requirement, 
getRequirement()EAttribute getRequirement_Name()
Name'.
 
 Requirement.getName(), 
getRequirement()EAttribute getRequirement_Namespace()
Namespace'.
 
 Requirement.getNamespace(), 
getRequirement()EAttribute getRequirement_VersionRange()
Version Range'.
 
 Requirement.getVersionRange(), 
getRequirement()EAttribute getRequirement_Optional()
Optional'.
 
 Requirement.isOptional(), 
getRequirement()EAttribute getRequirement_Feature()
Feature'.
 
 Requirement.isFeature(), 
getRequirement()EOperation getRequirement__SetVersionRange__Version_VersionSegment()
Set Version Range' operation.
 
 Requirement.setVersionRange(org.eclipse.equinox.p2.metadata.Version, org.eclipse.oomph.p2.VersionSegment)EClass getRepositoryList()
Repository List'.
 
 RepositoryListEReference getRepositoryList_Repositories()
Repositories'.
 
 RepositoryList.getRepositories(), 
getRepositoryList()EAttribute getRepositoryList_Name()
Name'.
 
 RepositoryList.getName(), 
getRepositoryList()EClass getRepository()
Repository'.
 
 RepositoryEAttribute getRepository_URL()
URL'.
 
 Repository.getURL(), 
getRepository()EAttribute getRepository_Type()
Type'.
 
 Repository.getType(), 
getRepository()EEnum getRepositoryType()
Repository Type'.
 
 RepositoryTypeEEnum getVersionSegment()
Version Segment'.
 
 VersionSegmentEDataType getVersion()
Version'.
 
 VersionEDataType getVersionRange()
Version Range'.
 
 VersionRangeP2Factory getP2Factory()
Copyright (c) 2014 Eike Stepper (Berlin, 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