Initializing help system before first use

XPRMNativeType

  • java.lang.Object
    • com.dashoptimization.XPRMNativeType
  • All Implemented Interfaces:
    XPRMIdentifier, XPRMTyped


    public class XPRMNativeType
    extends java.lang.Object
    A native type (published by a module).
    • Method Detail

      • getFlag

        public int getFlag()
        Get the flag property of the type. This flag is the bit encoded version of all the properties of the type. These properties may also be retrieved using has* methods of this class.
        Returns:
        Bit encoded version of the type properties
      • hasCreate

        public boolean hasCreate()
        Check whether the type publishes a default constructor.
        Returns:
        true if the 'create' function is available for this type
      • hasDelete

        public boolean hasDelete()
        Check whether the type publishes a destructor.
        Returns:
        true if the 'delete' function is available for this type
      • hasRefCount

        public boolean hasRefCount()
        Check whether the type supports reference counting.
        Returns:
        true if both 'create' and 'delete' functions are available and support reference counting
      • hasToString

        public boolean hasToString()
        Check whether the type publishes a 'tostring' converter.
        Returns:
        true if the 'tostring' function is available for this type
      • hasFromString

        public boolean hasFromString()
        Check whether the type publishes a 'fromstring' initialiser.
        Returns:
        true if the 'fromstring' function is available for this type
      • hasResetOnly

        public boolean hasResetOnly()
        Check whether the type only supports 'reset'.
        Returns:
        true if only the operation 'reset' is supported by the 'copy' operator
      • hasCopy

        public boolean hasCopy()
        Check whether the type publishes a 'copy' operator.
        Returns:
        true if the 'copy' function is available for this type
      • hasAppend

        public boolean hasAppend()
        Check whether the 'copy' operator supports 'append'.
        Returns:
        true if the 'copy' function of this type supports 'append'
      • hasCompare

        public boolean hasCompare()
        Check whether the type publishes a 'compare' operator.
        Returns:
        true if the 'compare' function is available for this type
      • hasPRTBL

        public boolean hasPRTBL()
        Check whether 'tostring' function can be called after execution.
        Returns:
        true if 'tostring' function can be called after execution
      • isProblem

        public boolean isProblem()
        Check whether the type is a problem.
        Returns:
        true if the type is a problem
      • toString

        public java.lang.String toString()
        Name of the type.
        Overrides:
        toString in class  java.lang.Object
        Returns:
        Name of the type as a string
      • getTypeName

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

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

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

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

        public java.lang.String getName()
        Description copied from interface: XPRMIdentifier
        Get the identifier name.
        Specified by:
        getName in interface  XPRMIdentifier
        Returns:
        The identifier name

© 2001-2020 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.