public class InformationExtractionRegexRule extends TieSimpleObject
Modifier and Type | Field and Description |
---|---|
static String |
ACTION_ATTRIBUTE
The name of the Attribute representing
The action to take.
|
static String |
CLASS_NAME
The name of the ClassObject representing this class.
|
static String |
DOMAINSPECIFICATION_ATTRIBUTE
The name of the Attribute representing
The InformationExtractionDomainSpecification for which this object is defined.
|
static String |
NAME_ATTRIBUTE
The name of the Attribute representing
the name used to identify a TokensRegex extraction rule.
|
static String |
PATTERN_ATTRIBUTE
The name of the Attribute representing
the TokensRegex pattern.
|
static String |
RESULT_ATTRIBUTE
The name of the Attribute representing
The rule's result.
|
static String |
RULETYPE_ATTRIBUTE
The name of the Attribute representing
the rule type (entityruler, tokenmatcher, text, tokens, composite or filter).
|
static String |
RULETYPE_COMPOSITE
The String that identifies a RuleType for CoreNlpRegexRule for "composite".
|
static String |
RULETYPE_DEPENDENCYMATCHER
The String that identifies a RuleType for DependencyMatcherRegexRule.
|
static String |
RULETYPE_ENTITYRULER
The String that identifies a RuleType for EntityRulerRegexRule.
|
static String |
RULETYPE_FILTER
The String that identifies a RuleType for CoreNlpRegexRule for "filter".
|
static String |
RULETYPE_TEXT
The String that identifies a RuleType for CoreNlpRegexRule for "text".
|
static String |
RULETYPE_TOKENMATCHER
The String that identifies a RuleType for TokenMatcherRegexRule.
|
static String |
RULETYPE_TOKENS
The String that identifies a RuleType for CoreNlpRegexRule for "tokens".
|
static String |
UUID_ATTRIBUTE
The name of the Attribute representing the UUID.
|
DOMAIN_UNIQUENAME_DEFAULT_DELIMITER, m_ClassId, m_Id, m_Session, PROPERTYBUNDLE_ATTRIBUTE
Constructor and Description |
---|
InformationExtractionRegexRule(LibrarySession session,
Long id,
Long classId,
S_LibraryObjectData data)
Construct a InformationExtractionRegexRule object.
|
Modifier and Type | Method and Description |
---|---|
String |
getAction()
Gets the action to take.
|
InformationExtractionDomainSpecification |
getDomainSpecification()
Gets The InformationExtractionDomainSpecification for which this object is defined.
|
String |
getPattern()
Gets the TokensRegex pattern.
|
String |
getResult()
Gets the rule result.
|
String |
getRuleType()
Gets the rule type (text, tokens, composite or filter).
|
String |
getUuid()
Gets the value of the UUID attribute.
|
boolean |
hasNameAttribute()
Returns true if this object is an instance of a class
that has a NAME attribute, and false otherwise.
|
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, hasPropertyBundleAttribute, invalidateState, invokeOperation, invokeOperation, invokeServerMethod, isConnected, isCoreEventPostingEnabled, isInstanceOf, isPersistent, isTraced, lockRows, lookupInstanceLabel, performPostCreateExtensions, performPostFreeExtensions, performPostUpdateExtensions, performPreCreateExtensions, performPreFreeExtensions, performPreUpdateExtensions, postCreate, postEvent, postEvent, postFree, postUpdate, preCreate, preFree, 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 UUID_ATTRIBUTE
public static final String DOMAINSPECIFICATION_ATTRIBUTE
public static final String NAME_ATTRIBUTE
public static final String RULETYPE_ATTRIBUTE
public static final String PATTERN_ATTRIBUTE
public static final String ACTION_ATTRIBUTE
public static final String RESULT_ATTRIBUTE
public static final String RULETYPE_TOKENS
public static final String RULETYPE_TEXT
public static final String RULETYPE_COMPOSITE
public static final String RULETYPE_FILTER
public static final String RULETYPE_ENTITYRULER
public static final String RULETYPE_TOKENMATCHER
public static final String RULETYPE_DEPENDENCYMATCHER
public InformationExtractionRegexRule(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 LibraryObject
IfsException
- if operation fails.public String getUuid() throws IfsException
IfsException
- if the operation failspublic InformationExtractionDomainSpecification getDomainSpecification() throws IfsException
IfsException
- if the operation failspublic String getRuleType() throws IfsException
IfsException
- if the operation failspublic String getPattern() throws IfsException
IfsException
- if the operation failspublic String getAction() throws IfsException
IfsException
- if the operation failspublic String getResult() throws IfsException
IfsException
- if the operation failsCopyright © 2023. All rights reserved.