|
Oracle® OLAP Analytic Workspace Java API Reference 10g Release 2 (10.2) B14351-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.AWXML.BaseObject | +--oracle.AWXML.ExternalSourceExpression | +--oracle.AWXML.AttributeSourceExpression
Specifies the mapping of an Attribute
to a column in a relational database. An AttributeSourceExpression
is an attribute mapping for a DimensionMapGroup
.
Fields inherited from class oracle.AWXML.BaseObject |
DATABASENULL |
Constructor Summary | |
AttributeSourceExpression(BaseObject input) Creates an AttributeSourceExpression that is owned by the specified BaseObject , which can be an Attribute or an AttributeProjection . |
|
AttributeSourceExpression(BaseObject input, java.lang.String lang) Creates an AttributeSourceExpression that is owned by the specified BaseObject and that is mapped to column values in the specified language. |
Method Summary | |
java.lang.String |
Alter(AWConnection connection) Alters an AttributeSourceExpression in the current analytic workspace. |
java.lang.String |
Create(AWConnection connection) Creates an AttributeSourceExpression in the current analytic workspace. |
java.lang.String |
Delete(AWConnection connection) Removes an AttributeSourceExpression from the current analytic workspace. |
Hierarchy |
getHierarchy() Gets the Hierarchy with which the AttributeProjection is associated. |
java.lang.String |
getLanguage() Gets the language of the column values to which the AttributeSourceExpression is mapped. |
Level |
getLevel() Gets the Level with which an AttributeProjection is associated. |
void |
setLanguage(java.lang.String input) Specifies the language of the column values to which the AttributeSourceExpression is mapped. |
void |
setTargetObject(BaseObject input) Specifies an Attribute or AttributeProjection as the target for a source column. |
java.lang.String |
WriteToXML() Gets an XML representation of the AttributeSourceExpression . |
Methods inherited from class oracle.AWXML.ExternalSourceExpression |
addSourceColumn, CreateSourceColumn, getSourceColumns, getTargetObject, removeSourceColumn |
Methods inherited from class oracle.AWXML.BaseObject |
CreateAfter, CreateBefore, CreateFirst, DataRead, getColumnName, getId, getLongName, getLongName, getName, getOwner, getPluralName, getPluralName, getSchema, getShortName, getShortName, setColumnName, setLongName, setLongName, setName, setPluralName, setPluralName, setSchema, setShortName, setShortName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AttributeSourceExpression(BaseObject input)
AttributeSourceExpression
that is owned by the specified BaseObject
, which can be an Attribute
or an AttributeProjection
.input
- The BaseObject
that is the owner of the AttributeSourceExpression
.public AttributeSourceExpression(BaseObject input, java.lang.String lang)
AttributeSourceExpression
that is owned by the specified BaseObject
and that is mapped to column values in the specified language. The owner of the AttributeSourceExpression
can be an Attribute
or an AttributeProjection
.input
- The BaseObject
that is the owner of the AttributeSourceExpression
.lang
- A String
that identifies the language for the AttributeSourceExpression
.Method Detail |
public void setTargetObject(BaseObject input)
Attribute
or AttributeProjection
as the target for a source column.input
- The Attribute
or AttributeProjection
that you want to be the target for a source column.public Level getLevel()
Level
with which an AttributeProjection
is associated. If the AttributeProjection
is associated with a Hierarchy
or if the AttributeSourceExpression
is associated with an Attribute
for a Dimension
, then this method returns null
.Level
with which the AttributeProjection
is associated or null
if the AttributeProjection
is not associated with a Level
.public Hierarchy getHierarchy()
Hierarchy
with which the AttributeProjection
is associated. If the AttributeProjection
is associated with a Level
or if the AttributeSourceExpression
is associated with an Attribute
for a Dimension
, then this method returns null
.Hierarchy
with which the AttributeProjection
is associated or null
if the AttributeProjection
is not associated with a Hierarchy
.public java.lang.String WriteToXML()
AttributeSourceExpression
.String
that is an XML representation of the AttributeSourceExpression
.public java.lang.String Alter(AWConnection connection)
AttributeSourceExpression
in the current analytic workspace.connection
- The AWConnection
that specifies the database connection.String
that contains success
.public java.lang.String Create(AWConnection connection)
AttributeSourceExpression
in the current analytic workspace.connection
- The AWConnection
that specifies the database connection.String
that contains success
.public java.lang.String Delete(AWConnection connection)
AttributeSourceExpression
from the current analytic workspace.connection
- The AWConnection
that specifies the database connection.String
that contains success
.public java.lang.String getLanguage()
AttributeSourceExpression
is mapped.String
containing the language of the column values to which the AttributeSourceExpression
is mapped.public void setLanguage(java.lang.String input)
AttributeSourceExpression
is mapped.input
- A String
identifying the language of the values to which the AttributeSourceExpression
is mapped.
|
Oracle® OLAP Analytic Workspace Java API Reference 10g Release 2 (10.2) B14351-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |