Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2005 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.beasys.commerce.ebusiness.catalog
Interface MutableCatalogItem

All Superinterfaces:
  CatalogItem, ConfigurableEntity, Serializable

All Known Subinterfaces:
  MutableCategory, MutableProductItem

All Known Implementing Classes:
  MutableCatalogItemImpl, MutableCategoryImpl, MutableProductItemImpl

public interface MutableCatalogItem
extends CatalogItem

This is the base mutable interface for all items contained by the Catalog. This interface exposes data accessors and mutators for item data conforming to the Dublin Core Metadata. Refer to the DCM spec for details: Dublin Core Element Set

Field Summary

Fields inherited from interface com.beasys.commerce.ebusiness.catalog.CatalogItem
`LARGE_IMAGE_INDEX, LONG_DESCRIPTION_INDEX, MAX_DESCRIPTION, MAX_IMAGES, SHORT_DESCRIPTION_INDEX, SMALL_IMAGE_INDEX`

Fields inherited from interface com.bea.p13n.property.ConfigurableEntity
`RESERVED_PROPERTY_SET`

Method Summary
`void` | `setContributor(String contributor)` Set the contributor for this catalog entry.
`void` | `setCoverage(String coverage)` Set the coverage of this catalog item.
`void` | `setCreationDate(Date date)` Set the creation date for this catalog item.
`void` | `setCreator(String creator)` Set the creator for this catalog entry.
`void` | `setDescription(int index, String description)` Set a description for this catalog entry.
`void` | `setImage(int index, ImageInfo imageInfo)` Set image information for this catalog item.
`void` | `setLanguage(String language)` Set the language for this catalog item.
`void` | `setModifiedDate(Date date)` Set the modification date for this catalog item.
`void` | `setName(String name)` Set the name associated with this catalog entry.
`void` | `setPublisher(String publisher)` Set the publisher for this catalog entry.
`void` | `setRelation(String relation)`
`void` | `setRights(String rights)` Set the rights for this catalog item.
`void` | `setSource(String source)` Set the source for this catalog item.

Methods inherited from interface com.beasys.commerce.ebusiness.catalog.CatalogItem
`getContributor, getCoverage, getCreationDate, getCreator, getDescription, getImage, getKey, getLanguage, getModifiedDate, getName, getPublisher, getRelation, getRights, getSource`

Methods inherited from interface com.bea.p13n.property.ConfigurableEntity
`getJndiName, getPkString, getProperty, getPropertyAsString, getPropertyNoDefault, getUniqueId, removeProperty, setProperty`

Method Detail

### setContributor

    public void setContributor(String contributor)

  Set the contributor for this catalog entry.

  Name: Contributor

  Identifier: Contributor

  Definition: An entity responsible for making contributions to the content of the resource.

  Comment: Examples of a Contributor include a person, an organisation, or a service.

  Typically, the name of a Contributor should be used to indicate the entity.

  Parameters:
    `contributor` - the new value

### setCoverage

    public void setCoverage(String coverage)

  Set the coverage of this catalog item.

  Name: Coverage

  Identifier: Coverage

  2 Definition: The extent or scope of the content of the resource.

  Comment: Coverage will typically include spatial location (a place name or geographic coordinates), temporal period (a period label, date, or date range) or jurisdiction (such as a named administrative entity).

  Recommended best practice is to select a value from a controlled vocabulary (for example, the Thesaurus of Geographic Names [TGN]) and that, where appropriate, named places or time periods be used in preference to numeric identifiers such as sets of coordinates or date ranges.

  Parameters:
    `coverage` - the new value

### setCreationDate

    public void setCreationDate(Date date)

  Set the creation date for this catalog item.

  Name: Date

  Identifier: Date

  Definition: A date associated with an event in the life cycle of the resource.

  Comment: Typically, Date will be associated with the creation or availability of the resource. Recommended best practice for encoding the date value is defined in a profile of ISO 8601 [W3CDTF] and follows the YYYY-MM-DD format.

  Parameters:
    `date` - the new value

### setCreator

    public void setCreator(String creator)

  Set the creator for this catalog entry.

  Name: Creator

  Identifier: Creator

  Definition: An entity primarily responsible for making the content of the resource.

  Comment: Examples of a Creator include a person, an organisation, or a service.

  Typically, the name of a Creator should be used to indicate the entity.

  Parameters:
    `creator` - the new value

### setDescription

    public void setDescription(int index,
                               String description)

  Set a description for this catalog entry.

  Parameters:
    `index` - either SHORT_DESCRIPTION_INDEX or LONG_DESCRIPTION_INDEX
    `description` - the new description

### setImage

    public void setImage(int index,
                         ImageInfo imageInfo)

  Set image information for this catalog item.

  Parameters:
    `index` - the image to retrieve one of SMALL_IMAGE_INDEX or LARGE_IMAGE_INDEX.
    `imageInfo` - the new image information

### setLanguage

    public void setLanguage(String language)

  Set the language for this catalog item.

  Name: Language

  Identifier: Language

  Definition: A language of the intellectual content of the resource.

  Comment: Recommended best practice for the values of the Language element is defined by RFC 1766 [RFC1766] which includes a two-letter Language Code (taken from the ISO 639 standard [ISO639]), followed optionally, by a two-letter Country Code (taken from the ISO 3166 standard [ISO3166]). For example, 'en' for English, 'fr' for French, or 'en-uk' for English used in the United Kingdom.

  Parameters:
    `language` - the new value

### setModifiedDate

    public void setModifiedDate(Date date)

  Set the modification date for this catalog item.

  Name: Date

  Identifier: Date

  Definition: A date associated with an event in the life cycle of the resource.

  Comment: Typically, Date will be associated with the creation or availability of the resource. Recommended best practice for encoding the date value is defined in a profile of ISO 8601 [W3CDTF] and follows the YYYY-MM-DD format.

  Parameters:
    `date` - the new value

### setName

    public void setName(String name)

  Set the name associated with this catalog entry.

  Parameters:
    `name` - the name attribute.

### setPublisher

    public void setPublisher(String publisher)

  Set the publisher for this catalog entry.

  Name: Publisher

  Identifier: Publisher

  Definition: An entity responsible for making the resource available

  Comment: Examples of a Publisher include a person, an organisation, or a service.

  Typically, the name of a Publisher should be used to indicate the entity.

  Parameters:
    `publisher` - the new value

### setRelation

    public void setRelation(String relation)

### setRights

    public void setRights(String rights)

  Set the rights for this catalog item.

  Name: Rights Management

  Identifier: Rights

  Definition: Information about rights held in and over the resource.

  Comment: Typically, a Rights element will contain a rights management statement for the resource, or reference a service providing such information. Rights information often encompasses Intellectual Property Rights (IPR), Copyright, and various Property Rights.

  If the Rights element is absent, no assumptions can be made about the status of these and other rights with respect to the resource.

  Parameters:
    `rights` - the new value

### setSource

    public void setSource(String source)

  Set the source for this catalog item.

  Name: Source

  Identifier: Source

  Definition: A Reference to a resource from which the present resource is derived.

  Comment: The present resource may be derived from the Source resource in whole or in part. Recommended best practice is to reference the resource by means of a string or number conforming to a formal identification system.

  Parameters:
    `source` - the new value

Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2005 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005 BEA Systems, Inc. All Rights Reserved