Interface Record
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
RecordImpl
public interface Record extends java.io.SerializableInterface for the record xml type
Interface for the record xml type.
This interface describes a record, e.g product, article, publication etc.
The element is referred in several context, namely in placeholders, which are naturally linked to a record, CometGroups, spreads or pages.
Implemented inRecordImpl.
-
-
Method Summary
All Methods Instance Methods Abstract 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 sid)Sets the string Id of the record.
-
-
-
Method Detail
-
getId
java.lang.Integer getId()
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).
- Returns:
- the primary Id of the record
-
setId
void setId(java.lang.Integer id)
Sets the primary Id of the record.
Sets he primary Id of the record. See
getId()for further information.- Parameters:
id- the primary Id of the record
-
getId2
java.lang.Integer getId2()
Gets the secondary Id of the record.
Gets the secondary Id of the record. In most cases this is set to zero.
- Returns:
- the secondary Id of the record
-
setId2
void setId2(java.lang.Integer id2)
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.
- Parameters:
id2- the secondary Id of the record
-
getId3
java.lang.Integer getId3()
Gets the tertiary Id of the record.
Gets the tertiary Id of the record. In most cases this is just set to zero.
- Returns:
- the tertiary Id of the record
-
setId3
void setId3(java.lang.Integer id3)
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.
- Parameters:
id3- the tertiary Id of the record
-
getStringId
java.lang.String getStringId()
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.
- Returns:
- the string Id of the record.
-
setStringId
void setStringId(java.lang.String sid)
Sets the string Id of the record.
Sets the string Id of the record. See
getStringId()for further information.- Parameters:
sid- the string Id of the record
-
-