Package com.jedox.palojlib.main
Class Attribute
java.lang.Object
com.jedox.palojlib.main.Attribute
- All Implemented Interfaces:
IAttribute
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Attribute
(Dimension dimension, int id, String name, IElement language, IElement.ElementType elementType) -
Method Summary
Modifier and TypeMethodDescriptionboolean
protected int
getId()
get the language of the attributegetName()
get the name of the attributegetType()
get the type of the attribute, same types as the elementIElement.ElementType
boolean
true, if language is not null and not default ~int
hashCode()
boolean
Checks if there exists a virtual dimension derived on this attributevoid
rename an AttributetoString()
-
Constructor Details
-
Attribute
protected Attribute(Dimension dimension, int id, String name, IElement language, IElement.ElementType elementType) throws PaloException, PaloJException - Throws:
PaloException
PaloJException
-
-
Method Details
-
getName
Description copied from interface:IAttribute
get the name of the attribute- Specified by:
getName
in interfaceIAttribute
- Returns:
- name
-
getLanguage
Description copied from interface:IAttribute
get the language of the attribute- Specified by:
getLanguage
in interfaceIAttribute
- Returns:
- type type of the attribute
-
toString
-
getType
Description copied from interface:IAttribute
get the type of the attribute, same types as the elementIElement.ElementType
- Specified by:
getType
in interfaceIAttribute
- Returns:
- type type of the attribute
-
rename
Description copied from interface:IAttribute
rename an Attribute- Specified by:
rename
in interfaceIAttribute
- Parameters:
name
- new name- Throws:
PaloException
- exception from OLAP serverPaloJException
- exception from the library itself
-
hasCustomLanguage
public boolean hasCustomLanguage()Description copied from interface:IAttribute
true, if language is not null and not default ~- Specified by:
hasCustomLanguage
in interfaceIAttribute
- Returns:
- true if a given language that is not ~ is used.
-
getId
protected int getId() -
hashCode
public int hashCode() -
equals
-
isVirtualDimension
public boolean isVirtualDimension()Description copied from interface:IAttribute
Checks if there exists a virtual dimension derived on this attribute- Specified by:
isVirtualDimension
in interfaceIAttribute
- Returns:
-