|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--oracle.owb.mapping.MapUtility
MapUtiltity is a static class which provides
static utility methods to help with mapping.
| Constructor Summary | |
MapUtility()
|
|
| Method Summary | |
static MapAttributeGroup |
addToJoin(MapOperator joiner,
MapAttributeGroup sourceGrp)
Convenience method to add an input group to an existing join operator, and connect a source output group to the new input group. |
static MapAttributeGroup |
addToJoin(MapOperator joiner,
MapOperator source)
Convenience method to add an input group to an existing join operator, and connect a source operator to the new input group. |
static void |
connectOperators(MapOperator fromOperator,
MapOperator toOperator)
Convenience method to connect a source operator to a target operator. |
static MapOperator |
createJoin(java.lang.String joinName,
MapAttributeGroup sourceGrp1,
MapAttributeGroup sourceGrp2)
Convenience method to create a join operator with 2 input groups, and connect 2 source groups to the 2 input groups. |
static MapOperator |
createJoin(java.lang.String joinName,
MapOperator source1,
MapOperator source2)
Convenience method to create a join operator with 2 input groups, and connect 2 source operators to the 2 input groups. |
static java.lang.String |
getFullAttributeName(MapAttribute attribute)
Convenience method to gets the fully qualified name of an attribute, in the form+ "groupName.attributeName". |
static MapAttribute |
getJoinerOutput(MapOperator joiner,
MapAttribute input)
Returns the joiner output corresponding to a specified input. |
static java.lang.String[] |
getOperatorTypes()
Returns an array of all the defined operator type constants. |
static boolean |
isBindableOperatorType(java.lang.String operatorType)
Determines if a given mapping operator type is bound or unbound. |
static ExpressionValidationInfo |
validateExpression(PropertyOwner owner,
java.lang.String key,
java.lang.String expressionText)
Validates an expression property, given the property key, and the proposed expression string. |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public MapUtility()
| Method Detail |
public static boolean isBindableOperatorType(java.lang.String operatorType)
operatorType - The operator type. Should be one of the
string OPTYPE constants found in the MapGen interface.public static java.lang.String[] getOperatorTypes()
public static void connectOperators(MapOperator fromOperator,
MapOperator toOperator)
throws MapConnectionFailureException,
OWBException
fromOperator - The source operator of the connection.toOperator - The target operator of the connection.MapConnectionFailureException - if the connection cannot be
established.OWBException - if any internal error is encountered.
public static MapOperator createJoin(java.lang.String joinName,
MapOperator source1,
MapOperator source2)
throws MapConnectionFailureException,
InvalidFormatException,
NameSpaceException,
OWBException
joinName - The name of the new joiner operatorsource1 - The 1st source operatorsource2 - The 2nd source operatorMapConnectionFailureException - if the connection cannot be
established.InvalidFormatException - if the join operator name is invalid.NameSpaceException - if an operator with the same name already
exits.OWBException - if any internal error is encountered.
public static MapOperator createJoin(java.lang.String joinName,
MapAttributeGroup sourceGrp1,
MapAttributeGroup sourceGrp2)
throws MapConnectionFailureException,
InvalidFormatException,
NameSpaceException,
OWBException
joinName - The name of the new joiner operatorsourceGrp1 - The 1st source attribute groupsourceGrp2 - The 2nd source attribute groupMapConnectionFailureException - if the connection cannot be
established.InvalidFormatException - if the join operator name is invalid.NameSpaceException - if an operator with the same name already
exits.OWBException - if any internal error is encountered.
public static MapAttributeGroup addToJoin(MapOperator joiner,
MapOperator source)
throws MapConnectionFailureException,
OWBException
joiner - The existing join operator.source - The new participant in the join.MapConnectionFailureException - if the connection cannot be
established.OWBException - if any internal error is encountered.
public static MapAttributeGroup addToJoin(MapOperator joiner,
MapAttributeGroup sourceGrp)
throws MapConnectionFailureException,
OWBException
joiner - The existing join operator.sourceGrp - The new participant in the join.MapConnectionFailureException - if the connection cannot be
established.OWBException - if any internal error is encountered.
public static MapAttribute getJoinerOutput(MapOperator joiner,
MapAttribute input)
joiner - The joiner operatorinput - The input attribute for which to find the outputpublic static java.lang.String getFullAttributeName(MapAttribute attribute)
attribute - The attribute for which to get a fully qualified name
public static ExpressionValidationInfo validateExpression(PropertyOwner owner,
java.lang.String key,
java.lang.String expressionText)
throws OWBException
owner - The MapOperator that owns the expression propertykey - The property keyexpressionText - The proposed expression stringExpressionValidationInfo instance
that contains information about the validation, or null
if no validation was possible.OWBException - if any internal error is encountered.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||