de.interactive_instruments.ShapeChange
Class TaggedValueConfigurationEntry

java.lang.Object
  extended by de.interactive_instruments.ShapeChange.TaggedValueConfigurationEntry

public class TaggedValueConfigurationEntry
extends Object

Configuration information for a tagged value.

Author:
echterhoff

Constructor Summary
TaggedValueConfigurationEntry(String name, String value, Pattern modelElementStereotypePattern, Pattern modelElementNamePattern, Pattern applicationSchemaNamePattern)
           
 
Method Summary
 Pattern getApplicationSchemaNamePattern()
           
 Pattern getModelElementNamePattern()
           
 Pattern getModelElementStereotypePattern()
           
 String getName()
           
 String getValue()
           
 boolean hasApplicationSchemaNamePattern()
           
 boolean hasModelElementNamePattern()
           
 boolean hasModelElementStereotypePattern()
           
 boolean hasValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaggedValueConfigurationEntry

public TaggedValueConfigurationEntry(String name,
                                     String value,
                                     Pattern modelElementStereotypePattern,
                                     Pattern modelElementNamePattern,
                                     Pattern applicationSchemaNamePattern)
Method Detail

getName

public String getName()
Returns:
the name of the tagged value

getValue

public String getValue()
Returns:
the value of the tagged value, null if not set in the configuration

hasValue

public boolean hasValue()
Returns:
true if the value attribute of the tagged value was set in the configuration, else false

getModelElementStereotypePattern

public Pattern getModelElementStereotypePattern()
Returns:
the pattern representing the regular expression of the modelElementStereotype attribute, or null if this filter criterium was not set in the configuration.

getModelElementNamePattern

public Pattern getModelElementNamePattern()
Returns:
the pattern representing the regular expression of the modelElementName attribute, or null if this filter criterium was not set in the configuration.

getApplicationSchemaNamePattern

public Pattern getApplicationSchemaNamePattern()
Returns:
the pattern representing the regular expression of the applicationSchemaName attribute, or null if this filter criterium was not set in the configuration.

hasModelElementNamePattern

public boolean hasModelElementNamePattern()
Returns:
true if this configuration entry has a value for the modelElementName attribute, else false

hasModelElementStereotypePattern

public boolean hasModelElementStereotypePattern()
Returns:
true if this configuration entry has a value for the modelElementStereotype attribute, else false

hasApplicationSchemaNamePattern

public boolean hasApplicationSchemaNamePattern()
Returns:
true if this configuration entry has a value for the applicationSchemaName attribute, else false


Copyright © 2015. All rights reserved.