Package com._1c.g5.v8.dt.search.core
Class BmObjectMatch
java.lang.Object
com._1c.g5.v8.dt.search.core.Match
com._1c.g5.v8.dt.search.core.BmObjectMatch
- All Implemented Interfaces:
IMatchParentProvider
- Direct Known Subclasses:
BmRelatedObjectMatch
Minimal representation of finded BM object
-
Nested Class Summary
Nested classes/interfaces inherited from interface com._1c.g5.v8.dt.search.core.provider.IMatchParentProvider
IMatchParentProvider.Factory, IMatchParentProvider.Registry -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionBmObjectMatch(IBmModel model, long objectId) Create instance of BM based object match -
Method Summary
Methods inherited from class com._1c.g5.v8.dt.search.core.Match
getMetadataTopObjectId, getModel, isFiltered, resolveObjectById, setFiltered
-
Constructor Details
-
BmObjectMatch
Create instance of BM based object match- Parameters:
model- the BM model contain matched object, cannot benullobjectId- the match object ID
-
-
Method Details
-
getObjectId
public long getObjectId()Get the object ID- Returns:
- the matched object ID
-
getElement
Description copied from class:MatchReturns the element that contains this match. The element is used to group the match.- Specified by:
getElementin classMatch- Returns:
- the element that contains this match, cannot be
null
-
resolve
Resolve match object- Returns:
- return the object with the specified ID or
nullif it does not exist. - Throws:
IllegalStateException- if engine of BM model is disposed or not in 'running' state
-
hashCode
public int hashCode() -
equals
-