|
Oracle OLAP Analytic Workspace Java API Reference 10g Release 1 (10.1) B12180-01 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.AWXML.BaseObject
Specifies the basic characteristics of an object model. The model can specify a cube, a cube component, a dimension, or a dimension component. The model can also specify a solve definition, which is a set of rules for performing aggregation, allocation, or forecasting.
Each instance of the BaseObject
class has a unique identifier. Most instances also have a parent identifier that associates it with the BaseObject
instance that owns it. All objects except cubes, dimensions, and solve definitions have owners.
The BaseObject
class provides methods for identifying an object as a whole. There are methods for setting the object's name and schema, and for providing long, short, and plural versions of the name. There are methods for determing the parent object, if one exists. For example, the parent of a level object is a dimension object.
The BaseObject
class also provides methods for writing the object specification to XML.
Use the following link to view a graphical representation of oracle.AWXML.BaseObject
.
OLAP Analytic Workspace Logical Object Model
Field Summary | |
protected static java.lang.String |
AWNULL |
static java.lang.String |
DATABASENULL |
protected java.lang.String |
m_commandResults |
protected java.lang.String |
m_commandResultText |
protected java.lang.String |
m_id |
protected java.lang.String[] |
m_listResults |
protected java.lang.String |
m_longName |
protected java.lang.String |
m_name |
protected BaseObject |
m_owner |
protected java.lang.String |
m_pluralName |
protected java.lang.String |
m_schema |
protected java.lang.String |
m_shortName |
protected static java.lang.String |
s_EndElementTag |
protected static java.lang.String |
s_EndEndTag |
protected static java.lang.String |
s_EndStartTag |
protected static java.lang.String |
s_EndTag |
protected static int |
s_Indent |
protected static java.lang.String |
s_JAVA_LINEEND |
protected static java.lang.String |
s_NEWLINE |
protected static int |
s_objectCounter |
protected static java.lang.String |
s_StartEndTag |
protected static java.lang.String |
s_StartStartTag |
Constructor Summary | |
BaseObject(BaseObject input) Provides the basic characteristics of an object. |
Method Summary | |
java.lang.String |
Alter(AWConnection connection) Alters the current object in the analytic workspace. |
java.lang.String |
Create(AWConnection connection) Creates the current object in the analytic workspace. |
java.lang.String |
CreateAfter(AWConnection connection, BaseObject referencedObj) Creates the current object in the analytic workspace as part of an ordered set of objects after the specified object. |
java.lang.String |
CreateBefore(AWConnection connection, BaseObject referencedObj) Creates the current object in the analytic workspace as part of an ordered set of objects before the specified object. |
java.lang.String |
CreateFirst(AWConnection connection) Creates the current object in the analytic workspace first as part of an ordered set of objects. |
java.lang.String |
Delete(AWConnection connection) Deletes the current object from the analytic workspace. |
java.lang.String |
getId() Returns the full name of the current object. |
java.lang.String |
getLongName() Returns the long name of the current object. |
java.lang.String |
getName() Returns the logical name of the current object. |
BaseObject |
getOwner() Returns the owner of the current object. |
java.lang.String |
getParentId() Returns the identifier of the parent of the current object. |
java.lang.String |
getPluralName() Returns the plural name of the current object. |
java.lang.String |
getSchema() Returns the schema of the current object or null. |
java.lang.String |
getShortName() Returns the short name of the current object. |
void |
setLongName(java.lang.String input) Sets the long name of the current object. |
void |
setName(java.lang.String input) Sets the logical name of the current object and is used to create its unique identifier. |
void |
setPluralName(java.lang.String input) Sets the plural name of the current object. |
void |
setSchema(java.lang.String input) Sets the schema of the current object. |
void |
setShortName(java.lang.String input) Sets the short name of the current object. |
java.lang.String |
WriteToXML() Returns the object as an XML string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String m_name
protected java.lang.String m_longName
protected java.lang.String m_shortName
protected java.lang.String m_pluralName
protected java.lang.String m_id
protected BaseObject m_owner
protected java.lang.String m_schema
protected static java.lang.String AWNULL
protected static java.lang.String s_EndElementTag
protected static java.lang.String s_StartStartTag
protected static java.lang.String s_StartEndTag
protected static java.lang.String s_EndStartTag
protected static java.lang.String s_EndEndTag
protected static java.lang.String s_EndTag
protected static java.lang.String s_JAVA_LINEEND
protected static java.lang.String s_NEWLINE
protected static int s_Indent
protected static int s_objectCounter
protected java.lang.String[] m_listResults
protected java.lang.String m_commandResults
protected java.lang.String m_commandResultText
public static java.lang.String DATABASENULL
Constructor Detail |
public BaseObject(BaseObject input)
input
- A BaseObject
Method Detail |
public void setSchema(java.lang.String input)
input
- A String
containing the name of the schema.public java.lang.String getSchema()
String
containing the schema of the object.public void setName(java.lang.String input)
PRODUCT
.
For more information on standard form naming conventions, see the Oracle OLAP Application Developer's Guide.
input
- A String
containing the logical name of the object.public java.lang.String getName()
String
containing the logical name of the object.public void setShortName(java.lang.String input)
input
- A String
containing the short name of the object.public java.lang.String getLongName()
String
containing the long name of the object.public void setLongName(java.lang.String input)
input
- A String
containing the long name of the object.public java.lang.String getShortName()
String
containing the short name of the object.public void setPluralName(java.lang.String input)
input
- A String
containing the plural name of the object.public java.lang.String getPluralName()
String
containing the plural name of the object.public java.lang.String getId()
The following is an example of a full name for an attribute whose simple name is TIME_SPAN and whose parent object is a dimension called TIME.
GLOBAL_AW.TIME.TIME_SPAN.ATTRIBUTE
For more information on standard form naming conventions, see the Oracle OLAP Application Developer's Guide.
Returns:
A
String containing the full name of the object.public java.lang.String getParentId()
String
containing the ID of the parent object or the ID of the current object if it has no parent.public java.lang.String WriteToXML()
String
containing the XML that represents the object.public BaseObject getOwner()
BaseObject
that owns the current object.public java.lang.String Create(AWConnection connection)
connection
- A AWConnection
that represents the current OLAP sessionString
public java.lang.String CreateFirst(AWConnection connection)
connection
- A AWConnection
that represents the current OLAP sessionString
public java.lang.String CreateAfter(AWConnection connection, BaseObject referencedObj)
connection
- A AWConnection
that represents the current OLAP sessionreferencedObj
- A BaseObject
that represents where in the ordered collection to insert the new object.String
public java.lang.String CreateBefore(AWConnection connection, BaseObject referencedObj)
connection
- A AWConnection
that represents the current OLAP sessionreferencedObj
- A BaseObject
that represents where in the ordered collection to insert the new object.String
public java.lang.String Delete(AWConnection connection)
connection
- A AWConnection
that represents the current OLAP sessionString
public java.lang.String Alter(AWConnection connection)
connection
- A AWConnection
that represents the current OLAP sessionString
|
Oracle OLAP Analytic Workspace Java API Reference 10g Release 1 (10.1) B12180-01 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |