psdi.app.ci

Class CISpecHis

  • All Implemented Interfaces:
    java.rmi.Remote, CISpecHisRemote, MboConstants, MboRemote, MaxRemoteProxy


    public class CISpecHis
    extends Mbo
    implements CISpecHisRemote
    Mbo object to represent CI Specification History. See CI Package description for details.

    This is a system level object.

    The key attributes in this object are as follows: CINum, AssetAttrID, Section, StartDate.

    The attributes in this object are as follows:

    Attribute NameDescription
    ALNValueAlphanumeric(text) value in entered units for the attribute specified. Editable only when the attribute is of ALN type. Defaults from ClassSpec.DefaultALNValue.
    AssetAttrIDAsset attribute identifier.
    ChangeByName of the user who last modified this object. This attribute defaults to the current user unless another value is provided.
    ChangeDateThe date and time when this object was last modified. This attribute defaults to the MXServer date/time unless another value is provided.
    CINumIdentifier for the related CI.
    CISpecIDSystem generated unique identification of the owner CISpec object.
    ClassStructureIDIdentifier of the class structure associated with this CI specification. Class structures are the hierarchies of classifications (for example, centrifugal or rotarty pumps) around which assets can be organized.
    EndDateThe date and time when the related CI Spec modified or deleted.
    MeasureUnitIDUnit of Measure for the AlnValue or NumValue entered. Value is initially copied from ClassSpec but can be edited after the copy.
    NUMValueNumeric value in entered units for the attribute specified. Editable only when the attribute is of NUMERIC type.
    SectionSection for a group of attributes.
    StartDateThe date and time when this object created. This attribute defaults to the MXServer date/time unless another value is provided.
    • Constructor Detail

      • CISpecHis

        public CISpecHis(MboSet ms)
                  throws java.rmi.RemoteException
        Construct the CISPECHIS object.
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Set default values for a new CISpecHis object. The table below shows the default values for each of the attributes listed.
        Attribute NameAttribute Value
        alnvalueOwner alnvalue
        assetattridOwner assetattrid
        changebyCurrent username
        changedateCurrent date
        cinumOwner CI identifier
        cispecidOwner unique identifier
        classstructureidOwner classstructureid
        measureunitidOwner measureunitid
        numvalueOwner numvalue
        sectionOwner section
        startdateCurrent date
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException