|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface represents the pair { field name, field values }.
The field name is the name of a specific Extension Metadata field for a Document of a certain type, e.g. "Country of origin" or "Rating" or "Year" for a Document of type "Movie Review".
The Field may have one or more values, for example, for a Movie Review, there may be a Field named "Genre" whose values are "Drama", "Tragedy", and "Tearjerker".
The type of the values must be per the definition of the Extension
Field, e.g. String, Long, Integer, etc. See value type definitions
in EbiDocField
.
Field Summary | |
static String |
EL_EXTN_META_INFO
The element type of Extension Meta Info. |
Fields inherited from interface com.sssw.cm.api.EbiCmElement |
OP_COPY,
OP_MOVE,
OP_REMOVE,
OP_UPDATE |
Method Summary | |
String |
getDataType()
Gets the data type code for the Extension Metadata Field ( EbiDocField.FT_STRING , EbiDocField.FT_LONG ,
etc.) |
String |
getDocumentID()
Gets the ID of the Document whose Extension Metadata this meta info represents |
String |
getFieldID()
Gets the ID of the Extension Metadata Field whose values this meta info is holding |
String |
getFieldName()
Gets the name of the Extension Metadata Field whose values this meta info is holding |
Collection |
getFieldValues(boolean getStrings)
Gets the values of the Extension Metadata Field. |
void |
setDataType(String dataType)
Sets the data type. |
void |
setFieldID(String fieldID)
Sets the Field ID. |
void |
setFieldName(String fieldName)
Sets the Field name. |
void |
setFieldValues(Object[] values)
Sets the values of the Extension Metadata Field. Notes: Use EbiContentManager.updateDocumentExtnMetaInfo to
save the changes;
The values supplied via this method overwrite whatever
values the field may have had for the document;
The type of the supplied values must be per the definition of
the field, e.g. |
Methods implemented from interface com.sssw.cm.api.EbiCmElement |
fromXML,
toXML,
validateOperation |
Methods implemented from interface com.sssw.fw.api.EbiFrameworkElement |
getElementUUID,
getLastModified,
getLastModifiedBy,
isEqualTo,
isReadOnly,
resetReadOnly,
setLastModified,
setLastModifiedBy,
setReadOnly |
Methods implemented from interface com.sssw.fw.api.EbiElement |
getType |
Field Detail |
public static final String EL_EXTN_META_INFO
EbiElement.getType()
Method Detail |
public String getDocumentID()
public String getFieldID()
public String getFieldName()
public String getDataType()
EbiDocField.FT_STRING
, EbiDocField.FT_LONG
,
etc.)public Collection getFieldValues(boolean getStrings)
getStrings
- tells whether to return Strings or objects
in their actual data typeString
, Long
, etc.
(EbiDocField.FT_STRING
,
EbiDocField.FT_LONG
, etc.), if it's true, a Collection of
Strings is returnedpublic void setFieldID(String fieldID)
fieldID
- the Field IDpublic void setFieldName(String fieldName)
fieldName
- the Field namepublic void setDataType(String dataType)
dataType
- the data typepublic void setFieldValues(Object[] values)
EbiContentManager.updateDocumentExtnMetaInfo
to
save the changes;
String
, Long
, etc.
(EbiDocField.FT_STRING
, EbiDocField.FT_LONG
,
etc.)
values
- the new values
|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |