|
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 | +--oracle.AWXML.Attribute
Specifies the basic characteristics of an attribute. An attribute represents a quality of a dimension member.
Attributes are generally used to help restrict the current set of active dimension members. Attribute values can be specified as a native datatype or given a domain of a dimension. When a dimension is the domain, the analytic workspace enforces the domain relationship, requiring all attribute values to be members of the associated dimension.
An attribute is defined on a dimension only, if the attribute is to be used at a lower level in the model, it is projected there using an AttributeProjection.
Attributes can have a classification. The valid list of classifications are:
DEFAULT_ORDER END_DATE TIME_SPAN MEMBER_LONG_DESCRIPTION MEMBER_SHORT_DESCRIPTION MEMBER_VISIBLE USER
Fields inherited from class oracle.AWXML.BaseObject |
AWNULL, DATABASENULL, m_commandResults, m_commandResultText, m_id, m_listResults, m_longName, m_name, m_owner, m_pluralName, m_schema, m_shortName, s_EndElementTag, s_EndEndTag, s_EndStartTag, s_EndTag, s_Indent, s_JAVA_LINEEND, s_NEWLINE, s_objectCounter, s_StartEndTag, s_StartStartTag |
Constructor Summary | |
Attribute(BaseObject input) This constructor is used by the Dimension Factory and can be used to create an instance of Attribute owned by the given Dimension. |
Method Summary | |
java.lang.String |
Create(AWConnection connection) Create this Attribute in the current analytic workspace. |
java.lang.String |
Delete(AWConnection connection) Remove this attribute from the current analytic workspace. |
java.lang.String |
getClassification() Return the assigned classification |
java.lang.String |
getDataType() Returns the datatype assigned to the attribute. |
Dimension |
getDimensionDomain() Return the Dimension referenced as the domain. |
void |
setClassification(java.lang.String input) A classification system for Attributes is supplied to give some pre-determined meaning for specific attributes. |
void |
setDataType(java.lang.String input) The datatype to use in the creation of the attribute. |
void |
setDimensionDomain(Dimension input) Set the domain of an attribute to be a dimension. |
java.lang.String |
WriteToXML() Returns the attribute instance as an XML String. |
Methods inherited from class oracle.AWXML.BaseObject |
Alter, CreateAfter, CreateBefore, CreateFirst, getId, getLongName, getName, getOwner, getParentId, getPluralName, getSchema, getShortName, setLongName, setName, setPluralName, setSchema, setShortName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Attribute(BaseObject input)
input
- A BaseObject
which represents the owner of this object. An Attribute can currently be owned by only a DimensionMethod Detail |
public void setDimensionDomain(Dimension input)
input
- The Dimension
to use as the domain of this attribute.public Dimension getDimensionDomain()
Dimension
referenced as the domain.Dimension
representing the domain.public void setClassification(java.lang.String input)
DEFAULT_ORDER END_DATE TIME_SPAN MEMBER_LONG_DESCRIPTION MEMBER_SHORT_DESCRIPTION MEMBER_VISIBLE USER
A classification of USER
should be used to identify that an attribute is used by a foreign tool or application for its own purpose.
input
- A String
specifying the classification for the attributepublic java.lang.String getClassification()
String
that represents the classificationpublic void setDataType(java.lang.String input)
TEXT INTEGER DECIMAL
input
- A String
containing the datatype of the attribute.public java.lang.String getDataType()
String
which represents the assigned datatype.public java.lang.String WriteToXML()
String
which represents the object instance as XML.public java.lang.String Create(AWConnection connection)
connection
- An AWConnection
through which the command will be processed.String
indicating if the call was successful. A successful invocation returns the value 'success'.public java.lang.String Delete(AWConnection connection)
connection
- An AWConnection
through which the command will be processedString
indicating if the call was successful. A successful invocation returns the value 'success'.
|
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 |