com.groiss.reporting.data
Class Attribute
java.lang.Object
com.groiss.reporting.data.Attribute
public class Attribute
- extends java.lang.Object
Describes Attributes selectable as display attribute or condition in reporting
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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
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)
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.