fr.gouv.culture.sdx.thesaurus
Interface Concept
- All Superinterfaces:
- org.apache.avalon.framework.configuration.Configurable, org.xml.sax.ContentHandler, org.apache.avalon.framework.context.Contextualizable, Describable, Document, Encodable, Identifiable, IndexableDocument, org.xml.sax.ext.LexicalHandler, Localizable, org.apache.avalon.framework.logger.LogEnabled, SdxObject, org.apache.avalon.framework.service.Serviceable, org.apache.excalibur.xml.sax.XMLConsumer, org.apache.excalibur.xml.sax.XMLizable
- All Known Implementing Classes:
- AbstractConcept, LuceneConcept
public interface Concept
- extends IndexableDocument
Method Summary |
void |
addRelation(java.lang.String relationType,
java.lang.String relationValue)
Adds a relation to the document |
java.lang.String[] |
getRelations(int type)
Deprecated. use getRelations(String type) |
java.lang.String[] |
getRelations(java.lang.String type)
Returns a list of concept ids related to this one. |
java.lang.String |
getValue()
Returns the document value (name, description, ...). |
void |
setValue(java.lang.String value)
Sets the term/value of the document |
Methods inherited from interface fr.gouv.culture.sdx.document.IndexableDocument |
addAdditionalSystemFields, getAttachedDocuments, getBoost, getFieldValues, getStoreHandler, getSubDocuments, getTransformedDocument, resetAttachedDocuments, setBoost, setMessageHandler, setTransformedDocument, setTransformedDocument, setXMLFieldList, setXMLTransformerHandler, startIndexing |
Methods inherited from interface fr.gouv.culture.sdx.document.Document |
getDocType, getLength, getMimeType, getPreferredFilename, getRepositoryForStorage, getURL, openStream, save, setContent, setContent, setContent, setContent, setId, setIdGenerator, setIdGenerator, setMimeType, setPreferredFilename, setRepositoryForStorage, setURL |
Methods inherited from interface fr.gouv.culture.sdx.utils.SdxObject |
getLog |
Methods inherited from interface org.apache.avalon.framework.logger.LogEnabled |
enableLogging |
Methods inherited from interface org.apache.avalon.framework.context.Contextualizable |
contextualize |
Methods inherited from interface org.apache.avalon.framework.service.Serviceable |
service |
Methods inherited from interface org.apache.avalon.framework.configuration.Configurable |
configure |
Methods inherited from interface org.apache.excalibur.xml.sax.XMLizable |
toSAX |
Methods inherited from interface org.xml.sax.ContentHandler |
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping |
Methods inherited from interface org.xml.sax.ext.LexicalHandler |
comment, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntity |
DOCTYPE_CONCEPT
static final java.lang.String DOCTYPE_CONCEPT
- Identifier of the subclass document type
- See Also:
- Constant Field Values
TERM
static final java.lang.String TERM
- See Also:
- Constant Field Values
ABBREVIATION_SCOPE_NOTE
static final java.lang.String ABBREVIATION_SCOPE_NOTE
- See Also:
- Constant Field Values
RELATION_NARROWER_TERM
static final java.lang.String RELATION_NARROWER_TERM
- See Also:
- Constant Field Values
RELATION_BROADER_TERM
static final java.lang.String RELATION_BROADER_TERM
- See Also:
- Constant Field Values
RELATION_BROADER_TERMS
static final java.lang.String RELATION_BROADER_TERMS
- See Also:
- Constant Field Values
RELATION_USED_FOR
static final java.lang.String RELATION_USED_FOR
- See Also:
- Constant Field Values
RELATION_EQUIVALENT_TERM
static final java.lang.String RELATION_EQUIVALENT_TERM
- See Also:
- Constant Field Values
RELATION_RELATED_TERM
static final java.lang.String RELATION_RELATED_TERM
- See Also:
- Constant Field Values
RELATION_USE
static final java.lang.String RELATION_USE
- See Also:
- Constant Field Values
RELATION_PARTIAL_EQIUVALENCE
static final java.lang.String RELATION_PARTIAL_EQIUVALENCE
- See Also:
- Constant Field Values
XMLLANG
static final java.lang.String XMLLANG
- See Also:
- Constant Field Values
setValue
void setValue(java.lang.String value)
- Sets the term/value of the document
- Parameters:
value
- The value
getValue
java.lang.String getValue()
- Returns the document value (name, description, ...).
addRelation
void addRelation(java.lang.String relationType,
java.lang.String relationValue)
- Adds a relation to the document
- Parameters:
relationType
- The relation type name or other keyrelationValue
- The relation value or term
getRelations
java.lang.String[] getRelations(int type)
- Deprecated. use getRelations(String type)
- Returns a list of concept ids related to this one.
- Parameters:
type
- The relation type.
getRelations
java.lang.String[] getRelations(java.lang.String type)
- Returns a list of concept ids related to this one.
- Parameters:
type
- The relation type String.
Copyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.