org.pentaho.reporting.engine.classic.core.metadata
Class AbstractMetaData

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.metadata.AbstractMetaData
All Implemented Interfaces:
Serializable, MetaData
Direct Known Subclasses:
DefaultAttributeMetaData, DefaultDataFactoryMetaData, DefaultElementMetaData, DefaultExpressionMetaData, DefaultExpressionPropertyMetaData, DefaultReportPreProcessorMetaData, DefaultReportPreProcessorPropertyMetaData, DefaultStyleKeyMetaData

public class AbstractMetaData
extends Object
implements Serializable, MetaData

See Also:
Serialized Form

Constructor Summary
AbstractMetaData(String name, String bundleLocation, String keyPrefix, boolean expert, boolean preferred, boolean hidden, boolean deprecated)
           
AbstractMetaData(String name, String bundleLocation, String keyPrefix, boolean expert, boolean preferred, boolean hidden, boolean deprecated, boolean experimental, int compatibilityLevel)
           
 
Method Summary
 org.pentaho.reporting.libraries.base.util.Messages getBundle(Locale locale)
           
 String getBundleLocation()
           
 int getCompatibilityLevel()
           
 String getDeprecationMessage(Locale locale)
           
 String getDescription(Locale locale)
           
 String getDisplayName(Locale locale)
           
 String getGrouping(Locale locale)
           
 int getGroupingOrdinal(Locale locale)
           
 Image getIcon(Locale locale, int iconKind)
           
 int getItemOrdinal(Locale locale)
           
 String getKeyPrefix()
           
 String getMetaAttribute(String attributeName, Locale locale)
           
 String getName()
           
 boolean isDeprecated()
           
 boolean isExperimental()
           
 boolean isExpert()
           
 boolean isHidden()
           
 boolean isPreferred()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractMetaData

public AbstractMetaData(String name,
                        String bundleLocation,
                        String keyPrefix,
                        boolean expert,
                        boolean preferred,
                        boolean hidden,
                        boolean deprecated)

AbstractMetaData

public AbstractMetaData(String name,
                        String bundleLocation,
                        String keyPrefix,
                        boolean expert,
                        boolean preferred,
                        boolean hidden,
                        boolean deprecated,
                        boolean experimental,
                        int compatibilityLevel)
Method Detail

getCompatibilityLevel

public int getCompatibilityLevel()
Specified by:
getCompatibilityLevel in interface MetaData

isExperimental

public boolean isExperimental()
Specified by:
isExperimental in interface MetaData

isDeprecated

public boolean isDeprecated()
Specified by:
isDeprecated in interface MetaData

getName

public String getName()
Specified by:
getName in interface MetaData

getBundle

public org.pentaho.reporting.libraries.base.util.Messages getBundle(Locale locale)

getMetaAttribute

public String getMetaAttribute(String attributeName,
                               Locale locale)
Specified by:
getMetaAttribute in interface MetaData

getDisplayName

public String getDisplayName(Locale locale)
Specified by:
getDisplayName in interface MetaData

getDescription

public String getDescription(Locale locale)
Specified by:
getDescription in interface MetaData

getGrouping

public String getGrouping(Locale locale)
Specified by:
getGrouping in interface MetaData

getGroupingOrdinal

public int getGroupingOrdinal(Locale locale)
Specified by:
getGroupingOrdinal in interface MetaData

getItemOrdinal

public int getItemOrdinal(Locale locale)
Specified by:
getItemOrdinal in interface MetaData

getDeprecationMessage

public String getDeprecationMessage(Locale locale)
Specified by:
getDeprecationMessage in interface MetaData

isExpert

public boolean isExpert()
Specified by:
isExpert in interface MetaData

isPreferred

public boolean isPreferred()
Specified by:
isPreferred in interface MetaData

isHidden

public boolean isHidden()
Specified by:
isHidden in interface MetaData

getKeyPrefix

public String getKeyPrefix()

getBundleLocation

public String getBundleLocation()

getIcon

public Image getIcon(Locale locale,
                     int iconKind)