public class InformationExtractionRelationTriple extends TieSimpleObject
Modifier and Type | Field and Description |
---|---|
static String |
CLASS_NAME
The name of the ClassObject representing this class.
|
static String |
CONFIDENCE_ATTRIBUTE
The name of the Attribute representing
The confidence level that this triple is correct (0.0 - 1.0).
|
static String |
INFORMATIONEXTRACTION_ATTRIBUTE
The name of the Attribute representing
The InformationExtraction in which this relation triple was defined.
|
static String |
OBJECTTOKENLIST_ATTRIBUTE
The name of the Attribute representing
The token list comprising the set of tokens for the object.
|
static String |
POSITION_ATTRIBUTE
The name of the Attribute representing
the sentence position in which this triple appears (zero based).
|
static String |
SUBJECTTOKENLIST_ATTRIBUTE
The name of the Attribute representing
The token list comprising the set of tokens for the subject.
|
static String |
VERBTOKENLIST_ATTRIBUTE
The name of the Attribute representing
The token list comprising the set of tokens for the verb.
|
DOMAIN_UNIQUENAME_DEFAULT_DELIMITER, m_ClassId, m_Id, m_Session, NAME_ATTRIBUTE, PROPERTYBUNDLE_ATTRIBUTE
Constructor and Description |
---|
InformationExtractionRelationTriple(LibrarySession session,
Long id,
Long classId,
S_LibraryObjectData data)
Construct a InformationExtractionRelationTriple object.
|
Modifier and Type | Method and Description |
---|---|
double |
getConfidence()
Gets The confidence level that this triple is correct (0.0 - 1.0).
|
InformationExtraction |
getInformationExtraction()
Gets The InformationExtraction in which this relation triple was defined.
|
InformationExtractionTokenList |
getObjectTokenList()
Gets The token list comprising the set of tokens for the object.
|
int |
getPosition()
Gets the The sentence position in which this triple
appears (zero based).
|
InformationExtractionTokenList |
getSubjectTokenList()
Gets The token list comprising the set of tokens for the subject.
|
InformationExtractionTokenList |
getVerbTokenList()
Gets The token list comprising the set of tokens for the verb.
|
protected void |
preFree(LibraryObjectDefinition lodef)
Extensibility point to perform actions prior to the
permanent deletion ("free") of a object.
|
free, handleCreate, isValidEventType
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, hasNameAttribute, hasPropertyBundleAttribute, invalidateState, invokeOperation, invokeOperation, invokeServerMethod, isConnected, isCoreEventPostingEnabled, isInstanceOf, isPersistent, isTraced, lockRows, lookupInstanceLabel, performPostCreateExtensions, performPostFreeExtensions, performPostUpdateExtensions, performPreCreateExtensions, performPreFreeExtensions, performPreUpdateExtensions, postCreate, postEvent, postEvent, postFree, postUpdate, preCreate, prePostAuditEvent, preUpdate, 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 INFORMATIONEXTRACTION_ATTRIBUTE
public static final String SUBJECTTOKENLIST_ATTRIBUTE
public static final String VERBTOKENLIST_ATTRIBUTE
public static final String OBJECTTOKENLIST_ATTRIBUTE
public static final String CONFIDENCE_ATTRIBUTE
public static final String POSITION_ATTRIBUTE
public InformationExtractionRelationTriple(LibrarySession session, Long id, Long classId, S_LibraryObjectData data) throws IfsException
session
- current LibrarySessionid
- object idclassId
- class iddata
- data componentIfsException
- if the operation failspublic InformationExtraction getInformationExtraction() throws IfsException
IfsException
- if the operation failspublic InformationExtractionTokenList getSubjectTokenList() throws IfsException
IfsException
- if the operation failspublic InformationExtractionTokenList getVerbTokenList() throws IfsException
IfsException
- if the operation failspublic InformationExtractionTokenList getObjectTokenList() throws IfsException
IfsException
- if the operation failspublic double getConfidence() throws IfsException
IfsException
- if the operation failspublic int getPosition() throws IfsException
IfsException
- if the operation failsprotected 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 LibraryObject
lodef
- object definition used to hold options related to the free
operationIfsException
- if operation fails.Copyright © 2023. All rights reserved.