psdi.app.measurement

Class FldPMNum

    • Field Detail

      • attrName

        public java.lang.String attrName
      • attrOther

        public java.lang.String attrOther
      • priorityAttr

        public java.lang.String priorityAttr
    • Method Detail

      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        This field is only allowed to be set if the asset or location is not null. Also the PM should reference the asset or location.
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class MAXTableDomain
        Throws:
        MXApplicationException - AssetOrLocRequired when there is no asset or location on the MeasurePoint.
        MXApplicationException - BadPMforMeasurePoint for an asset measurepoint, if the PM does not exist, exists but is a master PM or does not reference the asset.
        MXApplicationException - BadLocPMforMeasurePoint for a location measurepoint, if the PM does not exist, exists but is a master PM or does not reference the location.
        MXException
        java.rmi.RemoteException
      • setTheCriteria

        public void setTheCriteria()
                            throws MXException,
                                   java.rmi.RemoteException
        sets the list criteria SQL for this attribute depending on whether the object has a non-null AssetNum or a Location.
        Throws:
        MXException
        java.rmi.RemoteException