Class RecordImpl

  • All Implemented Interfaces:
    Record, java.io.Serializable

    public class RecordImpl
    extends java.lang.Object
    implements java.io.Serializable, Record
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      RecordImpl()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Integer getId()
      Gets the primary (numerical) Id of the record.
      java.lang.Integer getId2()
      Gets the secondary Id of the record.
      java.lang.Integer getId3()
      Gets the tertiary Id of the record.
      java.lang.String getStringId()
      Gets the string Id of the record.
      void setId​(java.lang.Integer id)
      Sets the primary Id of the record.
      void setId2​(java.lang.Integer id2)
      Sets the secondary Id of the record.
      void setId3​(java.lang.Integer id3)
      Sets the tertiary Id of the record.
      void setStringId​(java.lang.String stringId)
      Sets the string Id of the record.
      • Methods inherited from class java.lang.Object

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

      • RecordImpl

        public RecordImpl()
    • Method Detail

      • getId

        public java.lang.Integer getId()
        Description copied from interface: Record

        Gets the primary (numerical) Id of the record.

        Gets the primary (numerical) Id of the record. This should be non-zero, also in cases, when no numerical Id is used (in this case Id is often set to 1).

        Specified by:
        getId in interface Record
        Returns:
        the primary Id of the record
      • setId

        public void setId​(java.lang.Integer id)
        Description copied from interface: Record

        Sets the primary Id of the record.

        Sets he primary Id of the record. See Record.getId() for further information.

        Specified by:
        setId in interface Record
        Parameters:
        id - the primary Id of the record
      • getId2

        public java.lang.Integer getId2()
        Description copied from interface: Record

        Gets the secondary Id of the record.

        Gets the secondary Id of the record. In most cases this is set to zero.

        Specified by:
        getId2 in interface Record
        Returns:
        the secondary Id of the record
      • setId2

        public void setId2​(java.lang.Integer id2)
        Description copied from interface: Record

        Sets the secondary Id of the record.

        Sets the secondary Id of the record. If no secondary Id is required for the underlying content system, this should be just set to zero.

        Specified by:
        setId2 in interface Record
        Parameters:
        id2 - the secondary Id of the record
      • getId3

        public java.lang.Integer getId3()
        Description copied from interface: Record

        Gets the tertiary Id of the record.

        Gets the tertiary Id of the record. In most cases this is just set to zero.

        Specified by:
        getId3 in interface Record
        Returns:
        the tertiary Id of the record
      • setId3

        public void setId3​(java.lang.Integer id3)
        Description copied from interface: Record

        Sets the tertiary Id of the record.

        Sets the tertiary Id of the record. If no tertiary Id is required for the underlying content system, this should be just set to zero.

        Specified by:
        setId3 in interface Record
        Parameters:
        id3 - the tertiary Id of the record
      • getStringId

        public java.lang.String getStringId()
        Description copied from interface: Record

        Gets the string Id of the record.

        Gets the string Id of the record. In most cases this is the Id, which actually identifies a record in the underlying content system.

        Specified by:
        getStringId in interface Record
        Returns:
        the string Id of the record.
      • setStringId

        public void setStringId​(java.lang.String stringId)
        Description copied from interface: Record

        Sets the string Id of the record.

        Sets the string Id of the record. See Record.getStringId() for further information.

        Specified by:
        setStringId in interface Record
        Parameters:
        stringId - the string Id of the record