Package psdi.app.assetcatalog

The Asset Catalog package includes MBOs for the setup of class structures and class specifications.

See: Description

Package psdi.app.assetcatalog Description

The Asset Catalog package includes MBOs for the setup of class structures and class specifications. A class structure is a group of classifications that describe an asset. For example, all centrifugal pumps might be associated with the class structure that has PUMP as its first classification and CENTRIFUGAL as its first subclassification. Class structures may have up to four subclassifications.

Each class structure may have a set of attributes that apply to all assets associated with it. For example, SIZE, CAPACITY, and SPEED might be three attributes that define centrifugal pumps and differentiate them from each other. A class structure and its attributes make a class specification. Generic class specifications are defined here to be associated with assets (that is, equipment and items) or the locations where they reside.

Once associated, the generic class specification can be modified to better fit the particular asset to which it has been associated. Attributes can be added or removed, and their measure units and values can be modified. A domain may be specified to define valid values. For example, a value may be numeric or alphanumeric, or it may be bound by a value list.

The package also provides methods to search items/locations/equipment based on the classifications that fall under those specifications.

Package Specification

The Mbos included in the Asset Catalog package are:

  • AssetCatalogService -- This is the service class for the AssetCatalog package. Relationships among this package's objects are created here. AssetCatalogService also provides the logic to search for items, locations or equipment by classstructure(s), attributes or attibutes and their values.
  • AssetClass -- The AssetClass object maintains the classifications that are used to build the class structures.
  • AssetAttribute -- The AssetAttribute object maintains the attributes that are added to class structures to create the class specifications.
  • MeasureUnit -- The MeasureUnit object maintains the units of measure for asset attributes. These units of measure are added to asset attributes in the AssetAttribute object itself and can be later modified in the ClassSpec object in this package, or the EquipmentSpec, ItemSpec or LocationSpec objects in other packages.
  • ClassStructure -- A classstructure object is a template that describes assets via a hierarchy of classifications. For example, a pump can be desribed as being a PUMP-CENTRIFUGAL or PUMP-ROTARY. Both of these examples can accommodate up to three additional levels of classification.
  • ClassSpec -- The ClassSpec object builds upon a given class structure by adding attribute, measure unit, domain and default value information. A collection of ClassSpec objects and its associated class structure creates a specification template and describes a certain class of assets.
  • ClassStructLink -- This object maintains cross reference information for the ClassStructure object based on ClassStructureId and ClassificationId. A ClassStructLink object is created every time a non-null value is saved to one of the classification Id attributes (that is, L1ClassificationId - L5ClassificationId) in the ClassStructure object. ClassStructLink is used for faster query and search. It does not have any user interface.
  • SpecificationMbo -- This is an abstract super class. It is not implemented by any of the objects in this package, rather it is implemented by the EquipmentSpec, ItemSpec, and LocationSpec objects in the Equipment, Inventory, and Location objects respectively. SpecificationMbo contains logic common to EquipmentSpec, ItemSpec and LocationSpec. These three objects also use the abstract methods defined here to implement the logic that differentiates them.

Other classes NOT included in the Asset Catalog package, but are related to the Asset Catalog setup are:

  • ALNValue -- The ALNValue holds alphanumeric data for a domain of type ALN
  • NUMValue -- The NUMValue holds numeric data for a domain of type NUM
  • MaxDomain -- The MaxDomain object maintains the domains that are assigned to asset attributes and class specifications. These domains can be defined as either alphanumeric or numeric. If an asset attribute is constrained by a domain, the attribute's domain-defined data type is brought over to any class specification that uses the asset attribute. Asset attributes are not neccessarily constrained by a domain. The user may add or modify a domain for an asset attribute on a new class specification record. The domain must have the same datatype as the attribute to which it is being added.
  • ItemSpec -- This object maintains the hierarchy of classification identifiers and its associated attribute information (that is, attribute names, types, domains and values) that define certain item assets. Item specifications are derived from class specification templates. For example, the class specification that corresponds to a class structure with a top classification of PUMP and a subclassification of ROTARY will be copied to an item specification for any item that is classified as PUMP-ROTARY. Values and measure units copied from the template can then be modified to fit the particular instance of a PUMP-ROTARY item. An item specification record is deleted only when the originating class specification object (that is, the corresponding class specification object with the same classstructure and asset attribute identifiers) is deleted. An item specification record is added only when a class specification is copied to a specification. This occurs when a specification template's class structure is assigned to an item.
  • EquipmentSpec -- This object maintains the hierarchy of classification identifiers and its associated attribute information (that is, attribute names, types, domains and values) that define certain equipment assets. Equipment specifications are derived from class specification templates. For example, the class specification that corresponds to a class structure with a top classification of PUMP and a subclassification of ROTARY will be copied to an equipment specification for any equipment that is classified as PUMP-ROTARY. Values and measure units copied from the template can then be modified to fit the particular instance of a PUMP-ROTARY equipment. Equipment specifications are also derived from item specifications when an item assigned to a rotating piece of equipment has its own item specification. An equipment specification record is deleted only when the originating class specification object (that is, the corresponding class specification object with the same classstructure and asset attribute identifiers) is deleted. An equipment specification record is added when a class specification is copied to an item specification. When a specification template's class structure is assigned to an item and the item number corresponds to an equipment's item number, the item specification is then copied to an equipment specification. An equipment specification record is also added when a class specification is copied directly to an equipment specification. This occurs when a specification template's class structure is assigned to a piece of equipment.
  • LocationSpec -- This object maintains the hierarchy of classification identifiers and its associated attribute information (that is, attribute names, types, domains and values) that define the assets to reside in the given location. This object maintains the location specification object, or hierarchy of classification identifiers and associated attributes, type and domain information and values, that define the types of assets to reside in a given location. Location specifications are derived from class specification templates. For example, the class specification that corresponds to a class structure with a top classification of PUMP and a subclassification of ROTARY will be copied to a location specification for any location that is classified as PUMP-ROTARY. Values and measure units copied from the template can then be modified to fit the particular instance of a PUMP-ROTARY location. Location specifications are also derived from item specifications when an item assigned to a location has its own item specification. A location specification record is deleted only when the originating class specification object (that is, the corresponding class specification object with the same classstructure and asset attribute identifiers) is deleted. A location specification record is added when a class specification is copied to an item specification. When the specification template's class structure is assigned to the item and the item number corresponds to a location's item number, the item specification is then copied to a location specification. A location specification record is also added when a class specification is copied directly to a location specification. This occurs when a specification template's class structure is assigned to a location.

Last updated: 03/15/02