public class InformationExtractionDomainSpecificationDefinition extends InformationExtractionAbstractSpecificationDefinition
LibraryObjectDefinition.EnumToIntegerCode, LibraryObjectDefinition.LookupByNameSETTINGS_ATTRIBUTEm_Attributes, m_ClassObjectName, m_ClassObjectValue, m_ContentSpecifications, m_DefinitionLists, m_Definitions, m_EnclosedDefinition, m_Id, m_Options, m_ReadOnly, m_ReferenceAttributes, m_Session, m_SystemOptions| Constructor and Description |
|---|
InformationExtractionDomainSpecificationDefinition(LibrarySessionInterface session)
Constructs a definition explicitly capturing the
session.
|
InformationExtractionDomainSpecificationDefinition(LibrarySessionInterface session,
String className)
Constructs a definition, explicitly capturing the
session and setting the initial classobject.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addEntityPhraseDefinition(AttributeValueTable avt)
Adds a new InformationExtractionEntityPhraseDefinition
for an InformationExtractionEntityPhrase specified in a table.
|
void |
addEntityPhraseDefinition(InformationExtractionEntityPhraseDefinition def)
Adds a new EntityPhrase definition for an EntityPhrase.
|
void |
addEntityPhraseDefinitions(InformationExtractionEntityPhraseDefinition[] defs)
Adds a set of EntityPhrase definitions for multiple EntityPhrases.
|
void |
addEntityPhraseDefinitions(List<AttributeValueTable> entPhrasesList)
Adds new InformationExtractionEntityPhraseDefinitions
for a table list of InformationExtractionEntityPhrases.
|
void |
addEntityRelationTypeDefinition(AttributeValueTable avt)
Adds a new InformationExtractionEntityTypeDefinition
for a EntityRelationType specified in a table.
|
void |
addEntityRelationTypeDefinition(InformationExtractionEntityRelationTypeDefinition def)
Adds a new EntityRelationType definition for an EntityRelationType.
|
void |
addEntityRelationTypeDefinitions(InformationExtractionEntityRelationTypeDefinition[] defs)
Adds a set of EntityRelationType definitions for multiple EntityRelationTypes.
|
void |
addEntityRelationTypeDefinitions(List<AttributeValueTable> entRelTypesList)
Adds new InformationExtractionEntityRelationTypeDefinitions
for a table list of EntityRelationTypes.
|
void |
addEntityTypeDefinition(AttributeValueTable avt)
Adds a new InformationExtractionEntityTypeDefinition
for a EntityType specified in a table.
|
void |
addEntityTypeDefinition(InformationExtractionEntityTypeDefinition def)
Adds a new EntityType definition for an EntityType.
|
void |
addEntityTypeDefinitions(InformationExtractionEntityTypeDefinition[] defs)
Adds a set of EntityType definitions for multiple EntityTypes.
|
void |
addEntityTypeDefinitions(List<AttributeValueTable> entTypesList)
Adds new InformationExtractionEntityTypeDefinitions
for a table list of EntityTypes.
|
void |
addImplicitEntityRelationDefinition(AttributeValueTable avt)
Adds a new InformationExtractionImplicitEntityRelationDefinition
for a Implicit Entity Relation specified in a table.
|
void |
addImplicitEntityRelationDefinition(InformationExtractionImplicitEntityRelationDefinition def)
Adds a new ImplicitEntityRelation definition for an ImplicitEntityRelation.
|
void |
addImplicitEntityRelationDefinitions(InformationExtractionImplicitEntityRelationDefinition[] defs)
Adds a set of ImplicitEntityRelation definitions for multiple ImplicitEntityRelations.
|
void |
addImplicitEntityRelationDefinitions(List<AttributeValueTable> implEntRelsList)
Adds new InformationExtractionImplicitEntityRelationDefinitions
for a table list of Implicit Entity Relations.
|
void |
addLegalEntityRelationDefinition(AttributeValueTable avt)
Adds a new definition
for a Legal Entity Relation specified in a table.
|
void |
addLegalEntityRelationDefinition(InformationExtractionLegalEntityRelationDefinition def)
Adds a new legal EntityRelation definition for
an InformationExtractionLegalEntityRelation.
|
void |
addLegalEntityRelationDefinitions(InformationExtractionLegalEntityRelationDefinition[] defs)
Adds a set of EntityRelation definitions for multiple legal Entity Relations.
|
void |
addLegalEntityRelationDefinitions(List<AttributeValueTable> implEntRelsList)
Adds new legal EntityRelation definitions
for a table list of legal Entity Relations.
|
void |
addRegexMappingDefinition(AttributeValueTable avt)
Adds a new InformationExtractionRegexMappingDefinition
for a Regex Mapping specified in a table.
|
void |
addRegexMappingDefinition(InformationExtractionRegexMappingDefinition def)
Adds a new RegexMapping definition for an RegexMapping.
|
void |
addRegexMappingDefinitions(InformationExtractionRegexMappingDefinition[] defs)
Adds a set of RegexMapping definitions for
multiple RegexMappings.
|
void |
addRegexMappingDefinitions(List<AttributeValueTable> regexMappingsList)
Adds new InformationExtractionRegexMappingDefinitions
for a table list of Regex Mappings.
|
void |
addRegexPatternDefinition(AttributeValueTable avt)
Adds a new InformationExtractionRegexPatternDefinition
for a Regex NER Pattern specified in a table.
|
void |
addRegexPatternDefinition(InformationExtractionRegexPatternDefinition def)
Adds a new RegexPattern definition for an RegexPattern.
|
void |
addRegexPatternDefinitions(InformationExtractionRegexPatternDefinition[] defs)
Adds a set of RegexPattern definitions for multiple RegexPatterns.
|
void |
addRegexPatternDefinitions(List<AttributeValueTable> regexNerPattsList)
Adds new InformationExtractionRegexPatternDefinitions
for a table list of Regex NER Patterns.
|
void |
addRegexRuleDefinition(AttributeValueTable avt)
Adds a new InformationExtractionRegexRuleDefinition
for a Tokens Regex rule specified in a table.
|
void |
addRegexRuleDefinition(InformationExtractionRegexRuleDefinition def)
Adds a new RegexRule definition for an RegexRule.
|
void |
addRegexRuleDefinitions(InformationExtractionRegexRuleDefinition[] defs)
Adds a set of RegexRule definitions for
multiple RegexRules.
|
void |
addRegexRuleDefinitions(List<AttributeValueTable> regexRulesList)
Adds new InformationExtractionRegexRuleDefinitions
for a table list of Tokens Regex rules.
|
void |
applySettings(AttributeValueTable avt)
Applies settings from the specified table.
|
InformationExtractionEntityPhraseDefinition[] |
getEntityPhraseDefinitions()
Gets all the EntityPhrase definitions for this instance.
|
InformationExtractionEntityRelationTypeDefinition[] |
getEntityRelationTypeDefinitions()
Gets all the EntityRelationType definitions for this instance.
|
InformationExtractionEntityTypeDefinition[] |
getEntityTypeDefinitions()
Gets all the EntityType definitions for this instance.
|
InformationExtractionImplicitEntityRelationDefinition[] |
getImplicitEntityRelationDefinitions()
Gets all the ImplicitEntityRelation definitions for this instance.
|
InformationExtractionLegalEntityRelationDefinition[] |
getLegalEntityRelationDefinitions()
Gets all the legal EntityRelation definitions for this instance.
|
InformationExtractionRegexMappingDefinition[] |
getRegexMappingDefinitions()
Gets all the RegexMapping definitions for this instance.
|
InformationExtractionRegexPatternDefinition[] |
getRegexPatternDefinitions()
Gets all the RegexPattern definitions for this instance.
|
InformationExtractionRegexRuleDefinition[] |
getRegexRuleDefinitions()
Gets all the RegexRule definitions for this instance.
|
void |
removeEntityPhraseDefinitions()
Removes all EntityPhrase definitions from this instance.
|
void |
removeEntityRelationTypeDefinitions()
Removes all EntityRelationType definitions from this instance.
|
void |
removeEntityTypeDefinitions()
Removes all EntityType definitions from this instance.
|
void |
removeImplicitEntityRelationDefinitions()
Removes all ImplicitEntityRelation definitions from this instance.
|
void |
removeLegalEntityRelationDefinitions()
Removes all legal EntityRelation definitions from this definition.
|
void |
removeRegexMappingDefinitions()
Removes all RegexMapping definitions from this instance.
|
void |
removeRegexPatternDefinitions()
Removes all RegexPattern definitions from this instance.
|
void |
removeRegexRuleDefinitions()
Removes all RegexRule definitions from this instance.
|
void |
setEntityPhraseDefinitions(InformationExtractionEntityPhraseDefinition[] defs)
Replaces the set of new EntityPhrase definitions for multiple EntityPhrases.
|
void |
setEntityRelationTypeDefinitions(InformationExtractionEntityRelationTypeDefinition[] defs)
Replaces the set of new EntityRelationType definitions for multiple EntityRelationTypes.
|
void |
setEntityTypeDefinitions(InformationExtractionEntityTypeDefinition[] defs)
Replaces the set of new EntityType definitions for multiple EntityTypes.
|
void |
setImplicitEntityRelationDefinitions(InformationExtractionImplicitEntityRelationDefinition[] defs)
Replaces the set of new ImplicitEntityRelation definitions for multiple ImplicitEntityRelations.
|
void |
setLegalEntityRelationDefinitions(InformationExtractionLegalEntityRelationDefinition[] defs)
Replaces the set of new definitions for multiple LegalEntityRelations.
|
void |
setRegexMappingDefinitions(InformationExtractionRegexMappingDefinition[] defs)
Replaces the set of new RegexMapping definitions
for multiple RegexMappings.
|
void |
setRegexPatternDefinitions(InformationExtractionRegexPatternDefinition[] defs)
Replaces the set of new RegexPattern definitions for multiple RegexPatterns.
|
void |
setRegexRuleDefinitions(InformationExtractionRegexRuleDefinition[] defs)
Replaces the set of new RegexRule definitions
for multiple RegexRules.
|
static InformationExtractionDomainSpecificationDefinition |
toInformationExtractionDomainSpecificationDefinition(LibraryObjectDefinition lodef)
Casts specified LibraryObjectDefinition to a InformationExtractionDomainSpecificationDefinition.
|
static InformationExtractionDomainSpecificationDefinition |
toInformationExtractionDomainSpecificationDefinition(LibraryObjectDefinition lodef,
boolean enforceCompat)
Casts specified LibraryObjectDefinition to a InformationExtractionDomainSpecificationDefinition.
|
toInformationExtractionAbstractSpecificationDefinition, toInformationExtractionAbstractSpecificationDefinitionaddCategoryDefinition, addCategoryDefinitionForUpdate, addCategoryDefinitions, addCategoryForDelete, getCategoriesForDelete, getCategoryDefinitions, getCategoryDefinitionsForUpdate, getCreateCategoriesServerSideOption, removeCategoriesForDelete, removeCategoryDefinitions, removeCategoryDefinitionsForUpdate, setCategoryDefinitions, setCreateCategoriesServerSideOption, toSystemObjectDefinition, toSystemObjectDefinitionaddDefinition, addDefinitions, addProperty, addPropertyDefinition, addPropertyDefinition, addPropertyDefinitions, addPropertyDefinitions, addSimplePropertyDefinition, addSimplePropertyDefinition, addSimplePropertyDefinitions, addSimplePropertyDefinitions, applyEnumSetting, applyEnumSetting, applyMapSetting, applyMapSetting, applyObjectArraySetting, applyObjectArraySetting, applyObjectSetting, applyObjectSetting, applySetting, applySetting, captureSession, captureSession, captureSession, clone, constructInstance, constructInstance, constructInstance, copyInto, deriveObjectArraySetting, deriveObjectSetting, getAttribute, getAttribute, getAttributes, getAttributes, getAttributesSorted, getClassId, getClassObject, getClassObjectValue, getContentSpecification, getContentSpecificationKeys, getCopiedObjectValue, getDefinition, getDefinitionClassName, getDefinitionKeys, getDefinitionListKeys, getDefinitions, getId, getLibrarySession, getName, getOption, getOptionAsAttributeValue, getOptionKeys, getPolicyMode, getPropertyDefinitions, getReferenceAttribute, getReferenceAttributes, getServerDefinition, getSession, getSimplePropertyDefinitions, getSLibrarySession, getStringAttribute, getSystemOption, getSystemOptionAsAttributeValue, getSystemOptionAsBoolean, getSystemOptionKeys, getWriteableInstance, isReadOnly, prepareForDefinitionObject, processSimplePropertiesForCreate, processSimplePropertiesForUpdate, removeAttribute, removeContentSpecification, removeDefinition, removeDefinitions, removeOption, removePropertyDefinitions, removeReferenceAttribute, removeSimplePropertyDefinitions, removeSystemOption, reset, resolve, setAttribute, setAttribute, setAttribute, setAttributeByUpperCaseName, setAttributeByUpperCaseName, setAttributePolicyMode, setAttributes, setClassId, setClassname, setClassObject, setClassObjectValue, setContentSpecification, setCopiedObjectValue, setDefinition, setDefinitions, setId, setName, setOption, setReadOnly, setReferenceAttribute, setReferenceAttribute, setSession, setSimplePropertyDefinitions, setSystemOption, unresolve, verifySessionpublic InformationExtractionDomainSpecificationDefinition(LibrarySessionInterface session) throws IfsException
The initial ClassObject will be InformationExtractionDomainSpecification.
session - the current sessionIfsException - if the operation failspublic InformationExtractionDomainSpecificationDefinition(LibrarySessionInterface session, String className) throws IfsException
session - the current sessionclassName - the initial class nameIfsException - if the operation failspublic void applySettings(AttributeValueTable avt) throws IfsException
applySettings in class InformationExtractionAbstractSpecificationDefinitionavt - the table having the definition settingsIfsException - if the operation failspublic void addEntityTypeDefinition(InformationExtractionEntityTypeDefinition def) throws IfsException
def - the definition for the EntityTypeIfsException - if the operation failspublic void addEntityTypeDefinition(AttributeValueTable avt) throws IfsException
avt - the EntityType tableIfsException - if the operation failspublic void addEntityTypeDefinitions(List<AttributeValueTable> entTypesList) throws IfsException
entTypesList - the table list of EntityTypesIfsException - if the operation failspublic void addEntityTypeDefinitions(InformationExtractionEntityTypeDefinition[] defs) throws IfsException
defs - the definitions for the EntityTypesIfsException - if the operation failspublic void setEntityTypeDefinitions(InformationExtractionEntityTypeDefinition[] defs) throws IfsException
defs - the definitions for the EntityTypesIfsException - if the operation failspublic void removeEntityTypeDefinitions()
throws IfsException
IfsException - if the operation failspublic InformationExtractionEntityTypeDefinition[] getEntityTypeDefinitions() throws IfsException
IfsException - if the operation failspublic void addEntityRelationTypeDefinition(InformationExtractionEntityRelationTypeDefinition def) throws IfsException
def - the definition for the EntityRelationTypeIfsException - if the operation failspublic void addEntityRelationTypeDefinition(AttributeValueTable avt) throws IfsException
avt - the EntityRelationType tableIfsException - if the operation failspublic void addEntityRelationTypeDefinitions(List<AttributeValueTable> entRelTypesList) throws IfsException
entRelTypesList - the table list of EntityRelationTypesIfsException - if the operation failspublic void addEntityRelationTypeDefinitions(InformationExtractionEntityRelationTypeDefinition[] defs) throws IfsException
defs - the definitions for the EntityRelationTypesIfsException - if the operation failspublic void setEntityRelationTypeDefinitions(InformationExtractionEntityRelationTypeDefinition[] defs) throws IfsException
defs - the definitions for the EntityRelationTypesIfsException - if the operation failspublic void removeEntityRelationTypeDefinitions()
throws IfsException
IfsException - if the operation failspublic InformationExtractionEntityRelationTypeDefinition[] getEntityRelationTypeDefinitions() throws IfsException
IfsException - if the operation failspublic void addLegalEntityRelationDefinition(InformationExtractionLegalEntityRelationDefinition def) throws IfsException
def - the definition for the LegalEntityRelationIfsException - if the operation failspublic void addLegalEntityRelationDefinition(AttributeValueTable avt) throws IfsException
def - the legal Entity Relation tableIfsException - if the operation failspublic void addLegalEntityRelationDefinitions(List<AttributeValueTable> implEntRelsList) throws IfsException
implEntRelsList - the table list of legal Entity RelationsIfsException - if the operation failspublic void addLegalEntityRelationDefinitions(InformationExtractionLegalEntityRelationDefinition[] defs) throws IfsException
defs - the definitions for the LegalEntityRelationsIfsException - if the operation failspublic void setLegalEntityRelationDefinitions(InformationExtractionLegalEntityRelationDefinition[] defs) throws IfsException
defs - the definitions for the LegalEntityRelationsIfsException - if the operation failspublic void removeLegalEntityRelationDefinitions()
throws IfsException
IfsException - if the operation failspublic InformationExtractionLegalEntityRelationDefinition[] getLegalEntityRelationDefinitions() throws IfsException
IfsException - if the operation failspublic void addImplicitEntityRelationDefinition(InformationExtractionImplicitEntityRelationDefinition def) throws IfsException
def - the definition for the ImplicitEntityRelationIfsException - if the operation failspublic void addImplicitEntityRelationDefinition(AttributeValueTable avt) throws IfsException
def - the Implicit Entity Relation tableIfsException - if the operation failspublic void addImplicitEntityRelationDefinitions(List<AttributeValueTable> implEntRelsList) throws IfsException
implEntRelsList - the table list of Implicit Entity RelationsIfsException - if the operation failspublic void addImplicitEntityRelationDefinitions(InformationExtractionImplicitEntityRelationDefinition[] defs) throws IfsException
defs - the definitions for the ImplicitEntityRelationsIfsException - if the operation failspublic void setImplicitEntityRelationDefinitions(InformationExtractionImplicitEntityRelationDefinition[] defs) throws IfsException
defs - the definitions for the ImplicitEntityRelationsIfsException - if the operation failspublic void removeImplicitEntityRelationDefinitions()
throws IfsException
IfsException - if the operation failspublic InformationExtractionImplicitEntityRelationDefinition[] getImplicitEntityRelationDefinitions() throws IfsException
IfsException - if the operation failspublic void addEntityPhraseDefinition(InformationExtractionEntityPhraseDefinition def) throws IfsException
def - the definition for the EntityPhraseIfsException - if the operation failspublic void addEntityPhraseDefinition(AttributeValueTable avt) throws IfsException
def - the Entity phrase tableIfsException - if the operation failspublic void addEntityPhraseDefinitions(List<AttributeValueTable> entPhrasesList) throws IfsException
entPhrasesList - the table list of InformationExtractionEntityPhrasesIfsException - if the operation failspublic void addEntityPhraseDefinitions(InformationExtractionEntityPhraseDefinition[] defs) throws IfsException
defs - the definitions for the EntityPhrasesIfsException - if the operation failspublic void setEntityPhraseDefinitions(InformationExtractionEntityPhraseDefinition[] defs) throws IfsException
defs - the definitions for the EntityPhrasesIfsException - if the operation failspublic void removeEntityPhraseDefinitions()
throws IfsException
IfsException - if the operation failspublic InformationExtractionEntityPhraseDefinition[] getEntityPhraseDefinitions() throws IfsException
IfsException - if the operation failspublic void addRegexPatternDefinition(InformationExtractionRegexPatternDefinition def) throws IfsException
def - the definition for the RegexPatternIfsException - if the operation failspublic void addRegexPatternDefinition(AttributeValueTable avt) throws IfsException
def - the Regex NER Pattern tableIfsException - if the operation failspublic void addRegexPatternDefinitions(List<AttributeValueTable> regexNerPattsList) throws IfsException
regexNerPattsList - the table list of Regex NER PatternsIfsException - if the operation failspublic void addRegexPatternDefinitions(InformationExtractionRegexPatternDefinition[] defs) throws IfsException
defs - the definitions for the RegexPatternsIfsException - if the operation failspublic void setRegexPatternDefinitions(InformationExtractionRegexPatternDefinition[] defs) throws IfsException
defs - the definitions for the RegexPatternsIfsException - if the operation failspublic void removeRegexPatternDefinitions()
throws IfsException
IfsException - if the operation failspublic InformationExtractionRegexPatternDefinition[] getRegexPatternDefinitions() throws IfsException
IfsException - if the operation failspublic void addRegexRuleDefinition(InformationExtractionRegexRuleDefinition def) throws IfsException
def - the definition for the RegexRuleIfsException - if the operation failspublic void addRegexRuleDefinition(AttributeValueTable avt) throws IfsException
def - the Tokens Regex rule tableIfsException - if the operation failspublic void addRegexRuleDefinitions(List<AttributeValueTable> regexRulesList) throws IfsException
regexRulesList - the table list of Tokens Regex rulesIfsException - if the operation failspublic void addRegexRuleDefinitions(InformationExtractionRegexRuleDefinition[] defs) throws IfsException
defs - the definitions for the RegexRulesIfsException - if the operation failspublic void setRegexRuleDefinitions(InformationExtractionRegexRuleDefinition[] defs) throws IfsException
defs - the definitions for the RegexRulesIfsException - if the operation failspublic void removeRegexRuleDefinitions()
throws IfsException
IfsException - if the operation failspublic InformationExtractionRegexRuleDefinition[] getRegexRuleDefinitions() throws IfsException
IfsException - if the operation failspublic void addRegexMappingDefinition(InformationExtractionRegexMappingDefinition def) throws IfsException
def - the definition for the RegexMappingIfsException - if the operation failspublic void addRegexMappingDefinition(AttributeValueTable avt) throws IfsException
def - the Regex Mapping tableIfsException - if the operation failspublic void addRegexMappingDefinitions(List<AttributeValueTable> regexMappingsList) throws IfsException
regexMappingsList - the table list of Regex MappingsIfsException - if the operation failspublic void addRegexMappingDefinitions(InformationExtractionRegexMappingDefinition[] defs) throws IfsException
defs - the definitions for the RegexMappingsIfsException - if the operation failspublic void setRegexMappingDefinitions(InformationExtractionRegexMappingDefinition[] defs) throws IfsException
defs - the definitions for the RegexMappingsIfsException - if the operation failspublic void removeRegexMappingDefinitions()
throws IfsException
IfsException - if the operation failspublic InformationExtractionRegexMappingDefinition[] getRegexMappingDefinitions() throws IfsException
IfsException - if the operation failspublic static InformationExtractionDomainSpecificationDefinition toInformationExtractionDomainSpecificationDefinition(LibraryObjectDefinition lodef) throws IfsException
Return null if the specified definition is not a InformationExtractionDomainSpecificationDefinition, or if the specified definition is null.
lodef - the definition to be castedIfsException - is not currently thrownpublic static InformationExtractionDomainSpecificationDefinition toInformationExtractionDomainSpecificationDefinition(LibraryObjectDefinition lodef, boolean enforceCompat) throws IfsException
Return null if the specified definition is null. If non-null and unable to cast, return null if enforceCompat is false but throw an IfsException if the specified definition is not a InformationExtractionDomainSpecificationDefinition.
lodef - the definition to be castedenforceCompat - whether to throw an exception if
a non-null definition cannot be castIfsException - 10822: if operation failsCopyright © 2025. All rights reserved.