Class RecordImpl
- java.lang.Object
-
- com.priint.pubserver.metadata.xml.base.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.IntegergetId()Gets the primary (numerical) Id of the record.java.lang.IntegergetId2()Gets the secondary Id of the record.java.lang.IntegergetId3()Gets the tertiary Id of the record.java.lang.StringgetStringId()Gets the string Id of the record.voidsetId(java.lang.Integer id)Sets the primary Id of the record.voidsetId2(java.lang.Integer id2)Sets the secondary Id of the record.voidsetId3(java.lang.Integer id3)Sets the tertiary Id of the record.voidsetStringId(java.lang.String stringId)Sets the string Id of the record.
-
-
-
Method Detail
-
getId
public java.lang.Integer getId()
Description copied from interface:RecordGets 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).
-
setId
public void setId(java.lang.Integer id)
Description copied from interface:RecordSets the primary Id of the record.
Sets he primary Id of the record. See
Record.getId()for further information.
-
getId2
public java.lang.Integer getId2()
Description copied from interface:RecordGets the secondary Id of the record.
Gets the secondary Id of the record. In most cases this is set to zero.
-
setId2
public void setId2(java.lang.Integer id2)
Description copied from interface:RecordSets 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.
-
getId3
public java.lang.Integer getId3()
Description copied from interface:RecordGets the tertiary Id of the record.
Gets the tertiary Id of the record. In most cases this is just set to zero.
-
setId3
public void setId3(java.lang.Integer id3)
Description copied from interface:RecordSets 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.
-
getStringId
public java.lang.String getStringId()
Description copied from interface:RecordGets 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:
getStringIdin interfaceRecord- Returns:
- the string Id of the record.
-
setStringId
public void setStringId(java.lang.String stringId)
Description copied from interface:RecordSets the string Id of the record.
Sets the string Id of the record. See
Record.getStringId()for further information.- Specified by:
setStringIdin interfaceRecord- Parameters:
stringId- the string Id of the record
-
-