Package com.jedox.palojlib.main
Class Attribute
java.lang.Object
com.jedox.palojlib.main.Attribute
- All Implemented Interfaces:
IAttribute
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAttribute(Dimension dimension, int id, String name, IElement language, IElement.ElementType elementType) -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected intgetId()get the language of the attributegetName()get the name of the attributegetType()get the type of the attribute, same types as the elementIElement.ElementTypebooleantrue, if language is not null and not default ~inthashCode()booleanChecks if there exists a virtual dimension derived on this attributevoidrename an AttributetoString()
-
Constructor Details
-
Attribute
protected Attribute(Dimension dimension, int id, String name, IElement language, IElement.ElementType elementType) throws PaloException, PaloJException - Throws:
PaloExceptionPaloJException
-
-
Method Details
-
getName
Description copied from interface:IAttributeget the name of the attribute- Specified by:
getNamein interfaceIAttribute- Returns:
- name
-
getLanguage
Description copied from interface:IAttributeget the language of the attribute- Specified by:
getLanguagein interfaceIAttribute- Returns:
- type type of the attribute
-
toString
-
getType
Description copied from interface:IAttributeget the type of the attribute, same types as the elementIElement.ElementType- Specified by:
getTypein interfaceIAttribute- Returns:
- type type of the attribute
-
rename
Description copied from interface:IAttributerename an Attribute- Specified by:
renamein interfaceIAttribute- Parameters:
name- new name- Throws:
PaloException- exception from OLAP serverPaloJException- exception from the library itself
-
hasCustomLanguage
public boolean hasCustomLanguage()Description copied from interface:IAttributetrue, if language is not null and not default ~- Specified by:
hasCustomLanguagein 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:IAttributeChecks if there exists a virtual dimension derived on this attribute- Specified by:
isVirtualDimensionin interfaceIAttribute- Returns:
-