psdi.app.dpamadpt

Class FldAdapterVariant

    • Method Detail

      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        Validate if parent is the conversion target against all targets. Check whether there's another variant with the same name. Can't use database unique index as we want the field editable but don't want to see the ugly database error message.

        It is necessary to prevent default validation, otherwise the relationship set in the constructor prevents user from inserting a new variant

        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException