psdi.app.solution

Class SolutionSpecSet

    • Method Detail

      • 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 in view of Item/ItemSpec to the caller. Since ItemSpec does not have to use the classstructureid, it calls the overloaded function whereClauseOnAttrAndValues(String[][] attrAndValues)
        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 measureunitids. Its contents look like the following: [0][0] = "assetattrid='SIZE'", [0][1]=" numvalue > 1.5"; [0][2] = "measureunitid like 'RPM%"
        classstructureid - The classstructureid to be searched upon.
        Returns:
        String - resulting where clause
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        SpecificationMboSet.whereClauseOnAttrAndValues(String[][], String)