com.ibm.tivoli.maximo.iotservices

Class AggregationSchemaParser

  • java.lang.Object
    • com.ibm.tivoli.maximo.iotservices.AggregationSchemaParser
    • Constructor Detail

      • AggregationSchemaParser

        public AggregationSchemaParser()
    • Method Detail

      • validateProperty

        public static boolean validateProperty(java.lang.String aggMsgSchema,
                                               java.lang.String choice)
                                        throws MXException
        Verify that the chosen aggregation function is a choice, given the schema example.
        Parameters:
        aggMsgSchema -
        choice -
        Returns:
        true if the choice if found in the parsed schema.
        Throws:
        MXException
      • parseMessage

        public static MboSetRemote parseMessage(MboRemote thisMbo,
                                                java.lang.String schema)
                                         throws MXException,
                                                java.rmi.RemoteException
        Return a list of choices for the aggregation function, given the schema.
        Parameters:
        thisMbo - The owning Mbo.
        schema - A sample aggregation schema.
        Returns:
        A non-persistent MboSet containing the choices. Single attribute "PropertyName".
        Throws:
        MXException
        java.rmi.RemoteException