.setTuple( PersisterHelper.createTuple( activation.getTuple() ) )
.build();
_logicalDependency.setActivation( _activation );
if ( belief.getObject() != null ) {
ObjectMarshallingStrategy strategy = objectMarshallingStrategyStore.getStrategyObject( belief.getObject() );
Integer index = context.getStrategyIndex( strategy );
_logicalDependency.setObjectStrategyIndex( index.intValue() );
_logicalDependency.setObject( ByteString.copyFrom( strategy.marshal( context.strategyContext.get( strategy ),
context,
belief.getObject() ) ) );
}
if ( belief.getValue() != null ) {
ObjectMarshallingStrategy strategy = objectMarshallingStrategyStore.getStrategyObject( belief.getValue() );
Integer index = context.getStrategyIndex( strategy );
_logicalDependency.setValueStrategyIndex( index.intValue() );
_logicalDependency.setValue( ByteString.copyFrom( strategy.marshal( context.strategyContext.get( strategy ),
context,
belief.getValue() ) ) );
}
_beliefSet.addLogicalDependency( _logicalDependency.build() );
}