Class RepositoryRecord

    • Constructor Summary

      Constructors 
      Constructor Description
      RepositoryRecord()
      Constructs a repository record.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete​(java.lang.String name)
      Deletes an attribute.
      java.lang.Object get​(java.lang.String name)
      Retrieves attribute from this record.
      java.lang.String getDescription()  
      java.util.Enumeration<java.lang.String> getElements()
      Retrieves a list of attribute names.
      java.lang.String getPublishingStatus()  
      java.util.Enumeration<java.lang.String> getSerializableAttrNames()
      Returns a list of serializable attribute names.
      java.math.BigInteger getSerialNumber()
      Retrieves serial number.
      void set​(java.lang.String name, java.lang.Object obj)
      Sets attribute.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • mNames

        protected static java.util.Vector<java.lang.String> mNames
    • Constructor Detail

      • RepositoryRecord

        public RepositoryRecord()
        Constructs a repository record.

    • Method Detail

      • set

        public void set​(java.lang.String name,
                        java.lang.Object obj)
                 throws EBaseException
        Sets attribute.
        Specified by:
        set in interface IAttrSet
        Parameters:
        name - the name of the attribute
        obj - the attribute object.
        Throws:
        EBaseException - on attribute handling errors.
      • get

        public java.lang.Object get​(java.lang.String name)
                             throws EBaseException
        Retrieves attribute from this record.
        Specified by:
        get in interface IAttrSet
        Parameters:
        name - the name of the attribute to return.
        Throws:
        EBaseException - on attribute handling errors.
      • delete

        public void delete​(java.lang.String name)
                    throws EBaseException
        Deletes an attribute.
        Specified by:
        delete in interface IAttrSet
        Parameters:
        name - the name of the attribute to delete.
        Throws:
        EBaseException - on attribute handling errors.
      • getElements

        public java.util.Enumeration<java.lang.String> getElements()
        Retrieves a list of attribute names.
        Specified by:
        getElements in interface IAttrSet
        Returns:
        an enumeration of the attribute names.
      • getSerializableAttrNames

        public java.util.Enumeration<java.lang.String> getSerializableAttrNames()
        Description copied from interface: IDBObj
        Returns a list of serializable attribute names. This method should return the attribute name even if there is no attribute value for the attribute.
        Specified by:
        getSerializableAttrNames in interface IDBObj
        Returns:
        a list of serializable attribute names
      • getSerialNumber

        public java.math.BigInteger getSerialNumber()
        Retrieves serial number.
        Specified by:
        getSerialNumber in interface IRepositoryRecord
        Returns:
        serial number