com.groiss.reporting.data
Class Attribute

java.lang.Object
  extended by com.groiss.reporting.data.Attribute

public class Attribute
extends Object

Describes Attributes selectable as display attribute or condition in reporting


Field Summary
static String[] ALL_AGGR
           
static int AVG
           
static int COUNT
           
static String[] DATE_FORMATS
           
static int MAX
           
static int MIN
           
static int SQL
           
static int SUM
           
 
Constructor Summary
Attribute(String select)
           
Attribute(String id, String name, Class<?> c, com.groiss.reporting.data.impl.Select[] select, String[] aggrs, String mapId, Resource res)
           
Attribute(String id, String name, Class<?> c, com.groiss.reporting.data.impl.Select[] select, String aggrs, String mapId, Resource res)
           
Attribute(String id, String name, Class<?> c, String[] selectStr, String aggrs, String mapId, Resource res)
           
 
Method Summary
 String[] getAllowedAggrs()
           
 Element getAsDomElement()
           
 String getId()
           
 String getLocalizedName()
           
 String getMapId()
           
 String getName()
           
 Resource getResource()
           
 int getSelectLength()
           
 com.groiss.reporting.data.impl.Select[] getSelects()
           
static String[] getStandardAllowedAggrs(Class<?> c)
           
 Class<?> getType()
           
 String getTypeString()
           
static Class<?> mapPrimitiveTypes(Class<?> c)
           
 void setAllowedAggrs(String[] allowed_aggrs)
           
 void setMapId(String mapId)
           
 void setName(String name)
           
 void setSelects(com.groiss.reporting.data.impl.Select[] selects)
           
 void setType(Class<?> c)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MAX

public static final int MAX
See Also:
Constant Field Values

MIN

public static final int MIN
See Also:
Constant Field Values

COUNT

public static final int COUNT
See Also:
Constant Field Values

AVG

public static final int AVG
See Also:
Constant Field Values

SUM

public static final int SUM
See Also:
Constant Field Values

SQL

public static final int SQL
See Also:
Constant Field Values

ALL_AGGR

public static String[] ALL_AGGR

DATE_FORMATS

public static String[] DATE_FORMATS
Constructor Detail

Attribute

public Attribute(String select)

Attribute

public Attribute(String id,
                 String name,
                 Class<?> c,
                 String[] selectStr,
                 String aggrs,
                 String mapId,
                 Resource res)

Attribute

public Attribute(String id,
                 String name,
                 Class<?> c,
                 com.groiss.reporting.data.impl.Select[] select,
                 String aggrs,
                 String mapId,
                 Resource res)

Attribute

public Attribute(String id,
                 String name,
                 Class<?> c,
                 com.groiss.reporting.data.impl.Select[] select,
                 String[] aggrs,
                 String mapId,
                 Resource res)
Method Detail

setName

public void setName(String name)
Parameters:
name - the name to set

setSelects

public void setSelects(com.groiss.reporting.data.impl.Select[] selects)
Parameters:
selects - the selects to set

setAllowedAggrs

public void setAllowedAggrs(String[] allowed_aggrs)
Parameters:
allowed_aggrs - the allowed_aggrs to set

setMapId

public void setMapId(String mapId)
Parameters:
mapId - the mapId to set

getId

public String getId()

getName

public String getName()

getLocalizedName

public String getLocalizedName()

getMapId

public String getMapId()

getType

public Class<?> getType()

getTypeString

public String getTypeString()

getSelects

public com.groiss.reporting.data.impl.Select[] getSelects()

setType

public void setType(Class<?> c)

getStandardAllowedAggrs

public static String[] getStandardAllowedAggrs(Class<?> c)

getAllowedAggrs

public String[] getAllowedAggrs()

getSelectLength

public int getSelectLength()

toString

public String toString()
Overrides:
toString in class Object

getAsDomElement

public Element getAsDomElement()

mapPrimitiveTypes

public static Class<?> mapPrimitiveTypes(Class<?> c)

getResource

public Resource getResource()


@enterprise 8.0.10078 Copyright © 2001-2011 Groiss Informatics GmbH. All Rights Reserved.