Interface Record
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
RecordImpl
Interface 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 in RecordImpl.
-
Method Summary
Modifier and TypeMethodDescriptiongetId()Gets the primary (numerical) Id of the record.getId2()Gets the secondary Id of the record.getId3()Gets the tertiary Id of the record.Gets the string Id of the record.voidSets the primary Id of the record.voidSets the secondary Id of the record.voidSets the tertiary Id of the record.voidsetStringId(String sid) Sets the string Id of the record.
-
Method Details
-
getId
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
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
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
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
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
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
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
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
-