de.interactive_instruments.ShapeChange.Model.Generic
Class GenericTextConstraint

java.lang.Object
  extended by de.interactive_instruments.ShapeChange.Model.TextConstraintImpl
      extended by de.interactive_instruments.ShapeChange.Model.Generic.GenericTextConstraint
All Implemented Interfaces:
Constraint, TextConstraint

public class GenericTextConstraint
extends TextConstraintImpl

Author:
echterhoff

Nested Class Summary
 
Nested classes/interfaces inherited from interface de.interactive_instruments.ShapeChange.Model.Constraint
Constraint.ModelElmtContextType
 
Field Summary
 
Fields inherited from class de.interactive_instruments.ShapeChange.Model.TextConstraintImpl
constraintName, constraintStatus, constraintText, constraintType, contextModelElmt, contextModelElmtType
 
Constructor Summary
GenericTextConstraint(GenericClassInfo genCi, Constraint origCon)
           
GenericTextConstraint(GenericPropertyInfo genPi, Constraint origCon)
           
GenericTextConstraint(TextConstraint constraint)
          Creates a generic TextConstraint implementation from a given one.
 
Method Summary
 void setContextModelElmt(Info contextModelElmt)
           
 void setContextModelElmtType(Constraint.ModelElmtContextType contextModelElmtType)
           
 void setName(String name)
           
 void setStatus(String status)
           
 void setText(String text)
           
 
Methods inherited from class de.interactive_instruments.ShapeChange.Model.TextConstraintImpl
contextModelElmt, contextModelElmtType, name, status, text, type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericTextConstraint

public GenericTextConstraint(TextConstraint constraint)
Creates a generic TextConstraint implementation from a given one.

Parameters:
constraint -

GenericTextConstraint

public GenericTextConstraint(GenericClassInfo genCi,
                             Constraint origCon)
Parameters:
genCi - context model element of the new constraint
origCon - Constraint to copy the text information from

GenericTextConstraint

public GenericTextConstraint(GenericPropertyInfo genPi,
                             Constraint origCon)
Parameters:
genPi - context model element of the new constraint
origCon - Constraint to copy the text information from
Method Detail

setContextModelElmt

public void setContextModelElmt(Info contextModelElmt)

setContextModelElmtType

public void setContextModelElmtType(Constraint.ModelElmtContextType contextModelElmtType)

setName

public void setName(String name)

setStatus

public void setStatus(String status)

setText

public void setText(String text)


Copyright © 2015. All rights reserved.