Interface Model

  • All Known Implementing Classes:

    public interface Model
    The Model is the container of all DataClasses.

    Each DataClass belongs to exact one Model and each Model contains a unique list of DataClasses.

    The Model provides several methods (getXSystemClass()) to access the system classes directly. To receive an arbitrary class use the method getClass(String). The name of the system classes can be accessed by the constant CLASS_NAME that is defined in each DataClass, e.g. IntegerClass.CLASS_NAME.

    Conceptually, the Model can be interpreted as the namespace of a DataClass. It is possible to have several DataClasses with the same name in the system. But they must belong to different Models.

    New DataClasses can be created by using the method DataClass.createSubclass(String). The new data class will be automatically added to the Model. To remove a data class use the method removeClass(String).

    Rainer Maximini
    See Also: