com.bemoko.live.platform.mwc.config.elements
Class AbstractNamedLiveConfigWithExpression<T extends AbstractNamedLiveConfigWithExpression<?>>

java.lang.Object
  extended by com.bemoko.live.platform.mwc.config.elements.AbstractNamedLiveConfig<T>
      extended by com.bemoko.live.platform.mwc.config.elements.AbstractNamedLiveConfigWithExpression<T>
All Implemented Interfaces:
InheritableConfig<InheritableConfig<?>>, NamedLiveConfig, NamedLiveConfigWithExpression
Direct Known Subclasses:
LiveConfigContextRule, LiveConfigDirectory, LiveConfigIntent, LiveConfigPlugin, LiveConfigResourceLink, LiveConfigRoute, LiveConfigUI, LiveConfigVariable

public class AbstractNamedLiveConfigWithExpression<T extends AbstractNamedLiveConfigWithExpression<?>>
extends AbstractNamedLiveConfig<T>
implements NamedLiveConfigWithExpression


Constructor Summary
AbstractNamedLiveConfigWithExpression()
           
 
Method Summary
 boolean alwaysTrue()
           
 String getExpr()
           
 boolean isExprSet()
           
protected  void refreshIdIfNotExplictlySet()
           
 void setExpr(String expr)
           
 void setName(String name)
           
 String toString()
          
 
Methods inherited from class com.bemoko.live.platform.mwc.config.elements.AbstractNamedLiveConfig
assertValid, generateAutoName, getId, getIdExplicitlySet, getName, getNameExplicitlySet, internalSetName, isInherit, refreshNameIfNotExplictlySet, setId, setIdExplicitySet, setInherit, setNameExplicitySet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.bemoko.live.platform.mwc.config.elements.NamedLiveConfig
assertValid, getId, getName, setId
 
Methods inherited from interface com.bemoko.live.platform.mwc.config.elements.InheritableConfig
isInherit, setInherit
 

Constructor Detail

AbstractNamedLiveConfigWithExpression

public AbstractNamedLiveConfigWithExpression()
Method Detail

getExpr

public String getExpr()
Specified by:
getExpr in interface NamedLiveConfigWithExpression
Returns:
the expression

setExpr

public void setExpr(String expr)
Specified by:
setExpr in interface NamedLiveConfigWithExpression
Parameters:
expr - - the expression for the live config element

setName

public void setName(String name)
Specified by:
setName in interface NamedLiveConfig
Overrides:
setName in class AbstractNamedLiveConfig<T extends AbstractNamedLiveConfigWithExpression<?>>
Parameters:
name - - the name of the live config element

refreshIdIfNotExplictlySet

protected void refreshIdIfNotExplictlySet()
Overrides:
refreshIdIfNotExplictlySet in class AbstractNamedLiveConfig<T extends AbstractNamedLiveConfigWithExpression<?>>

isExprSet

public boolean isExprSet()

alwaysTrue

public boolean alwaysTrue()
Specified by:
alwaysTrue in interface NamedLiveConfigWithExpression

toString

public String toString()

Overrides:
toString in class Object