com.tonbeller.jpivot.xmla
Class XMLA_OlapItem
java.lang.Object
com.tonbeller.jpivot.xmla.XMLA_OlapItem
- All Implemented Interfaces:
- OlapItem
public class XMLA_OlapItem
- extends java.lang.Object
- implements OlapItem
XMLA Olap Item
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLA_OlapItem
public XMLA_OlapItem(int type)
- c'tor
- Parameters:
type
-
getType
public int getType()
- Specified by:
getType
in interface OlapItem
- Returns:
- type of item
getLabel
public java.lang.String getLabel()
- Label is the string to be externally displayed
- Specified by:
getLabel
in interface OlapItem
- Returns:
- label
getUniqueName
public java.lang.String getUniqueName()
- Specified by:
getUniqueName
in interface OlapItem
- Returns:
- the unique name
getCaption
public java.lang.String getCaption()
- Specified by:
getCaption
in interface OlapItem
- Returns:
- caption (can be null)
getName
public java.lang.String getName()
- Specified by:
getName
in interface OlapItem
- Returns:
- name
getProperty
public java.lang.String getProperty(java.lang.String propName)
- Specified by:
getProperty
in interface OlapItem
- Parameters:
propName
- name of the property to be retrieved
- Returns:
getProperties
public java.util.Map getProperties()
- any OlapItem contains a map of properties,
key and value of type String
- Specified by:
getProperties
in interface OlapItem
- Returns:
- properties property map
setName
public void setName(java.lang.String name)
- Parameters:
name
-
setCaption
public void setCaption(java.lang.String caption)
- Parameters:
caption
-
setProperty
public void setProperty(java.lang.String propName,
java.lang.String value)
- Parameters:
propName
- property namevalue
- property value
setUniqueName
public void setUniqueName(java.lang.String string)
- Parameters:
string
-