psdi.app.appsetup

Class FldMaxMessagesMsgId

    • Constructor Detail

      • FldMaxMessagesMsgId

        public FldMaxMessagesMsgId(MboValue mbv)
    • Method Detail

      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        Description copied from class: MAXTableDomain
        Validate that the MboSet returned used using either the relationship, or the where clause is not empty. If it is empty, throw an MXAPPLICATIONEXception. If there are attributes as part of the foreign key that don't allow null when this attribute is set, exception will be thrown if the value is empty.
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException
      • genMsgId

        public static java.lang.String genMsgId(java.lang.String prefix,
                                                int seed)
      • getPrefix

        public static java.lang.String getPrefix(java.lang.String id)
      • getSequence

        public static int getSequence(java.lang.String id)
      • validateMsgId

        public void validateMsgId(java.lang.String id)
                           throws MXException,
                                  java.rmi.RemoteException
        Validate the msgid. The msgid needs to start with with a prefix that is registered in maxdataprefix table and followed by 4 digits and a character at the end. maxmessagesid
        Throws:
        MXException
        java.rmi.RemoteException