psdi.unittest

Class TestData

    • Field Detail

      • testDataElem

        protected org.jdom2.Element testDataElem
      • testDataId

        protected java.lang.String testDataId
      • cacheLevel

        protected int cacheLevel
      • reloadOnDelete

        protected boolean reloadOnDelete
      • dependsCache

        protected java.util.Map dependsCache
      • resolveToMbos

        protected boolean resolveToMbos
    • Method Detail

      • isReloadOnDelete

        public boolean isReloadOnDelete()
      • isResolveToMbos

        public boolean isResolveToMbos()
      • setExpressionValue

        protected void setExpressionValue(org.jdom2.Element element,
                                          MboRemote mbo,
                                          MboValueInfo mboValueInfo,
                                          java.lang.String expression)
                                   throws java.lang.Exception
        Parameters:
        element -
        mbo -
        mboValueInfo -
        expression -
        Throws:
        java.lang.Exception
      • getCacheLevel

        public int getCacheLevel()
        Returns:
      • elementToBytes

        protected byte[] elementToBytes(org.jdom2.Element elem)
        Parameters:
        elem -
        Returns:
      • bytesToElement

        protected org.jdom2.Document bytesToElement(byte[] byteData)
                                             throws MXException
        Parameters:
        byteData -
        Returns:
        Throws:
        MXException
      • lookup

        protected ServiceRemote lookup(java.lang.String serviceName)
        Parameters:
        serviceName - the name of the maximo service
        Returns:
        the maximo service handle
      • getLoadResponse

        public byte[] getLoadResponse()
        Returns:
        the load response data as bytes