Initializing help system before first use

XPRMProblem

  • All Implemented Interfaces:
    XPRMTyped


    public class XPRMProblem
    extends XPRMValue
    A problem object in Mosel.
    • Method Detail

      • isInitialised

        public final boolean isInitialised()
        Check whether the problem has been initialised. Objects are initialised during model execution. Trying to access a Mosel object that has not been created will result on an exception.
        Returns:
        true if the problem has been created
      • components

        public XPRMProblemComps components()
        Get an iterator to enumerate all components of the problem.
        Returns:
        A problem component iterator
      • getTypeCode

        public final int getTypeCode()
        Description copied from interface: XPRMTyped
        Type code. The code is one of the TYP_* values.
        Returns:
        Encoded type
      • getTypeName

        public final java.lang.String getTypeName()
        Description copied from interface: XPRMTyped
        String representation of type.
        Returns:
        Type name
      • getStructCode

        public final int getStructCode()
        Description copied from interface: XPRMTyped
        Structure code. The code is one of the STR_* values.
        Returns:
        Encoded structure
      • getStructName

        public final java.lang.String getStructName()
        Description copied from interface: XPRMTyped
        String representation of structure.
        Returns:
        Structure name