public final class SemanticMapperImpl extends java.lang.Object implements SemanticMapper
Title: Object Mediation Framework
Description: An implementation of semantic mapper which allows for an easy configurable mapping between SDO objects.
Copyright: Copyright (c) 2012
Company: StreamScape Technologies
Constructor and Description |
---|
SemanticMapperImpl(SemanticMapperContext context) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.lang.Object |
convert() |
java.lang.Object |
convert(java.lang.Object inbound) |
java.lang.Object |
convertWithRules(int[] ruleIds) |
java.lang.Object |
convertWithRules(java.lang.Object inbound,
int[] ruleIds) |
void |
destroy() |
SemanticMap |
getSemanticMap() |
void |
init() |
void |
resetSourceObjects() |
void |
setDataspaceContext(java.lang.String dataspaceContext) |
void |
setSemanticMap(SemanticMap semanticMap) |
void |
setSourceObject(java.lang.String alias,
java.lang.Object inbound) |
void |
validate() |
public SemanticMapperImpl(SemanticMapperContext context)
public void setSemanticMap(SemanticMap semanticMap)
public void setDataspaceContext(java.lang.String dataspaceContext)
public void init() throws SemanticMapperException
SemanticMapperException
public void validate()
public void resetSourceObjects()
resetSourceObjects
in interface SemanticMapper
public void setSourceObject(java.lang.String alias, java.lang.Object inbound) throws SemanticMapperException, ValidationException
setSourceObject
in interface SemanticMapper
SemanticMapperException
ValidationException
public java.lang.Object convert() throws SemanticMapperException, ValidationException
convert
in interface SemanticMapper
SemanticMapperException
ValidationException
public java.lang.Object convert(java.lang.Object inbound) throws SemanticMapperException, ValidationException
convert
in interface SemanticMapper
SemanticMapperException
ValidationException
public java.lang.Object convertWithRules(java.lang.Object inbound, int[] ruleIds) throws SemanticMapperException, ValidationException
convertWithRules
in interface SemanticMapper
SemanticMapperException
ValidationException
public java.lang.Object convertWithRules(int[] ruleIds) throws SemanticMapperException, ValidationException
convertWithRules
in interface SemanticMapper
SemanticMapperException
ValidationException
public void destroy()
public void close()
close
in interface com.streamscape.ds.types.CloseableWrapper
public SemanticMap getSemanticMap()
getSemanticMap
in interface SemanticMapper
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.