com.groiss.reporting.data
Class Attribute

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

public class Attribute
extends java.lang.Object

Describes Attributes selectable as display attribute or condition in reporting


Field Summary
static java.lang.String[] ALL_AGGR
           
static int AVG
           
static int COUNT
           
static java.lang.String[] DATE_FORMATS
           
static int MAX
           
static int MIN
           
static int SQL
           
static int SUM
           
 
Constructor Summary
Attribute(java.lang.String select)
           
Attribute(java.lang.String id, java.lang.String name, java.lang.Class<?> c, com.groiss.reporting.data.impl.Select[] select, java.lang.String[] aggrs, java.lang.String mapId, Resource res)
           
Attribute(java.lang.String id, java.lang.String name, java.lang.Class<?> c, com.groiss.reporting.data.impl.Select[] select, java.lang.String aggrs, java.lang.String mapId, Resource res)
           
Attribute(java.lang.String id, java.lang.String name, java.lang.Class<?> c, java.lang.String[] selectStr, java.lang.String aggrs, java.lang.String mapId, Resource res)
           
 
Method Summary
 java.lang.String[] getAllowedAggrs()
           
 org.jdom.Element getAsDomElement()
           
 java.lang.String getId()
           
 java.lang.String getLocalizedName()
           
 java.lang.String getMapId()
           
 java.lang.String getName()
           
 Resource getResource()
           
 int getSelectLength()
           
 com.groiss.reporting.data.impl.Select[] getSelects()
           
static java.lang.String[] getStandardAllowedAggrs(java.lang.Class<?> c)
           
 java.lang.Class<?> getType()
           
 java.lang.String getTypeString()
           
static java.lang.Class<?> mapPrimitiveTypes(java.lang.Class<?> c)
           
 void setAllowedAggrs(java.lang.String[] allowed_aggrs)
           
 void setMapId(java.lang.String mapId)
           
 void setName(java.lang.String name)
           
 void setSelects(com.groiss.reporting.data.impl.Select[] selects)
           
 void setType(java.lang.Class<?> c)
           
 java.lang.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 java.lang.String[] ALL_AGGR

DATE_FORMATS

public static java.lang.String[] DATE_FORMATS
Constructor Detail

Attribute

public Attribute(java.lang.String select)

Attribute

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

Attribute

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

Attribute

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

setName

public void setName(java.lang.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(java.lang.String[] allowed_aggrs)
Parameters:
allowed_aggrs - the allowed_aggrs to set

setMapId

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

getId

public java.lang.String getId()

getName

public java.lang.String getName()

getLocalizedName

public java.lang.String getLocalizedName()

getMapId

public java.lang.String getMapId()

getType

public java.lang.Class<?> getType()

getTypeString

public java.lang.String getTypeString()

getSelects

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

setType

public void setType(java.lang.Class<?> c)

getStandardAllowedAggrs

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

getAllowedAggrs

public java.lang.String[] getAllowedAggrs()

getSelectLength

public int getSelectLength()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getAsDomElement

public org.jdom.Element getAsDomElement()

mapPrimitiveTypes

public static java.lang.Class<?> mapPrimitiveTypes(java.lang.Class<?> c)

getResource

public Resource getResource()


@enterprise 8.0.22989 Copyright © 2001-2017 Groiss Informatics GmbH. All Rights Reserved.