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

The following are top voted examples for showing how to use org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList. These examples are extracted from open source projects. You can vote up the examples you like and your votes will be used in our system to generate more good examples.
Example 1
Project: xtext-extras   File: JvmEnumerationTypeImplCustom.java   View source code 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
Project: eclipse-avro   File: EPackageImpl.java   View source code 6 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated NOT
 */
public EList<EClassifier> getEClassifiers()
{
  if (eClassifiers == null)
  {
    eClassifiers = 
      new EObjectContainmentWithInverseEList.Resolving<EClassifier>
        (EClassifier.class, this, EcorePackage.EPACKAGE__ECLASSIFIERS, EcorePackage.ECLASSIFIER__EPACKAGE)
      {
        private static final long serialVersionUID = 1L;

        @Override
        protected void didChange()
        {
          eNameToEClassifierMap = null;
        }
      };
  }
  return eClassifiers;
}
 
Example 3
Project: n4js   File: N4ClassifierDeclarationImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<N4MemberDeclaration> getOwnedMembersRaw() {
	if (ownedMembersRaw == null) {
		ownedMembersRaw = new EObjectContainmentWithInverseEList<N4MemberDeclaration>(N4MemberDeclaration.class, this, N4JSPackage.N4_CLASSIFIER_DECLARATION__OWNED_MEMBERS_RAW, N4JSPackage.N4_MEMBER_DECLARATION__OWNER);
	}
	return ownedMembersRaw;
}
 
Example 4
Project: n4js   File: N4ClassifierDefinitionImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<N4MemberDeclaration> getOwnedMembersRaw() {
	if (ownedMembersRaw == null) {
		ownedMembersRaw = new EObjectContainmentWithInverseEList<N4MemberDeclaration>(N4MemberDeclaration.class, this, N4JSPackage.N4_CLASSIFIER_DEFINITION__OWNED_MEMBERS_RAW, N4JSPackage.N4_MEMBER_DECLARATION__OWNER);
	}
	return ownedMembersRaw;
}
 
Example 5
Project: n4js   File: CompositeImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<ContentNode> getContents() {
	if (contents == null) {
		contents = new EObjectContainmentWithInverseEList<ContentNode>(ContentNode.class, this, DomPackage.COMPOSITE__CONTENTS, DomPackage.CONTENT_NODE__OWNER);
	}
	return contents;
}
 
Example 6
Project: n4js   File: DocletImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<LineTag> getLineTags() {
	if (lineTags == null) {
		lineTags = new EObjectContainmentWithInverseEList<LineTag>(LineTag.class, this, DomPackage.DOCLET__LINE_TAGS, DomPackage.LINE_TAG__DOCLET);
	}
	return lineTags;
}
 
Example 7
Project: gemoc-studio-modeldebugging   File: DebugTargetImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * 
 * @generated
 */
public EList<org.eclipse.gemoc.dsl.debug.Thread> getThreads() {
	if (threads == null) {
		threads = new EObjectContainmentWithInverseEList<org.eclipse.gemoc.dsl.debug.Thread>(
				org.eclipse.gemoc.dsl.debug.Thread.class, this, DebugPackage.DEBUG_TARGET__THREADS,
				DebugPackage.THREAD__DEBUG_TARGET);
	}
	return threads;
}
 
Example 8
Project: gemoc-studio-modeldebugging   File: StackFrameImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * 
 * @generated
 */
public EList<Variable> getVariables() {
	if (variables == null) {
		variables = new EObjectContainmentWithInverseEList<Variable>(Variable.class, this,
				DebugPackage.STACK_FRAME__VARIABLES, DebugPackage.VARIABLE__FRAME);
	}
	return variables;
}
 
Example 9
Project: gemoc-studio-modeldebugging   File: RegisterGroupImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * 
 * @generated
 */
public EList<Register> getRegisters() {
	if (registers == null) {
		registers = new EObjectContainmentWithInverseEList<Register>(Register.class, this,
				DebugPackage.REGISTER_GROUP__REGISTERS, DebugPackage.REGISTER__REGISTER_GROUP);
	}
	return registers;
}
 
Example 10
Project: neoscada   File: ProtocolImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public EList<Message> getMessages ()
{
    if ( messages == null )
    {
        messages = new EObjectContainmentWithInverseEList.Resolving<Message> ( Message.class, this, ProtocolPackage.PROTOCOL__MESSAGES, ProtocolPackage.MESSAGE__PROTOCOL );
    }
    return messages;
}
 
Example 11
Project: neoscada   File: ProtocolImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public EList<org.eclipse.scada.protocol.ngp.model.Protocol.Enum> getEnums ()
{
    if ( enums == null )
    {
        enums = new EObjectContainmentWithInverseEList.Resolving<org.eclipse.scada.protocol.ngp.model.Protocol.Enum> ( org.eclipse.scada.protocol.ngp.model.Protocol.Enum.class, this, ProtocolPackage.PROTOCOL__ENUMS, ProtocolPackage.ENUM__PROTOCOL );
    }
    return enums;
}
 
Example 12
Project: neoscada   File: ProtocolImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public EList<Interface> getInterfaces ()
{
    if ( interfaces == null )
    {
        interfaces = new EObjectContainmentWithInverseEList.Resolving<Interface> ( Interface.class, this, ProtocolPackage.PROTOCOL__INTERFACES, ProtocolPackage.INTERFACE__PROTOCOL );
    }
    return interfaces;
}
 
Example 13
Project: neoscada   File: ProtocolImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public EList<Structure> getStructures ()
{
    if ( structures == null )
    {
        structures = new EObjectContainmentWithInverseEList.Resolving<Structure> ( Structure.class, this, ProtocolPackage.PROTOCOL__STRUCTURES, ProtocolPackage.STRUCTURE__PROTOCOL );
    }
    return structures;
}
 
Example 14
Project: neoscada   File: VersionImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<Release> getReleases() {
	if (releases == null) {
		releases = new EObjectContainmentWithInverseEList<Release>(Release.class, this, WebPackage.VERSION__RELEASES, WebPackage.RELEASE__VERSION);
	}
	return releases;
}
 
Example 15
Project: neoscada   File: SiteImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<Page> getPages() {
	if (pages == null) {
		pages = new EObjectContainmentWithInverseEList<Page>(Page.class, this, WebPackage.SITE__PAGES, WebPackage.PAGE__SITE);
	}
	return pages;
}
 
Example 16
Project: neoscada   File: LevelImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<Component> getComponents ()
{
    if ( components == null )
    {
        components = new EObjectContainmentWithInverseEList.Resolving<Component> ( Component.class, this, ComponentPackage.LEVEL__COMPONENTS, ComponentPackage.COMPONENT__LEVEL );
    }
    return components;
}
 
Example 17
Project: neoscada   File: LevelImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<Level> getLevels ()
{
    if ( levels == null )
    {
        levels = new EObjectContainmentWithInverseEList.Resolving<Level> ( Level.class, this, ComponentPackage.LEVEL__LEVELS, ComponentPackage.LEVEL__PARENT );
    }
    return levels;
}
 
Example 18
Project: neoscada   File: CompositePipelineImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<Step> getSteps ()
{
    if ( steps == null )
    {
        steps = new EObjectContainmentWithInverseEList.Resolving<Step> ( Step.class, this, ItemPackage.COMPOSITE_PIPELINE__STEPS, ItemPackage.STEP__CONTAINING_PIPELINE );
    }
    return steps;
}
 
Example 19
Project: neoscada   File: MasterServerImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<MasterImport> getImportMaster ()
{
    if ( importMaster == null )
    {
        importMaster = new EObjectContainmentWithInverseEList.Resolving<MasterImport> ( MasterImport.class, this, InfrastructurePackage.MASTER_SERVER__IMPORT_MASTER, InfrastructurePackage.MASTER_IMPORT__MASTER );
    }
    return importMaster;
}
 
Example 20
Project: neoscada   File: SystemNodeImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<Driver> getDrivers ()
{
    if ( drivers == null )
    {
        drivers = new EObjectContainmentWithInverseEList.Resolving<Driver> ( Driver.class, this, InfrastructurePackage.SYSTEM_NODE__DRIVERS, InfrastructurePackage.DRIVER__NODE );
    }
    return drivers;
}
 
Example 21
Project: neoscada   File: NodeImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<Device> getDevices ()
{
    if ( devices == null )
    {
        devices = new EObjectContainmentWithInverseEList.Resolving<Device> ( Device.class, this, InfrastructurePackage.NODE__DEVICES, InfrastructurePackage.DEVICE__NODE );
    }
    return devices;
}
 
Example 22
Project: neoscada   File: DaveCommunicationProcessorImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<DaveRequestBlock> getBlocks ()
{
    if ( blocks == null )
    {
        blocks = new EObjectContainmentWithInverseEList.Resolving<DaveRequestBlock> ( DaveRequestBlock.class, this, DavePackage.DAVE_COMMUNICATION_PROCESSOR__BLOCKS, DavePackage.DAVE_REQUEST_BLOCK__DEVICE );
    }
    return blocks;
}
 
Example 23
Project: neoscada   File: DaveDeviceImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<DaveBlockDefinition> getBlocks ()
{
    if ( blocks == null )
    {
        blocks = new EObjectContainmentWithInverseEList.Resolving<DaveBlockDefinition> ( DaveBlockDefinition.class, this, DavePackage.DAVE_DEVICE__BLOCKS, DavePackage.DAVE_BLOCK_DEFINITION__DEVICE );
    }
    return blocks;
}
 
Example 24
Project: neoscada   File: ItemImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<ItemFeatureEntry> getItemFeatures ()
{
    if ( itemFeatures == null )
    {
        itemFeatures = new EObjectContainmentWithInverseEList.Resolving<ItemFeatureEntry> ( ItemFeatureEntry.class, this, OsgiPackage.ITEM__ITEM_FEATURES, OsgiPackage.ITEM_FEATURE_ENTRY__ITEM );
    }
    return itemFeatures;
}
 
Example 25
Project: neoscada   File: NodeImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public EList<Endpoint> getEndpoints ()
{
    if ( endpoints == null )
    {
        endpoints = new EObjectContainmentWithInverseEList.Resolving<Endpoint> ( Endpoint.class, this, WorldPackage.NODE__ENDPOINTS, WorldPackage.ENDPOINT__NODE );
    }
    return endpoints;
}
 
Example 26
Project: neoscada   File: GlobalImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<Local> getLocals ()
{
    if ( locals == null )
    {
        locals = new EObjectContainmentWithInverseEList.Resolving<Local> ( Local.class, this, GlobalizePackage.GLOBAL__LOCALS, GlobalizePackage.LOCAL__GLOBAL );
    }
    return locals;
}
 
Example 27
Project: neoscada   File: DefinitionImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<Task> getTask ()
{
    if ( task == null )
    {
        task = new EObjectContainmentWithInverseEList.Resolving<Task> ( Task.class, this, RecipePackage.DEFINITION__TASK, RecipePackage.TASK__DEFINITION );
    }
    return task;
}
 
Example 28
Project: neoscada   File: TaskImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<Execute> getExecute ()
{
    if ( execute == null )
    {
        execute = new EObjectContainmentWithInverseEList.Resolving<Execute> ( Execute.class, this, RecipePackage.TASK__EXECUTE, RecipePackage.EXECUTE__TASK );
    }
    return execute;
}
 
Example 29
Project: model-consistency   File: GraphImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<Vertex> getVertices() {
	if (vertices == null) {
		vertices = new EObjectContainmentWithInverseEList<Vertex>(Vertex.class, this, GraphPackage.GRAPH__VERTICES, GraphPackage.VERTEX__OWNER);
	}
	return vertices;
}
 
Example 30
Project: gemoc-studio   File: StateMachineImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<State> getOwnedStates() {
	if (ownedStates == null) {
		ownedStates = new EObjectContainmentWithInverseEList<State>(State.class, this, FsmPackage.STATE_MACHINE__OWNED_STATES, FsmPackage.STATE__OWNING_FSM);
	}
	return ownedStates;
}
 
Example 31
Project: gemoc-studio   File: StateMachineImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<State> getOwnedStates() {
	if (ownedStates == null) {
		ownedStates = new EObjectContainmentWithInverseEList<State>(State.class, this, FsmPackage.STATE_MACHINE__OWNED_STATES, FsmPackage.STATE__OWNING_FSM);
	}
	return ownedStates;
}
 
Example 32
Project: time4sys   File: MemoryPartitionImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<SoftwareConcurrentResource> getConcurrentResources() {
	if (concurrentResources == null) {
		concurrentResources = new EObjectContainmentWithInverseEList<SoftwareConcurrentResource>(SoftwareConcurrentResource.class, this, SrmPackage.MEMORY_PARTITION__CONCURRENT_RESOURCES, SrmPackage.SOFTWARE_CONCURRENT_RESOURCE__ADRESS_SPACE);
	}
	return concurrentResources;
}
 
Example 33
Project: time4sys   File: SliceImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<Slice> getOwnedSubSlices() {
	if (ownedSubSlices == null) {
		ownedSubSlices = new EObjectContainmentWithInverseEList<Slice>(Slice.class, this, TracePackage.SLICE__OWNED_SUB_SLICES, TracePackage.SLICE__PARENT);
	}
	return ownedSubSlices;
}
 
Example 34
Project: time4sys   File: TraceImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<Event> getEvents() {
	if (events == null) {
		events = new EObjectContainmentWithInverseEList<Event>(Event.class, this, TracePackage.TRACE__EVENTS, TracePackage.EVENT__TRACE);
	}
	return events;
}
 
Example 35
Project: time4sys   File: BehaviorScenarioImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<Step> getSteps() {
	if (steps == null) {
		steps = new EObjectContainmentWithInverseEList<Step>(Step.class, this, GqamPackage.BEHAVIOR_SCENARIO__STEPS, GqamPackage.STEP__SCENARIO);
	}
	return steps;
}
 
Example 36
Project: time4sys   File: EventModelImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<Offset> getOffsets() {
	if (offsets == null) {
		offsets = new EObjectContainmentWithInverseEList<Offset>(Offset.class, this, AnalysisPackage.EVENT_MODEL__OFFSETS, AnalysisPackage.OFFSET__EVENT_MODEL);
	}
	return offsets;
}
 
Example 37
Project: time4sys   File: SchedulableElementImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<Port> getPorts() {
	if (ports == null) {
		ports = new EObjectContainmentWithInverseEList<Port>(Port.class, this, AnalysisPackage.SCHEDULABLE_ELEMENT__PORTS, AnalysisPackage.PORT__PARENT);
	}
	return ports;
}
 
Example 38
Project: time4sys   File: SchedulableElementImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<SchedulerParameterValue> getSchedulingParameters() {
	if (schedulingParameters == null) {
		schedulingParameters = new EObjectContainmentWithInverseEList<SchedulerParameterValue>(SchedulerParameterValue.class, this, AnalysisPackage.SCHEDULABLE_ELEMENT__SCHEDULING_PARAMETERS, AnalysisPackage.SCHEDULER_PARAMETER_VALUE__PARENT);
	}
	return schedulingParameters;
}
 
Example 39
Project: time4sys   File: SchedulerImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<RequiredSchedulingParameter> getRequiredParameters() {
	if (requiredParameters == null) {
		requiredParameters = new EObjectContainmentWithInverseEList<RequiredSchedulingParameter>(RequiredSchedulingParameter.class, this, AnalysisPackage.SCHEDULER__REQUIRED_PARAMETERS, AnalysisPackage.REQUIRED_SCHEDULING_PARAMETER__PARENT);
	}
	return requiredParameters;
}
 
Example 40
Project: time4sys   File: PortContainerImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<Port> getPorts() {
	if (ports == null) {
		ports = new EObjectContainmentWithInverseEList<Port>(Port.class, this, AnalysisPackage.PORT_CONTAINER__PORTS, AnalysisPackage.PORT__PARENT);
	}
	return ports;
}