Class AbstractThingSemanticSequencer
java.lang.Object
org.eclipse.xtext.serializer.sequencer.AbstractSemanticSequencer
org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer
org.openhab.core.model.thing.serializer.AbstractThingSemanticSequencer
- All Implemented Interfaces:
org.eclipse.xtext.serializer.sequencer.ISemanticSequencer
- Direct Known Subclasses:
ThingSemanticSequencer
public abstract class AbstractThingSemanticSequencer
extends org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer
-
Field Summary
Fields inherited from class org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer
genericSequencer, genericSequencerProvider
Fields inherited from class org.eclipse.xtext.serializer.sequencer.AbstractSemanticSequencer
diagnosticProvider, errorAcceptor, feederProvider, masterSequencer, nodeProvider, sequenceAcceptor, transientValues
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
sequence
(org.eclipse.xtext.serializer.ISerializationContext context, org.eclipse.emf.ecore.EObject semanticObject) protected void
sequence_ModelBridge
(org.eclipse.xtext.serializer.ISerializationContext context, ModelBridge semanticObject) Contexts: ModelPropertyContainer returns ModelBridge ModelBridge returns ModelBridge Constraint: ( bridge?='Bridge' (id=UID | (thingTypeId=UID_SEGMENT thingId=UID_SEGMENT)) label=STRING? location=STRING? properties+=ModelProperty? properties+=ModelProperty* (things+=ModelThing | things+=ModelBridge)* channels+=ModelChannel* )protected void
sequence_ModelChannel
(org.eclipse.xtext.serializer.ISerializationContext context, ModelChannel semanticObject) Contexts: ModelPropertyContainer returns ModelChannel ModelChannel returns ModelChannel Constraint: ( (((channelKind='State' | channelKind='Trigger')? type=ModelItemType) | channelType=UID_SEGMENT) id=CHANNEL_ID label=STRING? properties+=ModelProperty? properties+=ModelProperty* )protected void
sequence_ModelProperty
(org.eclipse.xtext.serializer.ISerializationContext context, ModelProperty semanticObject) Contexts: ModelProperty returns ModelProperty Constraint: (key=ID value+=ValueType value+=ValueType*)protected void
sequence_ModelThing
(org.eclipse.xtext.serializer.ISerializationContext context, ModelThing semanticObject) Contexts: ModelPropertyContainer returns ModelThing ModelThing returns ModelThing Constraint: ( (id=UID | (thingTypeId=UID_SEGMENT thingId=UID_SEGMENT)) label=STRING? bridgeUID=UID? location=STRING? properties+=ModelProperty? properties+=ModelProperty* channels+=ModelChannel* )protected void
sequence_ThingModel
(org.eclipse.xtext.serializer.ISerializationContext context, ThingModel semanticObject) Contexts: ThingModel returns ThingModel Constraint: (things+=ModelThing | things+=ModelBridge)+Methods inherited from class org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer
init
Methods inherited from class org.eclipse.xtext.serializer.sequencer.AbstractSemanticSequencer
createContext, createNodeProvider, createSequence, createSequence, createSequencerFeeder, createSequencerFeeder, createSequencerFeeder, createSequencerFeeder, init, setMasterSequencer
-
Constructor Details
-
AbstractThingSemanticSequencer
public AbstractThingSemanticSequencer()
-
-
Method Details
-
sequence
public void sequence(org.eclipse.xtext.serializer.ISerializationContext context, org.eclipse.emf.ecore.EObject semanticObject) - Overrides:
sequence
in classorg.eclipse.xtext.serializer.sequencer.AbstractSemanticSequencer
-
sequence_ModelBridge
protected void sequence_ModelBridge(org.eclipse.xtext.serializer.ISerializationContext context, ModelBridge semanticObject) Contexts: ModelPropertyContainer returns ModelBridge ModelBridge returns ModelBridge Constraint: ( bridge?='Bridge' (id=UID | (thingTypeId=UID_SEGMENT thingId=UID_SEGMENT)) label=STRING? location=STRING? properties+=ModelProperty? properties+=ModelProperty* (things+=ModelThing | things+=ModelBridge)* channels+=ModelChannel* )
-
sequence_ModelChannel
protected void sequence_ModelChannel(org.eclipse.xtext.serializer.ISerializationContext context, ModelChannel semanticObject) Contexts: ModelPropertyContainer returns ModelChannel ModelChannel returns ModelChannel Constraint: ( (((channelKind='State' | channelKind='Trigger')? type=ModelItemType) | channelType=UID_SEGMENT) id=CHANNEL_ID label=STRING? properties+=ModelProperty? properties+=ModelProperty* )
-
sequence_ModelProperty
protected void sequence_ModelProperty(org.eclipse.xtext.serializer.ISerializationContext context, ModelProperty semanticObject) Contexts: ModelProperty returns ModelProperty Constraint: (key=ID value+=ValueType value+=ValueType*)
-
sequence_ModelThing
protected void sequence_ModelThing(org.eclipse.xtext.serializer.ISerializationContext context, ModelThing semanticObject) Contexts: ModelPropertyContainer returns ModelThing ModelThing returns ModelThing Constraint: ( (id=UID | (thingTypeId=UID_SEGMENT thingId=UID_SEGMENT)) label=STRING? bridgeUID=UID? location=STRING? properties+=ModelProperty? properties+=ModelProperty* channels+=ModelChannel* )
-
sequence_ThingModel
protected void sequence_ThingModel(org.eclipse.xtext.serializer.ISerializationContext context, ThingModel semanticObject) Contexts: ThingModel returns ThingModel Constraint: (things+=ModelThing | things+=ModelBridge)+
-