Class MProperty

Direct Known Subclasses:
MParameter

public class MProperty extends MAnnotationElement
A parameter model element.
  • Field Details

    • clazz

      protected jadex.common.ClassInfo clazz
      The clazz.
    • name

      protected String name
      The name.
    • initialval

      protected jadex.common.UnparsedExpression initialval
      The initial value.
  • Constructor Details

    • MProperty

      public MProperty()
      Create a new parameter.
    • MProperty

      public MProperty(jadex.common.ClassInfo clazz, String name, jadex.common.UnparsedExpression initialval)
      Create a new parameter.
  • Method Details

    • getClazz

      public jadex.common.ClassInfo getClazz()
      Get the clazz.
      Returns:
      The clazz.
    • setClazz

      public void setClazz(jadex.common.ClassInfo clazz)
      Set the clazz.
      Parameters:
      clazz - The clazz to set.
    • getName

      public String getName()
      Get the name.
      Returns:
      The name.
    • setName

      public void setName(String name)
      Set the name.
      Parameters:
      name - The name to set.
    • getInitialValue

      public jadex.common.UnparsedExpression getInitialValue()
      Get the initialval.
      Returns:
      The initialval.
    • getInitialValueString

      public String getInitialValueString()
      Get the initialval.
      Returns:
      The initialval.
    • setInitialValue

      public void setInitialValue(jadex.common.UnparsedExpression initialval)
      Set the initial value.
      Parameters:
      initialval - The initial value to set.
    • setInitialValue

      public void setInitialValue(String initialval)
      Set the initial value.
      Parameters:
      initialval - The initial value to set.
    • toString

      public String toString()
      Get the string representation.
      Overrides:
      toString in class Object
      Returns:
      The string representation.