oracle.syndication.ice.payload
Interface Item

All Known Subinterfaces:
ContentItem, RefItem
All Known Implementing Classes:
Ice_item_group

public abstract interface Item

Parent interface for all items. All ice-item derivatives have to implement this interface. The classes that are in this category are:

See Also:
Ice_item_group, Ice_item_content, Ice_item_ref

Field Summary
TypeField
static int CONTENT_TRANSFER_ENCODING_BASE64
          This indicates the the transfer encoding of the content is Base64
static int CONTENT_TRANSFER_ENCODING_X_NATIVE_XML
          This indicates the the transfer encoding of the content is native XML
 
Method Summary
TypeMethod
 void enableShowCredit()
           
 ISODatetime getActivationDate()
           
 int getContent_transfer_encoding()
          Gets the transfer encoding of the content
 java.lang.String getContent_type()
          Gets the content type of the item
 java.lang.String getContentFilename()
           
 ISODatetime getExpirationDate()
           
 Item getGroupItem()
          This returns the GroupItem if "this" is an ice-item-group
 java.lang.String getIntellectualStatus()
           
 java.lang.String getItemId()
          Returns an item identifier
 java.lang.String getItemLanguage()
           
 java.lang.String getLicense()
           
 java.lang.String getName()
          Gets the name of the item
 RefItem getRefItem()
          This returns the RefItem interface from the ice-item-ref instance
 java.lang.String getRightsHolder()
           
 ContentItem getSingleItem()
          This gets the ContentItem interface from the ice-item instance
 java.lang.String getSubscriptionElement()
           
 boolean isGroupItem()
          This returns true if the item in question is an ice-item-group
 boolean isRefItem()
          This returns true if the item in question is an ice-item-ref
 boolean isSingleItem()
          This returns true if the item in question is a regular ice-item
 void setActivationDate(ISODatetime isodatetime)
           
 void setContent_transfer_encoding(int iContent_transfer_encoding)
          Sets the transfer encoding of the content
 void setContent_type(java.lang.String theData)
          Sets the content type of the item
 void setContentFilename(java.lang.String s)
           
 void setExpirationDate(ISODatetime isodatetime)
           
 void setIntellectualStatus(java.lang.String szIPStatus)
           
 void setItemId(java.lang.String s)
          Set the item identifier
 void setItemLanguage(java.lang.String szLang)
           
 void setLicense(java.lang.String szLicense)
           
 void setName(java.lang.String s)
          Sets the name of the item
 void setRightsHolder(java.lang.String szRights)
           
 void setSubscriptionElement(java.lang.String s)
           
 boolean showCredit()
           
 

Field Detail

CONTENT_TRANSFER_ENCODING_BASE64

public static final int CONTENT_TRANSFER_ENCODING_BASE64
This indicates the the transfer encoding of the content is Base64

CONTENT_TRANSFER_ENCODING_X_NATIVE_XML

public static final int CONTENT_TRANSFER_ENCODING_X_NATIVE_XML
This indicates the the transfer encoding of the content is native XML
Method Detail

isSingleItem

public boolean isSingleItem()
This returns true if the item in question is a regular ice-item

getSingleItem

public ContentItem getSingleItem()
This gets the ContentItem interface from the ice-item instance

isRefItem

public boolean isRefItem()
This returns true if the item in question is an ice-item-ref

getRefItem

public RefItem getRefItem()
This returns the RefItem interface from the ice-item-ref instance

isGroupItem

public boolean isGroupItem()
This returns true if the item in question is an ice-item-group

getGroupItem

public Item getGroupItem()
This returns the GroupItem if "this" is an ice-item-group

setItemId

public void setItemId(java.lang.String s)
Set the item identifier

getItemId

public java.lang.String getItemId()
Returns an item identifier

setName

public void setName(java.lang.String s)
Sets the name of the item

getName

public java.lang.String getName()
Gets the name of the item

setActivationDate

public void setActivationDate(ISODatetime isodatetime)

getActivationDate

public ISODatetime getActivationDate()

setExpirationDate

public void setExpirationDate(ISODatetime isodatetime)

getExpirationDate

public ISODatetime getExpirationDate()

setContentFilename

public void setContentFilename(java.lang.String s)

getContentFilename

public java.lang.String getContentFilename()

setContent_transfer_encoding

public void setContent_transfer_encoding(int iContent_transfer_encoding)
Sets the transfer encoding of the content

getContent_transfer_encoding

public int getContent_transfer_encoding()
Gets the transfer encoding of the content

setContent_type

public void setContent_type(java.lang.String theData)
Sets the content type of the item

getContent_type

public java.lang.String getContent_type()
Gets the content type of the item

setIntellectualStatus

public void setIntellectualStatus(java.lang.String szIPStatus)

getIntellectualStatus

public java.lang.String getIntellectualStatus()

setItemLanguage

public void setItemLanguage(java.lang.String szLang)

getItemLanguage

public java.lang.String getItemLanguage()

setLicense

public void setLicense(java.lang.String szLicense)

getLicense

public java.lang.String getLicense()

setRightsHolder

public void setRightsHolder(java.lang.String szRights)

getRightsHolder

public java.lang.String getRightsHolder()

enableShowCredit

public void enableShowCredit()

showCredit

public boolean showCredit()

setSubscriptionElement

public void setSubscriptionElement(java.lang.String s)

getSubscriptionElement

public java.lang.String getSubscriptionElement()