Class Parameter

java.lang.Object
org.cristalise.kernel.scripting.Parameter

public class Parameter extends Object
Place holder for the Parameter details to be passed to the script.
  • Constructor Details

    • Parameter

      public Parameter()
    • Parameter

      public Parameter(String name)
    • Parameter

      public Parameter(String name, Class<?> type)
  • Method Details

    • getInitialised

      public boolean getInitialised()
      Method only provided for backward compability. Lombok would generate isInitialised() instead
      Returns:
      if the Parameter was initialised or not
    • setTypeFromName

      public void setTypeFromName(String className) throws ClassNotFoundException
      Sets the type paramater from the String. Method is needed to make Castor marshalling to work FIXME: CASTOR MARSHALLING DOES NOT WORK YET
      Parameters:
      className - the name of the Class specifying the type
      Throws:
      ClassNotFoundException - class was not found
    • toString

      public String toString()
      Overrides:
      toString in class Object