org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList Java Examples

The following examples show how to use org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: JvmEnumerationTypeImplCustom.java    From xtext-extras with Eclipse Public License 2.0 6 votes vote down vote up
@Override
public EList<JvmMember> getMembers() {
	checkPendingInitialization();
	if (members == null) {
		members = new EObjectContainmentWithInverseEList<JvmMember>(JvmMember.class, this,
				TypesPackage.JVM_DECLARED_TYPE__MEMBERS, TypesPackage.JVM_MEMBER__DECLARING_TYPE) {
			private static final long serialVersionUID = 1L;

			@Override
			protected void didChange() {
				literals = null;
				super.didChange();
			}
		};
	}
	return members;
}
 
Example #2
Source File: JvmWildcardTypeReferenceImpl.java    From xtext-extras with Eclipse Public License 2.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public EList<JvmTypeConstraint> getConstraints()
{
	if (constraints == null)
	{
		constraints = new EObjectContainmentWithInverseEList<JvmTypeConstraint>(JvmTypeConstraint.class, this, TypesPackage.JVM_WILDCARD_TYPE_REFERENCE__CONSTRAINTS, TypesPackage.JVM_TYPE_CONSTRAINT__OWNER);
	}
	return constraints;
}
 
Example #3
Source File: AnonymousClassImpl.java    From xtext-xtend with Eclipse Public License 2.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public EList<XtendMember> getMembers()
{
	if (members == null)
	{
		members = new EObjectContainmentWithInverseEList<XtendMember>(XtendMember.class, this, XtendPackage.ANONYMOUS_CLASS__MEMBERS, XtendPackage.XTEND_MEMBER__DECLARING_TYPE);
	}
	return members;
}
 
Example #4
Source File: JvmGenericTypeImpl.java    From xtext-extras with Eclipse Public License 2.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public EList<JvmTypeParameter> getTypeParameters()
{
	if (typeParameters == null)
	{
		typeParameters = new EObjectContainmentWithInverseEList<JvmTypeParameter>(JvmTypeParameter.class, this, TypesPackage.JVM_GENERIC_TYPE__TYPE_PARAMETERS, TypesPackage.JVM_TYPE_PARAMETER__DECLARATOR);
	}
	return typeParameters;
}
 
Example #5
Source File: JvmTypeParameterDeclaratorImpl.java    From xtext-extras with Eclipse Public License 2.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public EList<JvmTypeParameter> getTypeParameters()
{
	if (typeParameters == null)
	{
		typeParameters = new EObjectContainmentWithInverseEList<JvmTypeParameter>(JvmTypeParameter.class, this, TypesPackage.JVM_TYPE_PARAMETER_DECLARATOR__TYPE_PARAMETERS, TypesPackage.JVM_TYPE_PARAMETER__DECLARATOR);
	}
	return typeParameters;
}
 
Example #6
Source File: StatechartImpl.java    From statecharts with Eclipse Public License 1.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
public EList<Region> getRegions() {
	if (regions == null) {
		regions = new EObjectContainmentWithInverseEList.Resolving<Region>(Region.class, this, SGraphPackage.STATECHART__REGIONS, SGraphPackage.REGION__COMPOSITE);
	}
	return regions;
}
 
Example #7
Source File: ModelImpl.java    From Knowage-Server with GNU Affero General Public License v3.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 *
 * @generated
 */
@Override
public EList<PhysicalModel> getPhysicalModels() {
	if (physicalModels == null) {
		physicalModels = new EObjectContainmentWithInverseEList<PhysicalModel>(PhysicalModel.class, this, ModelPackage.MODEL__PHYSICAL_MODELS,
				PhysicalModelPackage.PHYSICAL_MODEL__PARENT_MODEL);
	}
	return physicalModels;
}
 
Example #8
Source File: PhysicalModelImpl.java    From Knowage-Server with GNU Affero General Public License v3.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * 
 * @generated
 */
@Override
public EList<PhysicalForeignKey> getForeignKeys() {
	if (foreignKeys == null) {
		foreignKeys = new EObjectContainmentWithInverseEList<PhysicalForeignKey>(PhysicalForeignKey.class, this,
				PhysicalModelPackage.PHYSICAL_MODEL__FOREIGN_KEYS, PhysicalModelPackage.PHYSICAL_FOREIGN_KEY__MODEL);
	}
	return foreignKeys;
}
 
Example #9
Source File: PhysicalModelImpl.java    From Knowage-Server with GNU Affero General Public License v3.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * 
 * @generated
 */
@Override
public EList<PhysicalPrimaryKey> getPrimaryKeys() {
	if (primaryKeys == null) {
		primaryKeys = new EObjectContainmentWithInverseEList<PhysicalPrimaryKey>(PhysicalPrimaryKey.class, this,
				PhysicalModelPackage.PHYSICAL_MODEL__PRIMARY_KEYS, PhysicalModelPackage.PHYSICAL_PRIMARY_KEY__MODEL);
	}
	return primaryKeys;
}
 
Example #10
Source File: PhysicalModelImpl.java    From Knowage-Server with GNU Affero General Public License v3.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * 
 * @generated
 */
@Override
public EList<PhysicalTable> getTables() {
	if (tables == null) {
		tables = new EObjectContainmentWithInverseEList<PhysicalTable>(PhysicalTable.class, this, PhysicalModelPackage.PHYSICAL_MODEL__TABLES,
				PhysicalModelPackage.PHYSICAL_TABLE__MODEL);
	}
	return tables;
}
 
Example #11
Source File: MPlugin.java    From kieker with Apache License 2.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<MIDisplay> getDisplays() {
	if (displays == null) {
		displays = new EObjectContainmentWithInverseEList<MIDisplay>(MIDisplay.class, this, MIAnalysisMetaModelPackage.PLUGIN__DISPLAYS, MIAnalysisMetaModelPackage.DISPLAY__PARENT);
	}
	return displays;
}
 
Example #12
Source File: StateImpl.java    From statecharts with Eclipse Public License 1.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
public EList<Transition> getOutgoingTransitions() {
	if (outgoingTransitions == null) {
		outgoingTransitions = new EObjectContainmentWithInverseEList.Resolving<Transition>(Transition.class, this, SGraphPackage.STATE__OUTGOING_TRANSITIONS, SGraphPackage.TRANSITION__SOURCE);
	}
	return outgoingTransitions;
}
 
Example #13
Source File: BusinessModelImpl.java    From Knowage-Server with GNU Affero General Public License v3.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * 
 * @generated
 */
@Override
public EList<BusinessIdentifier> getIdentifiers() {
	if (identifiers == null) {
		identifiers = new EObjectContainmentWithInverseEList<BusinessIdentifier>(BusinessIdentifier.class, this,
				BusinessModelPackage.BUSINESS_MODEL__IDENTIFIERS, BusinessModelPackage.BUSINESS_IDENTIFIER__MODEL);
	}
	return identifiers;
}
 
Example #14
Source File: BusinessModelImpl.java    From Knowage-Server with GNU Affero General Public License v3.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * 
 * @generated
 */
@Override
public EList<BusinessRelationship> getRelationships() {
	if (relationships == null) {
		relationships = new EObjectContainmentWithInverseEList<BusinessRelationship>(BusinessRelationship.class, this,
				BusinessModelPackage.BUSINESS_MODEL__RELATIONSHIPS, BusinessModelPackage.BUSINESS_RELATIONSHIP__MODEL);
	}
	return relationships;
}
 
Example #15
Source File: BusinessModelImpl.java    From Knowage-Server with GNU Affero General Public License v3.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * 
 * @generated
 */
@Override
public EList<BusinessColumnSet> getTables() {
	if (tables == null) {
		tables = new EObjectContainmentWithInverseEList<BusinessColumnSet>(BusinessColumnSet.class, this, BusinessModelPackage.BUSINESS_MODEL__TABLES,
				BusinessModelPackage.BUSINESS_COLUMN_SET__MODEL);
	}
	return tables;
}
 
Example #16
Source File: DocumentTemplateImpl.java    From M2Doc with Eclipse Public License 1.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * 
 * @generated
 */
public EList<Template> getTemplates() {
    if (templates == null) {
        templates = new EObjectContainmentWithInverseEList<Template>(Template.class, this,
                TemplatePackage.DOCUMENT_TEMPLATE__TEMPLATES, TemplatePackage.TEMPLATE__DOCUMENT_TEMPLATE);
    }
    return templates;
}
 
Example #17
Source File: BusinessModelImpl.java    From Knowage-Server with GNU Affero General Public License v3.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * 
 * @generated
 */
@Override
public EList<BusinessViewInnerJoinRelationship> getJoinRelationships() {
	if (joinRelationships == null) {
		joinRelationships = new EObjectContainmentWithInverseEList<BusinessViewInnerJoinRelationship>(BusinessViewInnerJoinRelationship.class, this,
				BusinessModelPackage.BUSINESS_MODEL__JOIN_RELATIONSHIPS, BusinessModelPackage.BUSINESS_VIEW_INNER_JOIN_RELATIONSHIP__MODEL);
	}
	return joinRelationships;
}
 
Example #18
Source File: ModelImpl.java    From Knowage-Server with GNU Affero General Public License v3.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 *
 * @generated
 */
@Override
@JsonIgnore
public EList<PhysicalModel> getPhysicalModels() {
	if (physicalModels == null) {
		physicalModels = new EObjectContainmentWithInverseEList<PhysicalModel>(PhysicalModel.class, this, ModelPackage.MODEL__PHYSICAL_MODELS,
				PhysicalModelPackage.PHYSICAL_MODEL__PARENT_MODEL);
	}
	return physicalModels;
}
 
Example #19
Source File: XtendTypeDeclarationImpl.java    From xtext-xtend with Eclipse Public License 2.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public EList<XtendMember> getMembers()
{
	if (members == null)
	{
		members = new EObjectContainmentWithInverseEList<XtendMember>(XtendMember.class, this, XtendPackage.XTEND_TYPE_DECLARATION__MEMBERS, XtendPackage.XTEND_MEMBER__DECLARING_TYPE);
	}
	return members;
}
 
Example #20
Source File: PhysicalModelImpl.java    From Knowage-Server with GNU Affero General Public License v3.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 *
 * @generated
 */
@Override
public EList<PhysicalPrimaryKey> getPrimaryKeys() {
	if (primaryKeys == null) {
		primaryKeys = new EObjectContainmentWithInverseEList<PhysicalPrimaryKey>(PhysicalPrimaryKey.class, this,
				PhysicalModelPackage.PHYSICAL_MODEL__PRIMARY_KEYS, PhysicalModelPackage.PHYSICAL_PRIMARY_KEY__MODEL);
	}
	return primaryKeys;
}
 
Example #21
Source File: PhysicalModelImpl.java    From Knowage-Server with GNU Affero General Public License v3.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 *
 * @generated
 */
@Override
public EList<PhysicalTable> getTables() {
	if (tables == null) {
		tables = new EObjectContainmentWithInverseEList<PhysicalTable>(PhysicalTable.class, this, PhysicalModelPackage.PHYSICAL_MODEL__TABLES,
				PhysicalModelPackage.PHYSICAL_TABLE__MODEL);
	}
	return tables;
}
 
Example #22
Source File: PhysicalTableImpl.java    From Knowage-Server with GNU Affero General Public License v3.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * 
 * @generated
 */
@Override
public EList<PhysicalColumn> getColumns() {
	if (columns == null) {
		columns = new EObjectContainmentWithInverseEList<PhysicalColumn>(PhysicalColumn.class, this, PhysicalModelPackage.PHYSICAL_TABLE__COLUMNS,
				PhysicalModelPackage.PHYSICAL_COLUMN__TABLE);
	}
	return columns;
}
 
Example #23
Source File: OlapModelImpl.java    From Knowage-Server with GNU Affero General Public License v3.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<Dimension> getDimensions() {
	if (dimensions == null) {
		dimensions = new EObjectContainmentWithInverseEList<Dimension>(Dimension.class, this, OlapModelPackage.OLAP_MODEL__DIMENSIONS, OlapModelPackage.DIMENSION__MODEL);
	}
	return dimensions;
}
 
Example #24
Source File: OlapModelImpl.java    From Knowage-Server with GNU Affero General Public License v3.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<VirtualCube> getVirtualCubes() {
	if (virtualCubes == null) {
		virtualCubes = new EObjectContainmentWithInverseEList<VirtualCube>(VirtualCube.class, this, OlapModelPackage.OLAP_MODEL__VIRTUAL_CUBES, OlapModelPackage.VIRTUAL_CUBE__MODEL);
	}
	return virtualCubes;
}
 
Example #25
Source File: OlapModelImpl.java    From Knowage-Server with GNU Affero General Public License v3.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<Cube> getCubes() {
	if (cubes == null) {
		cubes = new EObjectContainmentWithInverseEList<Cube>(Cube.class, this, OlapModelPackage.OLAP_MODEL__CUBES, OlapModelPackage.CUBE__MODEL);
	}
	return cubes;
}
 
Example #26
Source File: HierarchyImpl.java    From Knowage-Server with GNU Affero General Public License v3.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 *
 * @generated
 */
@Override
public EList<Level> getLevels() {
	if (levels == null) {
		levels = new EObjectContainmentWithInverseEList<Level>(Level.class, this, OlapModelPackage.HIERARCHY__LEVELS, OlapModelPackage.LEVEL__HIERARCHY);
	}
	return levels;
}
 
Example #27
Source File: OperationImpl.java    From statecharts with Eclipse Public License 1.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<Parameter> getParameters() {
	if (parameters == null) {
		parameters = new EObjectContainmentWithInverseEList<Parameter>(Parameter.class, this, TypesPackage.OPERATION__PARAMETERS, TypesPackage.PARAMETER__OWNING_OPERATION);
	}
	return parameters;
}
 
Example #28
Source File: CubeImpl.java    From Knowage-Server with GNU Affero General Public License v3.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<NamedSet> getNamedSets() {
	if (namedSets == null) {
		namedSets = new EObjectContainmentWithInverseEList<NamedSet>(NamedSet.class, this, OlapModelPackage.CUBE__NAMED_SETS, OlapModelPackage.NAMED_SET__CUBE);
	}
	return namedSets;
}
 
Example #29
Source File: CubeImpl.java    From Knowage-Server with GNU Affero General Public License v3.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<Measure> getMeasures() {
	if (measures == null) {
		measures = new EObjectContainmentWithInverseEList<Measure>(Measure.class, this, OlapModelPackage.CUBE__MEASURES, OlapModelPackage.MEASURE__CUBE);
	}
	return measures;
}
 
Example #30
Source File: BusinessColumnSetImpl.java    From Knowage-Server with GNU Affero General Public License v3.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 *
 * @generated
 */
@Override
public EList<BusinessColumn> getColumns() {
	if (columns == null) {
		columns = new EObjectContainmentWithInverseEList<BusinessColumn>(BusinessColumn.class, this, BusinessModelPackage.BUSINESS_COLUMN_SET__COLUMNS,
				BusinessModelPackage.BUSINESS_COLUMN__TABLE);
	}
	return columns;
}