Class ValueType

All Implemented Interfaces:
Cloneable, Constants, Constants, ContextElement, Constants, RuntimeConstants

public class ValueType extends ClassType
ValueType represents any non-special class which does inherit from java.io.Serializable and does not inherit from java.rmi.Remote.

The static forValue(...) method must be used to obtain an instance, and will return null if the ClassDefinition is non-conforming.

Author:
Bryan Atsatt
  • Method Details

    • forValue

      public static ValueType forValue(ClassDefinition classDef, ContextStack stack, boolean quiet)
      Create an ValueType object for the given class. If the class is not a properly formed or if some other error occurs, the return value will be null, and errors will have been reported to the supplied BatchEnvironment.
    • getTypeDescription

      public String getTypeDescription()
      Return a string describing this type.
      Specified by:
      getTypeDescription in class Type
    • isCustom

      public boolean isCustom()
      Return true if this type is a "custom" type (i.e. it implements java.io.Externalizable or has a method with the following signature: private void writeObject(java.io.ObjectOutputStream out);