Java Doc for RuntimeElement.java in  » Report » pentaho-report » org » pentaho » repository » runtime » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Report » pentaho report » org.pentaho.repository.runtime 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.pentaho.core.system.PentahoBase
      org.pentaho.repository.runtime.RuntimeElement

RuntimeElement
public class RuntimeElement extends PentahoBase implements IRuntimeElement(Code)


Field Summary
final public static  intClassVersionNumber
    

Constructor Summary
protected  RuntimeElement()
    
public  RuntimeElement(String instId)
    
public  RuntimeElement(String instId, String parId, String parType)
    
public  RuntimeElement(String instId, String parId, String parType, String solnId)
    

Method Summary
protected  voidcheckType(String key, String type, boolean setIt)
    
public  booleanequals(Object other)
     Uses the instanceId to distinguish equality.
public  voidforceSave()
    
public  BigDecimalgetBigDecimalProperty(String key)
     Gets a BigDecimal property from the paramMap.
Parameters:
  key - Key in the paramMap.
public  BigDecimalgetBigDecimalProperty(String key, BigDecimal defaultValue)
     Gets a property from the paramMap as a BigDecimal, using a default value if it doesn't exist in the map.
Parameters:
  key - Key in the paramMap.
Parameters:
  defaultValue - Detault value if the property doesn't exist in the paramMap.
public  DategetCreateDate()
    
public  DategetDateProperty(String key)
     Gets a property from the paramMap as a Date, with no default value.
public  DategetDateProperty(String key, Date defaultValue)
     Gets a property from the paramMap as a Date using a default value if it doesn't exist in the map
Parameters:
  key - Key in the paramMap
Parameters:
  defaultValue - The default value if the property doesn't exist in theparamMap.
public  StringgetInstanceId()
    
public  ListgetListProperty(String key)
     Gets a list property from the paramMap.
public  booleangetLoaded()
    
public  LoggetLogger()
    
public  LonggetLongProperty(String key, Long defaultValue)
     Gets a property from the paramMap as a Long using a default value if it doesn't exist in the map
Parameters:
  key - Key in the paramMap
Parameters:
  defaultValue - The default value if the property doesn't exist in theparamMap.
public  longgetLongProperty(String key, long defaultValue)
     Gets a property from the paramMap as a long using a default value if it doesn't exist in the map
Parameters:
  key - Key in the paramMap
Parameters:
  defaultValue - The default value if the property doesn't exist in theparamMap.
public  MapgetMapProperty(String key)
     Gets a map property from the paramMap.
public  ListgetMessages()
    
protected  MapgetParamMapBD()
    
protected  MapgetParamMapCPLX()
    
protected  MapgetParamMapDT()
    
protected  MapgetParamMapLS()
    
protected  MapgetParamMapLong()
    
protected  MapgetParamMapSS()
    
public  SetgetParameterNames()
    
public  StringgetParameterType(String parameterName)
    
public  StringgetParentId()
    
public  StringgetParentType()
    
public  booleangetReadOnly()
    
public  intgetRevision()
     Auto-handled revision mechanism.
public  StringgetSolutionId()
    
public  StringgetStringProperty(String key)
     Gets a property from the paramMap as a string with no default value.
Parameters:
  key - The key into the map.
public  StringgetStringProperty(String key, String defaultValue)
     Gets a property from the paramMap as a string, using a default value if it doesn't exist in the map.
Parameters:
  key - The key into the map.
Parameters:
  defaultValue - Default value returned if the key isn't already in the map.
protected  MapgetTypesMap()
    
public  inthashCode()
    
public  voidsetAllowableAttributeNames(Collection allowedReadNames)
    
public  voidsetBigDecimalProperty(String key, BigDecimal value)
     Sets the BigDecimal property in the paramMap.
public  voidsetCreateDate(Date value)
    
public  voidsetDateProperty(String key, Date value)
     Sets a date property in the paramMap.
public  voidsetInstanceId(String instId)
    
public  voidsetListProperty(String key, List value)
     Sets a list property in the paramMap.
public  voidsetLoaded(boolean value)
    
public  voidsetLongProperty(String key, Long value)
     Sets a long property in the paramMap.
public  voidsetLongProperty(String key, long value)
     Sets a long property in the paramMap.
public  voidsetMapProperty(String key, Map value)
     Sets a map property in the paramMap.
protected  voidsetParamMapBD(Map bd)
    
protected  voidsetParamMapCPLX(Map cplx)
    
protected  voidsetParamMapDT(Map dt)
    
protected  voidsetParamMapLS(Map ls)
    
protected  voidsetParamMapLong(Map lng)
    
protected  voidsetParamMapSS(Map ss)
    
public  voidsetParentId(String parentId)
    
public  voidsetParentType(String parentType)
    
protected  voidsetPentahoSession(IPentahoSession sess)
    
public  voidsetReadOnly(boolean value)
    
protected  voidsetRevision(int rev)
    
public  voidsetSolutionId(String solutionId)
    
public  voidsetStringProperty(String key, String value)
     Sets a property into the paramMap.
protected  voidsetTypesMap(Map typesMap)
    
public  StringtoXML()
     Returns an XML representation of the RuntimeElement.

Field Detail
ClassVersionNumber
final public static int ClassVersionNumber(Code)




Constructor Detail
RuntimeElement
protected RuntimeElement()(Code)
Constructor for Hibernate



RuntimeElement
public RuntimeElement(String instId)(Code)
Constructor
Parameters:
  instId - The Instance Id



RuntimeElement
public RuntimeElement(String instId, String parId, String parType)(Code)
Constructor
Parameters:
  instId - The Instance Id
Parameters:
  parId - The Parent Id
Parameters:
  parType - The Parent Type



RuntimeElement
public RuntimeElement(String instId, String parId, String parType, String solnId)(Code)
Constructor
Parameters:
  instId - The Instance Id
Parameters:
  parId - The Parent Id
Parameters:
  parType - The Parent Type
Parameters:
  solnId - The Solution Id




Method Detail
checkType
protected void checkType(String key, String type, boolean setIt)(Code)



equals
public boolean equals(Object other)(Code)
Uses the instanceId to distinguish equality. The instanceId will never be null, won't change, and is the primary key. Therefore, it's the perfect candidate for equals() and hashcode.



forceSave
public void forceSave()(Code)



getBigDecimalProperty
public BigDecimal getBigDecimalProperty(String key)(Code)
Gets a BigDecimal property from the paramMap.
Parameters:
  key - Key in the paramMap. BigDecimal property



getBigDecimalProperty
public BigDecimal getBigDecimalProperty(String key, BigDecimal defaultValue)(Code)
Gets a property from the paramMap as a BigDecimal, using a default value if it doesn't exist in the map.
Parameters:
  key - Key in the paramMap.
Parameters:
  defaultValue - Detault value if the property doesn't exist in the paramMap. Returns the property from the paramMap.



getCreateDate
public Date getCreateDate()(Code)



getDateProperty
public Date getDateProperty(String key)(Code)
Gets a property from the paramMap as a Date, with no default value.
Parameters:
  key - Key in the paramMap The property in the map.



getDateProperty
public Date getDateProperty(String key, Date defaultValue)(Code)
Gets a property from the paramMap as a Date using a default value if it doesn't exist in the map
Parameters:
  key - Key in the paramMap
Parameters:
  defaultValue - The default value if the property doesn't exist in theparamMap. The property in the map.



getInstanceId
public String getInstanceId()(Code)
Returns the instanceId.



getListProperty
public List getListProperty(String key)(Code)
Gets a list property from the paramMap.
Parameters:
  key - Key in the map The list property in the paramMap.



getLoaded
public boolean getLoaded()(Code)



getLogger
public Log getLogger()(Code)



getLongProperty
public Long getLongProperty(String key, Long defaultValue)(Code)
Gets a property from the paramMap as a Long using a default value if it doesn't exist in the map
Parameters:
  key - Key in the paramMap
Parameters:
  defaultValue - The default value if the property doesn't exist in theparamMap. The property in the map.



getLongProperty
public long getLongProperty(String key, long defaultValue)(Code)
Gets a property from the paramMap as a long using a default value if it doesn't exist in the map
Parameters:
  key - Key in the paramMap
Parameters:
  defaultValue - The default value if the property doesn't exist in theparamMap. The property in the map.



getMapProperty
public Map getMapProperty(String key)(Code)
Gets a map property from the paramMap.
Parameters:
  key - The key in the map The map value in the paramMap.



getMessages
public List getMessages()(Code)



getParamMapBD
protected Map getParamMapBD()(Code)



getParamMapCPLX
protected Map getParamMapCPLX()(Code)



getParamMapDT
protected Map getParamMapDT()(Code)



getParamMapLS
protected Map getParamMapLS()(Code)



getParamMapLong
protected Map getParamMapLong()(Code)



getParamMapSS
protected Map getParamMapSS()(Code)



getParameterNames
public Set getParameterNames()(Code)



getParameterType
public String getParameterType(String parameterName)(Code)



getParentId
public String getParentId()(Code)
Returns the parentId.



getParentType
public String getParentType()(Code)
Returns the parentType.



getReadOnly
public boolean getReadOnly()(Code)



getRevision
public int getRevision()(Code)
Auto-handled revision mechanism. The current revision



getSolutionId
public String getSolutionId()(Code)
Returns the solutionId.



getStringProperty
public String getStringProperty(String key)(Code)
Gets a property from the paramMap as a string with no default value.
Parameters:
  key - The key into the map. The property.



getStringProperty
public String getStringProperty(String key, String defaultValue)(Code)
Gets a property from the paramMap as a string, using a default value if it doesn't exist in the map.
Parameters:
  key - The key into the map.
Parameters:
  defaultValue - Default value returned if the key isn't already in the map. The property.



getTypesMap
protected Map getTypesMap()(Code)
Returns the typesMap.



hashCode
public int hashCode()(Code)



setAllowableAttributeNames
public void setAllowableAttributeNames(Collection allowedReadNames)(Code)



setBigDecimalProperty
public void setBigDecimalProperty(String key, BigDecimal value)(Code)
Sets the BigDecimal property in the paramMap. Special implementation note - Null values aren't supported in the Map. So, if a null value is passed in, this implementation will remove the entry from the map.
Parameters:
  key - Key in the paramMap.
Parameters:
  value - The property value to set.



setCreateDate
public void setCreateDate(Date value)(Code)



setDateProperty
public void setDateProperty(String key, Date value)(Code)
Sets a date property in the paramMap. If null comes in, it removes the value from the map. Special implementation note - Null values aren't supported in the Map. So, if a null value is passed in, this implementation will remove the entry from the map.
Parameters:
  key - Key in the paramMap
Parameters:
  value - The property value to set.



setInstanceId
public void setInstanceId(String instId)(Code)

Parameters:
  instId - The instanceId to set.



setListProperty
public void setListProperty(String key, List value)(Code)
Sets a list property in the paramMap. Special implementation note - Null values aren't supported in the Map. So, if a null value is passed in, this implementation will remove the entry from the map.
Parameters:
  key - The key in the map.
Parameters:
  value - The list property to set.



setLoaded
public void setLoaded(boolean value)(Code)



setLongProperty
public void setLongProperty(String key, Long value)(Code)
Sets a long property in the paramMap. If null comes in, it removes the value from the map. Special implementation note - Null values aren't supported in the Map. So, if a null value is passed in, this implementation will remove the entry from the map.
Parameters:
  key - Key in the paramMap
Parameters:
  value - The property value to set.



setLongProperty
public void setLongProperty(String key, long value)(Code)
Sets a long property in the paramMap.
Parameters:
  key - Key in the paramMap
Parameters:
  value - The property value to set.



setMapProperty
public void setMapProperty(String key, Map value)(Code)
Sets a map property in the paramMap. Special implementation note - Null values aren't supported in the Map. So, if a null value is passed in, this implementation will remove the entry from the map.
Parameters:
  key - The key in the map.
Parameters:
  value - The map property to set.



setParamMapBD
protected void setParamMapBD(Map bd)(Code)



setParamMapCPLX
protected void setParamMapCPLX(Map cplx)(Code)



setParamMapDT
protected void setParamMapDT(Map dt)(Code)



setParamMapLS
protected void setParamMapLS(Map ls)(Code)



setParamMapLong
protected void setParamMapLong(Map lng)(Code)



setParamMapSS
protected void setParamMapSS(Map ss)(Code)



setParentId
public void setParentId(String parentId)(Code)

Parameters:
  parentId - The parentId to set.



setParentType
public void setParentType(String parentType)(Code)

Parameters:
  parentType - The parentType to set.



setPentahoSession
protected void setPentahoSession(IPentahoSession sess)(Code)



setReadOnly
public void setReadOnly(boolean value)(Code)



setRevision
protected void setRevision(int rev)(Code)
Sets the revision of the class
Parameters:
  rev - New revision to set.



setSolutionId
public void setSolutionId(String solutionId)(Code)

Parameters:
  solutionId - The solutionId to set.



setStringProperty
public void setStringProperty(String key, String value)(Code)
Sets a property into the paramMap. Special implementation note - Null values aren't supported in the Map. So, if a null value is passed in, this implementation will remove the entry from the map.
Parameters:
  key - The key into the map.
Parameters:
  value - The value to set.



setTypesMap
protected void setTypesMap(Map typesMap)(Code)

Parameters:
  typesMap - The typesMap to set.



toXML
public String toXML()(Code)
Returns an XML representation of the RuntimeElement. Mainly for Debug/Test Cases to make sure that what goes in is what comes out during tests. Returns an XML representation of the RuntimeElement



Fields inherited from org.pentaho.core.system.PentahoBase
public String EMPTYLOGID(Code)(Java Doc)
final public static String LOGID_MASK1(Code)(Java Doc)
final public static String LOGID_MASK2(Code)(Java Doc)
final public static String LOGID_SEPARATOR(Code)(Java Doc)
protected int loggingLevel(Code)(Java Doc)

Methods inherited from org.pentaho.core.system.PentahoBase
public void debug(String message)(Code)(Java Doc)
public void debug(String message, Throwable error)(Code)(Java Doc)
public void error(String message)(Code)(Java Doc)
public void error(String message, Throwable error)(Code)(Java Doc)
public void fatal(String message)(Code)(Java Doc)
public void fatal(String message, Throwable error)(Code)(Java Doc)
public void genLogIdFromInfo(String sessId, String procId, String actName)(Code)(Java Doc)
public void genLogIdFromInfo(String sessId, String procId, String actName, String instId)(Code)(Java Doc)
public void genLogIdFromSession(IPentahoSession sess)(Code)(Java Doc)
public String getLogId()(Code)(Java Doc)
abstract public Log getLogger()(Code)(Java Doc)
public int getLoggingLevel()(Code)(Java Doc)
public String getObjectName()(Code)(Java Doc)
public void info(String message)(Code)(Java Doc)
public void info(String message, Throwable error)(Code)(Java Doc)
public void setLogId(String lId)(Code)(Java Doc)
public void setLoggingLevel(int logLevel)(Code)(Java Doc)
public void trace(String message)(Code)(Java Doc)
public void trace(String message, Throwable error)(Code)(Java Doc)
public void warn(String message)(Code)(Java Doc)
public void warn(String message, Throwable error)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.