Class AbstractPersistenceSemanticSequencer

java.lang.Object
org.eclipse.xtext.serializer.sequencer.AbstractSemanticSequencer
org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer
org.openhab.core.model.persistence.serializer.AbstractPersistenceSemanticSequencer
All Implemented Interfaces:
org.eclipse.xtext.serializer.sequencer.ISemanticSequencer
Direct Known Subclasses:
PersistenceSemanticSequencer

public abstract class AbstractPersistenceSemanticSequencer 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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    sequence(org.eclipse.xtext.serializer.ISerializationContext context, org.eclipse.emf.ecore.EObject semanticObject)
     
    protected void
    sequence_AllConfig(org.eclipse.xtext.serializer.ISerializationContext context, AllConfig semanticObject)
    Contexts: AllConfig returns AllConfig Constraint: {AllConfig}
    protected void
    sequence_CronStrategy(org.eclipse.xtext.serializer.ISerializationContext context, CronStrategy semanticObject)
    Contexts: Strategy returns CronStrategy CronStrategy returns CronStrategy Constraint: (name=ID cronExpression=STRING)
    protected void
    sequence_EqualsFilter(org.eclipse.xtext.serializer.ISerializationContext context, EqualsFilter semanticObject)
    Contexts: FilterDetails returns EqualsFilter EqualsFilter returns EqualsFilter Constraint: (values+=STRING values+=STRING*)
    protected void
    sequence_Filter(org.eclipse.xtext.serializer.ISerializationContext context, Filter semanticObject)
    Contexts: Filter returns Filter Constraint: (name=ID definition=FilterDetails)
    protected void
    sequence_GroupConfig(org.eclipse.xtext.serializer.ISerializationContext context, GroupConfig semanticObject)
    Contexts: GroupConfig returns GroupConfig Constraint: group=ID
    protected void
    sequence_GroupExcludeConfig(org.eclipse.xtext.serializer.ISerializationContext context, GroupExcludeConfig semanticObject)
    Contexts: GroupExcludeConfig returns GroupExcludeConfig Constraint: groupExclude=ID
    protected void
    sequence_IncludeFilter(org.eclipse.xtext.serializer.ISerializationContext context, IncludeFilter semanticObject)
    Contexts: FilterDetails returns IncludeFilter IncludeFilter returns IncludeFilter Constraint: (lower=DECIMAL upper=DECIMAL unit=STRING?)
    protected void
    sequence_ItemConfig(org.eclipse.xtext.serializer.ISerializationContext context, ItemConfig semanticObject)
    Contexts: ItemConfig returns ItemConfig Constraint: item=ID
    protected void
    sequence_ItemExcludeConfig(org.eclipse.xtext.serializer.ISerializationContext context, ItemExcludeConfig semanticObject)
    Contexts: ItemExcludeConfig returns ItemExcludeConfig Constraint: itemExclude=ID
    protected void
    sequence_NotEqualsFilter(org.eclipse.xtext.serializer.ISerializationContext context, NotEqualsFilter semanticObject)
    Contexts: FilterDetails returns NotEqualsFilter NotEqualsFilter returns NotEqualsFilter Constraint: (values+=STRING values+=STRING*)
    protected void
    sequence_NotIncludeFilter(org.eclipse.xtext.serializer.ISerializationContext context, NotIncludeFilter semanticObject)
    Contexts: FilterDetails returns NotIncludeFilter NotIncludeFilter returns NotIncludeFilter Constraint: (lower=DECIMAL upper=DECIMAL unit=STRING?)
    protected void
    sequence_PersistenceConfiguration(org.eclipse.xtext.serializer.ISerializationContext context, PersistenceConfiguration semanticObject)
    Contexts: PersistenceConfiguration returns PersistenceConfiguration Constraint: ( (items+=AllConfig | items+=ItemConfig | items+=GroupConfig | items+=ItemExcludeConfig | items+=GroupExcludeConfig) items+=AllConfig? ((items+=ItemConfig | items+=GroupConfig | items+=ItemExcludeConfig | items+=GroupExcludeConfig)? items+=AllConfig?)* alias=STRING? (strategies+=[Strategy|ID] strategies+=[Strategy|ID]*)? (filters+=[Filter|ID] filters+=[Filter|ID]*)? )
    protected void
    sequence_PersistenceModel(org.eclipse.xtext.serializer.ISerializationContext context, PersistenceModel semanticObject)
    Contexts: PersistenceModel returns PersistenceModel Constraint: (strategies+=Strategy* (defaults+=[Strategy|ID] defaults+=[Strategy|ID]*)? filters+=Filter* configs+=PersistenceConfiguration*)
    protected void
    sequence_Strategy(org.eclipse.xtext.serializer.ISerializationContext context, Strategy semanticObject)
    Contexts: Strategy returns Strategy Constraint: name=ID
    protected void
    sequence_ThresholdFilter(org.eclipse.xtext.serializer.ISerializationContext context, ThresholdFilter semanticObject)
    Contexts: FilterDetails returns ThresholdFilter ThresholdFilter returns ThresholdFilter Constraint: (relative?='%'? value=DECIMAL unit=STRING?)
    protected void
    sequence_TimeFilter(org.eclipse.xtext.serializer.ISerializationContext context, TimeFilter semanticObject)
    Contexts: FilterDetails returns TimeFilter TimeFilter returns TimeFilter Constraint: (value=INT (unit='s' | unit='m' | unit='h' | unit='d'))

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AbstractPersistenceSemanticSequencer

      public AbstractPersistenceSemanticSequencer()
  • Method Details

    • sequence

      public void sequence(org.eclipse.xtext.serializer.ISerializationContext context, org.eclipse.emf.ecore.EObject semanticObject)
      Overrides:
      sequence in class org.eclipse.xtext.serializer.sequencer.AbstractSemanticSequencer
    • sequence_AllConfig

      protected void sequence_AllConfig(org.eclipse.xtext.serializer.ISerializationContext context, AllConfig semanticObject)
       Contexts:
           AllConfig returns AllConfig
      
       Constraint:
           {AllConfig}
       
    • sequence_CronStrategy

      protected void sequence_CronStrategy(org.eclipse.xtext.serializer.ISerializationContext context, CronStrategy semanticObject)
       Contexts:
           Strategy returns CronStrategy
           CronStrategy returns CronStrategy
      
       Constraint:
           (name=ID cronExpression=STRING)
       
    • sequence_EqualsFilter

      protected void sequence_EqualsFilter(org.eclipse.xtext.serializer.ISerializationContext context, EqualsFilter semanticObject)
       Contexts:
           FilterDetails returns EqualsFilter
           EqualsFilter returns EqualsFilter
      
       Constraint:
           (values+=STRING values+=STRING*)
       
    • sequence_Filter

      protected void sequence_Filter(org.eclipse.xtext.serializer.ISerializationContext context, Filter semanticObject)
       Contexts:
           Filter returns Filter
      
       Constraint:
           (name=ID definition=FilterDetails)
       
    • sequence_GroupConfig

      protected void sequence_GroupConfig(org.eclipse.xtext.serializer.ISerializationContext context, GroupConfig semanticObject)
       Contexts:
           GroupConfig returns GroupConfig
      
       Constraint:
           group=ID
       
    • sequence_GroupExcludeConfig

      protected void sequence_GroupExcludeConfig(org.eclipse.xtext.serializer.ISerializationContext context, GroupExcludeConfig semanticObject)
       Contexts:
           GroupExcludeConfig returns GroupExcludeConfig
      
       Constraint:
           groupExclude=ID
       
    • sequence_IncludeFilter

      protected void sequence_IncludeFilter(org.eclipse.xtext.serializer.ISerializationContext context, IncludeFilter semanticObject)
       Contexts:
           FilterDetails returns IncludeFilter
           IncludeFilter returns IncludeFilter
      
       Constraint:
           (lower=DECIMAL upper=DECIMAL unit=STRING?)
       
    • sequence_ItemConfig

      protected void sequence_ItemConfig(org.eclipse.xtext.serializer.ISerializationContext context, ItemConfig semanticObject)
       Contexts:
           ItemConfig returns ItemConfig
      
       Constraint:
           item=ID
       
    • sequence_ItemExcludeConfig

      protected void sequence_ItemExcludeConfig(org.eclipse.xtext.serializer.ISerializationContext context, ItemExcludeConfig semanticObject)
       Contexts:
           ItemExcludeConfig returns ItemExcludeConfig
      
       Constraint:
           itemExclude=ID
       
    • sequence_NotEqualsFilter

      protected void sequence_NotEqualsFilter(org.eclipse.xtext.serializer.ISerializationContext context, NotEqualsFilter semanticObject)
       Contexts:
           FilterDetails returns NotEqualsFilter
           NotEqualsFilter returns NotEqualsFilter
      
       Constraint:
           (values+=STRING values+=STRING*)
       
    • sequence_NotIncludeFilter

      protected void sequence_NotIncludeFilter(org.eclipse.xtext.serializer.ISerializationContext context, NotIncludeFilter semanticObject)
       Contexts:
           FilterDetails returns NotIncludeFilter
           NotIncludeFilter returns NotIncludeFilter
      
       Constraint:
           (lower=DECIMAL upper=DECIMAL unit=STRING?)
       
    • sequence_PersistenceConfiguration

      protected void sequence_PersistenceConfiguration(org.eclipse.xtext.serializer.ISerializationContext context, PersistenceConfiguration semanticObject)
       Contexts:
           PersistenceConfiguration returns PersistenceConfiguration
      
       Constraint:
           (
               (items+=AllConfig | items+=ItemConfig | items+=GroupConfig | items+=ItemExcludeConfig | items+=GroupExcludeConfig) 
               items+=AllConfig? 
               ((items+=ItemConfig | items+=GroupConfig | items+=ItemExcludeConfig | items+=GroupExcludeConfig)? items+=AllConfig?)* 
               alias=STRING? 
               (strategies+=[Strategy|ID] strategies+=[Strategy|ID]*)? 
               (filters+=[Filter|ID] filters+=[Filter|ID]*)?
           )
       
    • sequence_PersistenceModel

      protected void sequence_PersistenceModel(org.eclipse.xtext.serializer.ISerializationContext context, PersistenceModel semanticObject)
       Contexts:
           PersistenceModel returns PersistenceModel
      
       Constraint:
           (strategies+=Strategy* (defaults+=[Strategy|ID] defaults+=[Strategy|ID]*)? filters+=Filter* configs+=PersistenceConfiguration*)
       
    • sequence_Strategy

      protected void sequence_Strategy(org.eclipse.xtext.serializer.ISerializationContext context, Strategy semanticObject)
       Contexts:
           Strategy returns Strategy
      
       Constraint:
           name=ID
       
    • sequence_ThresholdFilter

      protected void sequence_ThresholdFilter(org.eclipse.xtext.serializer.ISerializationContext context, ThresholdFilter semanticObject)
       Contexts:
           FilterDetails returns ThresholdFilter
           ThresholdFilter returns ThresholdFilter
      
       Constraint:
           (relative?='%'? value=DECIMAL unit=STRING?)
       
    • sequence_TimeFilter

      protected void sequence_TimeFilter(org.eclipse.xtext.serializer.ISerializationContext context, TimeFilter semanticObject)
       Contexts:
           FilterDetails returns TimeFilter
           TimeFilter returns TimeFilter
      
       Constraint:
           (value=INT (unit='s' | unit='m' | unit='h' | unit='d'))