public class InformationExtractionSpecification extends TieInformationExtractionAbstractSpecification
Modifier and Type | Field and Description |
---|---|
static String |
CLASS_NAME
The name of the ClassObject representing this class.
|
static String |
DOMAINSPECIFICATION_ATTRIBUTE
The name of the attribute that holds
the InformationExtractionDomainSpecification which defines the
Information Extraction Domain.
|
static String |
FINISHERSPECIFICATION_ATTRIBUTE
The name of the attribute that holds
the InformationExtractionFinisherSpecification that configures the finish phase.
|
static String |
NAME_ATTRIBUTE
The name of the attribute that holds the name of
this InformationExtractionSpecification.
|
static String |
PARSERSPECIFICATION_ATTRIBUTE
The name of the attribute that holds
the InformationExtractionParserSpecification that configures the parse phase.
|
static String |
PREPARERSPECIFICATION_ATTRIBUTE
The name of the attribute that holds
the InformationExtractionPreparerSpecification that configures the prepare phase.
|
static String |
SETTING_NAME_PARSERMODELNAME
The setting name for the Legal Entity relations.
|
static String |
SOLVERSPECIFICATION_ATTRIBUTE
The name of the attribute that holds
the InformationExtractionSolverSpecification that configures the solve phase.
|
static String |
TRAINERSPECIFICATION_ATTRIBUTE
The name of the attribute that holds
the InformationExtractionTrainerSpecification that configures the training
phase for confirmed extractions.
|
DESCRIPTION_ATTRIBUTE, SETTINGS_ATTRIBUTE
ACTIVE_ATTRIBUTE, POLICYBUNDLE_ATTRIBUTE, POLICYLISTS_ATTRIBUTE, PROPERTYBUNDLE_ATTRIBUTE
DOMAIN_UNIQUENAME_DEFAULT_DELIMITER, m_ClassId, m_Id, m_Session
Modifier | Constructor and Description |
---|---|
protected |
InformationExtractionSpecification(LibrarySession session,
Long id,
Long classId,
S_LibraryObjectData data)
Constructs a InformationExtractionSpecification object.
|
Modifier and Type | Method and Description |
---|---|
static InformationExtractionSpecification[] |
findAll(LibrarySession session)
Returns the set of defined InformationExtractionSpecifications.
|
static InformationExtractionSpecification |
findByName(LibrarySession session,
String name)
Returns the a InformationExtractionSpecification matching the
specified name.
|
InformationExtractionDomainSpecification |
getDomainSpecification()
Gets the InformationExtractionDomainSpecification.
|
InformationExtractionFinisherSpecification |
getFinisherSpecification()
Gets the InformationExtractionFinisherSpecification.
|
static LibraryObjectLookupCache |
getLibraryObjectLookupCache(LibrarySession session)
Returns the LibraryObjectLookupCache used by find
InformationExtractionSpecification instances by name.
|
String |
getParserModelName()
Gets the Parser Model name in effect for this specification.
|
InformationExtractionParserSpecification |
getParserSpecification()
Gets the InformationExtractionParserSpecification.
|
InformationExtractionPreparerSpecification |
getPreparerSpecification()
Gets the InformationExtractionPreparerSpecification.
|
InformationExtractionSolverSpecification |
getSolverSpecification()
Gets the InformationExtractionSolverSpecification.
|
InformationExtractionTrainerSpecification |
getTrainerSpecification()
Gets the InformationExtractionTrainerSpecification.
|
boolean |
hasNameAttribute()
Returns true if this object is an instance of a class
that has a NAME attribute, and false otherwise.
|
protected void |
preFree(LibraryObjectDefinition lodef)
Extensibility point to perform actions prior to the
permanent deletion ("free") of a object.
|
addSetting, getDescription, getSetting, getSettings, postCreate, preUpdate
addCategory, constructSystemObject, constructSystemObjectVector, free, freeCategories, getCategories, getCategories, getCategories, getCategories, getPolicyBundle, getPolicyLists, handleCreate, hasPropertyBundleAttribute, isActive, postUpdate, preCreate, putPolicy, removeAllPolicies, removePolicy, removePolicy, setActive, setPolicyBundle, setPolicyLists
added, addSimpleProperty, addSimpleProperty, applyProperties, auditCreated, auditUpdated, canPurge, checkIfPropertyBundleSupported, checkRequiredAttributeSet, clearCopyContext, clearFreeContext, clearUpdateContext, compareTo, constructIdArray, constructIdArray, constructLibraryObject, constructLibraryObjectVector, createDedicatedPropertyBundle, createInstance, deriveDomainUniqueName, dispose, equals, equals, free, freeAll, get, getAttribute, getAttributeByUpperCaseName, getAttributes, getAttributesByUpperCaseNames, getAuditDomainContext, getAuditEventFolderContext, getClassId, getClassname, getClassName, getClassObject, getCommonName, getCommonNameAndClass, getCopyContext, getCreateContext, getData, getDefinition, getDefinitionForSimplePropertyUpdates, getEffectivePolicyListElements, getEventualAttributeByUpperCaseName, getFreeContext, getId, getLabel, getName, getObjectReferenceAttribute, getOperationActionSpecificationContext, getPropertyBundle, getPropertyValue, getPublicObjectAttribute, getResourceString, getResourceString, getSchemaObjectAttribute, getSession, getSessionInterface, getSharedStateFactory, getSimpleObjectAttribute, getSimpleProperties, getSimpleProperty, getSimplePropertyValue, getStringIdentifier, getSystemObjectAttribute, getTraceLogger, getUpdateContext, handleAdminModeChange, handleEvent, handleFree, handleUpdate, hashCode, invalidateState, invokeOperation, invokeOperation, invokeServerMethod, isConnected, isCoreEventPostingEnabled, isInstanceOf, isPersistent, isTraced, isValidEventType, lockRows, lookupInstanceLabel, performPostCreateExtensions, performPostFreeExtensions, performPostUpdateExtensions, performPreCreateExtensions, performPreFreeExtensions, performPreUpdateExtensions, postEvent, postEvent, postFree, prePostAuditEvent, putProperty, putProperty, removeAllProperties, removeAllSimpleProperties, removeAllSimpleProperties, removed, removeProperty, removeSimpleProperty, removeSimpleProperty, renderAsRandomAccessContent, renderAsReader, renderAsStream, setAttribute, setAttribute, setAttributes, setAttributes, setCopyContext, setFreeContext, setId, setName, setPropertyBundle, setPropertyValue, setUpdateContext, toString, trace, trustHandleCreate, trustHandleCreateAsAdmin, trustHandleFree, trustHandleFreeAsAdmin, trustHandleUpdate, trustHandleUpdateAsAdmin, update, updateAndExposeDefinition, validatePropertyValues, vectorLibraryObjectElement, vectorToLibraryObjectArray, verifyAdministrationMode, verifyConnected, verifyPersistent, verifySystemUserAccess, verifyTargetObject
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAttributeByUpperCaseName, getClassId, getId, getSessionInterface
getTraceLogger, isTraced, trace
public static final String CLASS_NAME
public static final String NAME_ATTRIBUTE
public static final String DOMAINSPECIFICATION_ATTRIBUTE
public static final String PREPARERSPECIFICATION_ATTRIBUTE
public static final String PARSERSPECIFICATION_ATTRIBUTE
public static final String SOLVERSPECIFICATION_ATTRIBUTE
public static final String FINISHERSPECIFICATION_ATTRIBUTE
public static final String TRAINERSPECIFICATION_ATTRIBUTE
public static final String SETTING_NAME_PARSERMODELNAME
protected InformationExtractionSpecification(LibrarySession session, Long id, Long classId, S_LibraryObjectData data) throws IfsException
session
- current LibrarySessionid
- object idclassId
- class iddata
- data componentIfsException
- if the operation failspublic boolean hasNameAttribute() throws IfsException
LibraryObject
hasNameAttribute
in class InformationExtractionAbstractSpecification
IfsException
- if operation fails.public InformationExtractionDomainSpecification getDomainSpecification() throws IfsException
IfsException
- if the operation failspublic InformationExtractionPreparerSpecification getPreparerSpecification() throws IfsException
IfsException
- if the operation failspublic InformationExtractionParserSpecification getParserSpecification() throws IfsException
IfsException
- if the operation failspublic InformationExtractionSolverSpecification getSolverSpecification() throws IfsException
IfsException
- if the operation failspublic InformationExtractionFinisherSpecification getFinisherSpecification() throws IfsException
IfsException
- if the operation failspublic InformationExtractionTrainerSpecification getTrainerSpecification() throws IfsException
IfsException
- if the operation failspublic String getParserModelName() throws IfsException
IfsException
- if the operation failspublic static LibraryObjectLookupCache getLibraryObjectLookupCache(LibrarySession session) throws IfsException
session
- the session contextIfsException
- if the operation fails.public static InformationExtractionSpecification[] findAll(LibrarySession session) throws IfsException
The instances will be sorted by name.
session
- the session contextIfsException
- if the operation fails.public static InformationExtractionSpecification findByName(LibrarySession session, String name) throws IfsException
InformationExtractionSpecification names are case sensitive, so this operations requires an exact match with respect to case.
session
- the session contextname
- the InformationExtractionSpecification nameIfsException
- if the operation fails.protected void preFree(LibraryObjectDefinition lodef) throws IfsException
LibraryObject
This method is typically overridden by subclasses that
perform other operations prior to the target object
being freed in order to all delete or modify objects related
to the target object.
Subclasses are expected to invoke super.preFree
.
preFree
in class InformationExtractionAbstractSpecification
lodef
- object definition used to hold options related to the free
operationIfsException
- if operation fails.Copyright © 2023. All rights reserved.