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.
| 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.property.PropertyOwner |
getDefaultPropertyValue, getLogicalPropertyKeys, getPhysicalPropertyKeys, getPropertyDomain, getPropertyKeys, getPropertyValue, getPropertyValueString, isLogicalProperty, isPhysicalProperty, isReadOnlyProperty, setPropertyValue, setPropertyValueByString |
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.