Class RecordImpl

java.lang.Object
com.priint.pubserver.metadata.xml.base.RecordImpl
All Implemented Interfaces:
Record, Serializable

public class RecordImpl extends Object implements Serializable, Record
See Also:
  • Constructor Details

    • RecordImpl

      public RecordImpl()
  • Method Details

    • getId

      public 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(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 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(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 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(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 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(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