psdi.mbo

Class MboData

  • java.lang.Object
    • psdi.mbo.MboData
  • All Implemented Interfaces:
    java.io.Serializable, MboConstants


    public class MboData
    extends java.lang.Object
    implements java.io.Serializable, MboConstants
    Class that encapsulates the attributes and properties of a particular MBO. This object is designed to be returned to a client, and manipulated without having to continually call a MboRemote reference.
    See Also:
    Serialized Form
    • Constructor Detail

      • MboData

        public MboData()
      • MboData

        public MboData(Mbo mbo,
                       java.lang.String[] attributes)
        Cosntruct a Mbo Onject on the specified Mbo, and extract the specified attributes.
    • Method Detail

      • isFlagSet

        public boolean isFlagSet(long flag)
        Is a certain flag set for this Mbo. List of flags are defined in MboConstants
      • getMboValueData

        public MboValueData getMboValueData(java.lang.String attributeName)
        Return a MboValueData object for the specified attribute. If the object does not exist, a null is retuend.
      • toString

        public java.lang.String toString()
        Used for debugging
        Overrides:
        toString in class java.lang.Object
      • toBeDeleted

        public boolean toBeDeleted()
        Is the object to be deleted ?
      • toBeAdded

        public boolean toBeAdded()
        Is the object to be added ?
      • toBeUpdated

        public boolean toBeUpdated()
        Is the object to be updated ?
      • isModified

        public boolean isModified()
        Has the object been modified in any way ?
      • setModified

        public void setModified(boolean modified)
        Sets the object in modified state.
      • isSelected

        public boolean isSelected()