public abstract class CSItemContent
extends java.lang.Object
implements java.io.Serializable
CSItem
) data.
This class is used as a base class by classes implementing storage of data, e.g. CSMediaContent
is derived
from CSItemContent
and is responsible for storage of, and access to all of the details of a piece of
iCM's media.
Constructor and Description |
---|
CSItemContent()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Makes a new copy of this
CSItemContent object. |
boolean |
equals(java.lang.Object obj)
Checks equality with another
CSItemContent object. |
int |
getID()
Gets the unique ID of the item.
|
void |
setID(int nID)
Sets the unique ID of the.
|
java.lang.String |
toString()
Returns the details of this object as a string.
|
void |
unset()
Unsets all the fields to their initialised state.
|
public int getID()
CSMediaContent
object, the
unique ID would be the MediaID of the media item whose data is being stored.
public void setID(int nID)
CSMediaContent
object, the unique ID
would be the MediaID of the media item whose data is being stored.
nID
- the unique ID of the item.public void unset()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException, java.lang.OutOfMemoryError
CSItemContent
object.
clone
in class java.lang.Object
CSItemContent
, distinct from, but identical in every way to the original.java.lang.CloneNotSupportedException
- if cloning is not supported/allowed.java.lang.OutOfMemoryError
- if there are any problems allocating memory.public boolean equals(java.lang.Object obj)
CSItemContent
object. All data stored within the objects must be the
same in order to be deemed equal. Note that the key data used for searching is not tested for equality.
equals
in class java.lang.Object
obj
- the CSItemContent
object to test equality with.false
if this object and obj
differ in any way, true
otherwise.public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2022 Goss Interactive Ltd. All Rights Reserved.