psdi.app.bim.loader

Class AttributeMapMgr

    • Constructor Detail

      • AttributeMapMgr

        public AttributeMapMgr(ModelProcessIntf loader,
                               java.lang.String fieldMapName,
                               java.lang.String specMapName)
                        throws java.rmi.RemoteException,
                               MXException
        Throws:
        java.rmi.RemoteException
        MXException
    • Method Detail

      • isSkipAttributeType

        public boolean isSkipAttributeType(ItemAttributeType attribType)
        Test if the attribute is mapped for this object and should be skipped in attribute processing
        Parameters:
        attrib - COBie attribute
        mboName - Name of maximo table
        Returns:
        true if the attribute is found in a map to skip or to update
      • isSkipAttribute

        public boolean isSkipAttribute(java.lang.String attribName,
                                       java.lang.String sheetName)
        Test if the attribute is mapped for this COBie table and should be skipped in attribute processing
        Parameters:
        attrib - COBie attribute
        sheetName - Name of maximo table
        Returns:
        true if the attribute is found in a map to skip or to update
      • isSkipAttributeForMbo

        public boolean isSkipAttributeForMbo(java.lang.String attribName,
                                             java.lang.String mboName)
        Test if the attribute is mapped for this mbo and should be skipped in attribute processing
        Parameters:
        attrib - COBie attribute
        mboName - Name of maximo table
        Returns:
        true if the attribute is found in a map to skip or to update
      • setMappedFields

        public void setMappedFields(java.util.Enumeration attributes,
                                    MboRemote mbo)
      • setMappedField

        public boolean setMappedField(ItemATTRIBUTE attrib,
                                      java.lang.String tableName,
                                      MboRemote mbo)
        Get if the attribute is in the current attribute map. If so, it is either skipped if there is no attribute name, or the value is stored in the listed Maximo attribute
        Parameters:
        attrib - COBie attribute
        mboName - Name of maximo table
        Returns:
        true if the attribute is found in a map to skip or to update
      • getMappedSpec

        public AttributeMapMgr.SpecEntry getMappedSpec(java.lang.String attributeName)
        Get the AssetAttrbute ID and description to which a COBie attibute is mapped
        Parameters:
        attributeName -
        Returns:
      • getAttributeForSpec

        public java.lang.String getAttributeForSpec(java.lang.String attrId)
      • getMappedField

        public java.util.Set getMappedField(ItemBase item,
                                            MboRemote mbo)
        Use an attribute map for export to convert base Mbo fields to COBie attributes
        Parameters:
        pageName -
        mbo -
        Returns: