psdi.app.assetcatalog

Class MeasureUnitSet

    • Method Detail

      • getMboInstance

        protected Mbo getMboInstance(MboSet ms)
                              throws MXException,
                                     java.rmi.RemoteException
        Generates a new MeasureUnit object.

        Specified by:
        getMboInstance in class MboSet
        Parameters:
        ms - The MboSet the new Mbo will belong to
        Returns:
        Mbo - The new MeasureUnit Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • findFromSpecifications

        public void findFromSpecifications(java.lang.String classStructureId,
                                           java.lang.String assetAttrid,
                                           java.lang.String objectName)
                                    throws MXException,
                                           java.rmi.RemoteException
        Filters the set to contain only those MeasureUnits that are referenced by ITEMSPEC/ ASSETSPEC/LOCATIONSPEC for the passed classStructureId and assetAttrId.
        Specified by:
        findFromSpecifications in interface MeasureUnitSetRemote
        Parameters:
        classStructureId - the classstructureid this measureunit is referenced by.
        assetAttridId - the assetAttridId this measureunitid is referenced by.
        objectName - the name of the mboSet to be returned to the caller. The objectName is defined in psdi.app.assetcatalog.AssetCatalogServiceRemote as static Strings: ITEM, ASSET, and LOCATIONS
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        MeasureUnitSet.findFromSpecifications(String, String, String)