psdi.app.location

Class LocationSpecSet

    • Method Detail

      • getMboInstance

        protected Mbo getMboInstance(MboSet ms)
                              throws MXException,
                                     java.rmi.RemoteException
        Generate a new LocationSpec object
        Specified by:
        getMboInstance in class MboSet
        Parameters:
        ms - mboset
        Returns:
        Mbo object
        Throws:
        MXException
        java.rmi.RemoteException
      • whereClauseOnAttrAndValues

        public java.lang.String whereClauseOnAttrAndValues(java.lang.String[][] attrAndValues,
                                                           java.lang.String classStructureid)
                                                    throws MXException,
                                                           java.rmi.RemoteException
        This method implements the abstract method on psdi.app.assetcatalog.SpecificationSet This method returns a String to the caller. It loops thru the passed two dimensional array and produces a where clause to the caller. It searches not only on Locations/LocationSpec, but also on rotating items;i.e. itemspec.
        Specified by:
        whereClauseOnAttrAndValues in interface SpecificationMboSetRemote
        Overrides:
        whereClauseOnAttrAndValues in class SpecificationMboSet
        Parameters:
        attrAndValues - The two dimensional array holds the assetattrids and and their values in appropriate measureunits. Its contents look like the following: [0][0] = "assetattrid='SIZE'", [0][1]=" numvalue > 1.5"; [0][2] = "measureunitid like 'RPM%" IV81743: added section, so example if section is populated [0][4] = "section like '%SEC%'
        classStructureid - The classstructureid to be searched upon.
        Returns:
        where clause
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        SpecificationMboSet.whereClauseOnAttrAndValues(String[][], String)
      • parseALNValue

        public java.lang.String parseALNValue(java.lang.String value)
                                       throws MXException,
                                              java.rmi.RemoteException
        09-13517
        Parameters:
        value - - may look like ALNVALUE) like '%ABC%')
        Returns:
        String - converted to ALNVALUE)= 'ABC'
        Throws:
        MXException
        java.rmi.RemoteException