|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated public interface MutableCatalogItem
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)
Deprecated Set the contributor for this catalog entry. |
void |
setCoverage(String coverage)
Deprecated Set the coverage of this catalog item. |
void |
setCreationDate(Date date)
Deprecated Set the creation date for this catalog item. |
void |
setCreator(String creator)
Deprecated Set the creator for this catalog entry. |
void |
setDescription(int index,
String description)
Deprecated Set a description for this catalog entry. |
void |
setImage(int index,
ImageInfo imageInfo)
Deprecated Set image information for this catalog item. |
void |
setLanguage(String language)
Deprecated Set the language for this catalog item. |
void |
setModifiedDate(Date date)
Deprecated Set the modification date for this catalog item. |
void |
setName(String name)
Deprecated Set the name associated with this catalog entry. |
void |
setPublisher(String publisher)
Deprecated Set the publisher for this catalog entry. |
void |
setRelation(String relation)
Deprecated |
void |
setRights(String rights)
Deprecated Set the rights for this catalog item. |
void |
setSource(String source)
Deprecated 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 |
---|
void setName(String name)
name
- the name attribute.void setDescription(int index, String description)
index
- either SHORT_DESCRIPTION_INDEX or LONG_DESCRIPTION_INDEXdescription
- the new descriptionvoid setCreator(String creator)
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.
creator
- the new valuevoid setPublisher(String publisher)
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.
publisher
- the new valuevoid setContributor(String contributor)
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.
contributor
- the new valuevoid setCreationDate(Date date)
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.
date
- the new valuevoid setSource(String source)
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.
source
- the new valuevoid setLanguage(String language)
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.
language
- the new valuevoid setRelation(String relation)
void setCoverage(String coverage)
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.
coverage
- the new valuevoid setRights(String rights)
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.
rights
- the new valuevoid setImage(int index, ImageInfo imageInfo)
index
- the image to retrieve one of SMALL_IMAGE_INDEX
or LARGE_IMAGE_INDEX.imageInfo
- the new image informationvoid setModifiedDate(Date date)
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.
date
- the new value
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |