Package org.eclipse.esmf.constraint.impl
Class DefaultRegularExpressionConstraint
java.lang.Object
org.eclipse.esmf.metamodel.impl.ModelElementImpl
org.eclipse.esmf.metamodel.impl.DefaultConstraint
org.eclipse.esmf.constraint.impl.DefaultRegularExpressionConstraint
- All Implemented Interfaces:
Comparable<ModelElementImpl>,RegularExpressionConstraint,Constraint,ModelElement,NamedElement
public class DefaultRegularExpressionConstraint
extends DefaultConstraint
implements RegularExpressionConstraint
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultRegularExpressionConstraint(MetaModelBaseAttributes metaModelBaseAttributes, String value) -
Method Summary
Methods inherited from class org.eclipse.esmf.metamodel.impl.ModelElementImpl
compareTo, getAspectModelUrn, getDescriptions, getMetaModelVersion, getName, getPreferredNames, getSee, hasSyntheticNameMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.esmf.metamodel.ModelElement
as, getMetaModelVersion, isMethods inherited from interface org.eclipse.esmf.metamodel.NamedElement
getAspectModelUrn, getDescription, getDescriptions, getName, getPreferredName, getPreferredNames, getSee, hasSyntheticName
-
Constructor Details
-
DefaultRegularExpressionConstraint
public DefaultRegularExpressionConstraint(MetaModelBaseAttributes metaModelBaseAttributes, String value)
-
-
Method Details
-
getValue
Constrains the lexical value of a property.- Specified by:
getValuein interfaceRegularExpressionConstraint- Returns:
- the value.
-
accept
Accepts an Aspect visitor- Specified by:
acceptin interfaceModelElement- Overrides:
acceptin classDefaultConstraint- Type Parameters:
T- The result type of the traversal operationC- The context of the visitor traversal- Parameters:
visitor- The visitor to accept
-
toString
- Overrides:
toStringin classDefaultConstraint
-
equals
- Overrides:
equalsin classModelElementImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classModelElementImpl
-