|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjet.webreport.beans.NameInfo
public class NameInfo
NameInfo contains information of a resource such as mapping name,
display name, sql type, formula expression, and so on.
This class is designed for Page Reports (.cls) that use Report Cubes
and Business Cubes.
It does not support Business Views for Web Reports (.wls) and Library Components (.lc).
Business Logic (BL) in this class refers to Report Cubes and Business Cubes.
Field Summary | |
---|---|
static int |
NAME_TYPE_DBFIELD
|
static int |
NAME_TYPE_DETAILINFO
|
static int |
NAME_TYPE_DIMENSION
|
static int |
NAME_TYPE_DYNAMIC_FORMULA
|
static int |
NAME_TYPE_DYNAMIC_MEASURE
|
static int |
NAME_TYPE_FORMULA
|
static int |
NAME_TYPE_MEASURE
|
static int |
NAME_TYPE_PARAMETER
|
static int |
NAME_TYPE_SUMMARY
|
Constructor Summary | |
---|---|
NameInfo()
Creates NameInfo instance. |
Method Summary | |
---|---|
java.lang.String |
getAggFunc()
Returns the aggregate function of the name information. |
java.lang.String |
getBasedQualifiedDispName()
Returns the QualifiedDispName of the based on resource. |
int |
getBaseSqlType()
Returns the sql type of the based on resource. |
java.lang.String |
getBlColumnName()
Returns the blColumnName. |
java.lang.String |
getBlDisplayName()
Returns the blDisplayName. |
java.lang.String |
getBlQualifiedDispName()
Returns the BlQualifiedDispName of the name information. |
java.util.List |
getDataFormat()
Returns the dataFormat list of the name information. |
java.lang.String |
getDisplayName()
Returns the display name of the name information. |
java.lang.String |
getFmlExp()
Returns the formula expression of the name information. |
java.lang.String |
getMappingName()
Returns the mapping name of the name information. |
int |
getNameType()
Returns the name type of the name information. |
int |
getSqlType()
Returns the sql type of the name information. |
boolean |
isCanFilter()
Returns whether the name information could be filtered. |
boolean |
isCanGoto()
Returns whether the name information supports goto. |
boolean |
isCanSearch()
Returns whether the name information could be searched. |
boolean |
isCanSort()
Returns whether the name information could be sorted. |
boolean |
isFromBl()
Returns whether the name information is from BL. |
void |
setAggFunc(java.lang.String aggFunc)
Sets the aggregate function of the name information. |
void |
setBasedQualifiedDispName(java.lang.String basedQualifiedDispName)
Sets the QualifiedDispName of the based on resource. |
void |
setBaseSqlType(int baseSqlType)
Sets the sql type of the based on resource. |
void |
setBlColumnName(java.lang.String blColumnName)
Sets the blColumnName. |
void |
setBlDisplayName(java.lang.String blDisplayName)
Sets the blDisplayName. |
void |
setBlQualifiedDispName(java.lang.String blQualifiedDispName)
Sets the BlQualifiedDispName of the name information. |
void |
setCanFilter(boolean canFilter)
Sets whether the name information could be filtered. |
void |
setCanGoto(boolean canGoto)
Sets whether the name information supports goto. |
void |
setCanSearch(boolean canSearch)
Sets whether the name information could be searched. |
void |
setCanSort(boolean canSort)
Sets whether the name information could be sorted. |
void |
setDataFormat(java.util.List dataFormat)
Sets the dataFormat list of the name information. |
void |
setDisplayName(java.lang.String displayName)
Sets the display name of the name information. |
void |
setFmlExp(java.lang.String fmlExp)
Sets the formula expression of the name information. |
void |
setFromBl(boolean fromBl)
Sets whether the name information is from BL. |
void |
setMappingName(java.lang.String mappingName)
Sets the mapping name of the name information. |
void |
setNameType(int nameType)
Sets the name type of the name information. |
void |
setSqlType(int sqlType)
Sets the sql type of the name information. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int NAME_TYPE_DBFIELD
public static int NAME_TYPE_SUMMARY
public static int NAME_TYPE_FORMULA
public static int NAME_TYPE_PARAMETER
public static int NAME_TYPE_DIMENSION
public static int NAME_TYPE_DETAILINFO
public static int NAME_TYPE_MEASURE
public static int NAME_TYPE_DYNAMIC_FORMULA
public static int NAME_TYPE_DYNAMIC_MEASURE
Constructor Detail |
---|
public NameInfo()
NameInfo
instance.
Method Detail |
---|
public java.lang.String getBlColumnName()
public void setBlColumnName(java.lang.String blColumnName)
blColumnName
- The blColumnName to set.public java.lang.String getBlDisplayName()
public void setBlDisplayName(java.lang.String blDisplayName)
blDisplayName
- the blDisplayName.public boolean isCanFilter()
public void setCanFilter(boolean canFilter)
canFilter
- the canFilter.public boolean isCanSearch()
public void setCanSearch(boolean canSearch)
canSearch
- the canSearch.public boolean isCanSort()
public void setCanSort(boolean canSort)
canSort
- the canSort.public boolean isCanGoto()
public void setCanGoto(boolean canGoto)
canGoto
- the canGoto.public java.util.List getDataFormat()
public void setDataFormat(java.util.List dataFormat)
dataFormat
- the dataFormat list.public java.lang.String getDisplayName()
public void setDisplayName(java.lang.String displayName)
displayName
- the display name.public java.lang.String getMappingName()
public void setMappingName(java.lang.String mappingName)
mappingName
- the mappingName.public int getSqlType()
public void setSqlType(int sqlType)
sqlType
- the sqlType java.sql.Types
.public int getBaseSqlType()
public void setBaseSqlType(int baseSqlType)
baseSqlType
- the sqlType java.sql.Types
.public int getNameType()
public void setNameType(int nameType)
nameType
- the nameType. The values are:
NAME_TYPE_DBFIELD
NAME_TYPE_SUMMARY
NAME_TYPE_FORMULA
NAME_TYPE_PARAMETER
NAME_TYPE_DIMENSION
NAME_TYPE_DETAILINFO
NAME_TYPE_MEASURE
NAME_TYPE_DYNAMIC_FORMULA
NAME_TYPE_DYNAMIC_MEASURE
public java.lang.String getBlQualifiedDispName()
public void setBlQualifiedDispName(java.lang.String blQualifiedDispName)
blQualifiedDispName.
- public boolean isFromBl()
public void setFromBl(boolean fromBl)
fromBl
- whether from BL.public java.lang.String getAggFunc()
public void setAggFunc(java.lang.String aggFunc)
aggFunc
- the aggregate function.public java.lang.String getBasedQualifiedDispName()
public void setBasedQualifiedDispName(java.lang.String basedQualifiedDispName)
basedQualifiedDispName.
- public java.lang.String getFmlExp()
public void setFmlExp(java.lang.String fmlExp)
fmlExp
- the formula expression.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |