Oracle Warehouse Builder Java API Reference
10g Release 1 (10.1)

B12155-01

oracle.owb.mapping
Interface MapAttribute

All Superinterfaces:
Attribute, Datatyped, Extensible, Mappable, OWBNamedObject, PropertyOwner

public interface MapAttribute
extends Attribute, Mappable, Extensible, PropertyOwner

MapAttribute is the interface that describes an attribute group of an operator. The attribute group has a name and a direction (input, output, or input_output) and contains the MapAttribute objects.


Field Summary

 

Fields inherited from interface oracle.owb.mapping.Mappable
DIRECTION_ALL, DIRECTION_INPUT, DIRECTION_INPUT_OUTPUT, DIRECTION_OUTPUT, MAPPABLE_TYPE_ATTRIBUTE, MAPPABLE_TYPE_ATTRIBUTE_GROUP, MAPPABLE_TYPE_OPERATOR, MAPPABLE_TYPE_UNKNOWN

 

Method Summary
 MapAttributeGroup getAttributeGroup()
          Return the operator that owns this group.
 OWBNamedObject getBoundObject()
          Get the repository object to which this attribute is bound.
 java.lang.String getDatatypeName()
          Convenience method to get the datatype name for this attribute.
 int getDirection()
          Get the direction of this attribute.
 void setDatatype(java.lang.String datatype)
          Convenience method to set the datatype with a String value.

 

Methods inherited from interface oracle.owb.foundation.OWBNamedObject
delete, getBusinessName, getClassDefinition, getComponent, getDescription, getName, getUOID, isDeletable, isEditable, isRenamable, setBusinessName, setDescription, setName

 

Methods inherited from interface oracle.owb.foundation.type.Datatyped
getDatatype, getLength, getPrecision, getScale, isPrecisionOmitted, setDatatype, setLength, setPrecision, setPrecisionOmitted, setScale

 

Methods inherited from interface oracle.owb.mapping.Mappable
canConnectTo, connectTo, disconnectFrom, getConnectedMappables, getMappableType, getParentMap, getParentMappable, removeConnections

 

Methods inherited from interface oracle.owb.foundation.property.PropertyOwner
getDefaultPropertyValue, getLogicalPropertyKeys, getPhysicalPropertyKeys, getPropertyDomain, getPropertyKeys, getPropertyValue, getPropertyValueString, isLogicalProperty, isPhysicalProperty, isReadOnlyProperty, setPropertyValue, setPropertyValueByString

 

Method Detail

getAttributeGroup

public MapAttributeGroup getAttributeGroup()
Return the operator that owns this group.
Returns:
The operator that owns this group.

getBoundObject

public OWBNamedObject getBoundObject()
                              throws OWBException
Get the repository object to which this attribute is bound.
Returns:
The bound repository object, or null if this attribute is not bound.
Throws:
OWBException - if any internal error is encountered.

getDirection

public int getDirection()
                 throws OWBException
Get the direction of this attribute.
Returns:
The direction of the attribute. The choices are:
  • Mappable.DIRECTION_INPUT
  • ,
  • Mappable.DIRECTION_OUTPUT
  • Mappable.DIRECTION_INPUT_OUTPUT
  • Mappable.DIRECTION_ALL
.
Throws:
OWBException - if any internal error is encountered.

getDatatypeName

public java.lang.String getDatatypeName()
                                 throws OWBException
Convenience method to get the datatype name for this attribute.
Returns:
The datatype name of the attribute.
Throws:
OWBException - if any internal error is encountered.

setDatatype

public void setDatatype(java.lang.String datatype)
                 throws OWBException
Convenience method to set the datatype with a String value. The conversion to Datatype is done internally.
Parameters:
datatype - The data type string. This should be one of the data type string constants found in the MapDatatypeSet class.
Throws:
OWBException - if any internal error is encountered.

Oracle Warehouse Builder Java API Reference
10g Release 1 (10.1)

B12155-01

Copyright © 2003, Oracle. All Rights Reserved.