| java.lang.Object org.pentaho.core.system.PentahoBase org.pentaho.repository.runtime.RuntimeElement
Method Summary | |
protected void | checkType(String key, String type, boolean setIt) | public boolean | equals(Object other) Uses the instanceId to distinguish equality. | public void | forceSave() | public BigDecimal | getBigDecimalProperty(String key) Gets a BigDecimal property from the paramMap.
Parameters: key - Key in the paramMap. | public BigDecimal | getBigDecimalProperty(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 Date | getCreateDate() | public Date | getDateProperty(String key) Gets a property from the paramMap as a Date, with no default value. | public Date | getDateProperty(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 String | getInstanceId() | public List | getListProperty(String key) Gets a list property from the paramMap. | public boolean | getLoaded() | public Log | getLogger() | public Long | getLongProperty(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 long | getLongProperty(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 Map | getMapProperty(String key) Gets a map property from the paramMap. | public List | getMessages() | protected Map | getParamMapBD() | protected Map | getParamMapCPLX() | protected Map | getParamMapDT() | protected Map | getParamMapLS() | protected Map | getParamMapLong() | protected Map | getParamMapSS() | public Set | getParameterNames() | public String | getParameterType(String parameterName) | public String | getParentId() | public String | getParentType() | public boolean | getReadOnly() | public int | getRevision() Auto-handled revision mechanism. | public String | getSolutionId() | public String | getStringProperty(String key) Gets a property from the paramMap as a string with no default value.
Parameters: key - The key into the map. | public String | getStringProperty(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 Map | getTypesMap() | public int | hashCode() | public void | setAllowableAttributeNames(Collection allowedReadNames) | public void | setBigDecimalProperty(String key, BigDecimal value) Sets the BigDecimal property in the paramMap. | public void | setCreateDate(Date value) | public void | setDateProperty(String key, Date value) Sets a date property in the paramMap. | public void | setInstanceId(String instId) | public void | setListProperty(String key, List value) Sets a list property in the paramMap. | public void | setLoaded(boolean value) | public void | setLongProperty(String key, Long value) Sets a long property in the paramMap. | public void | setLongProperty(String key, long value) Sets a long property in the paramMap. | public void | setMapProperty(String key, Map value) Sets a map property in the paramMap. | protected void | setParamMapBD(Map bd) | protected void | setParamMapCPLX(Map cplx) | protected void | setParamMapDT(Map dt) | protected void | setParamMapLS(Map ls) | protected void | setParamMapLong(Map lng) | protected void | setParamMapSS(Map ss) | public void | setParentId(String parentId) | public void | setParentType(String parentType) | protected void | setPentahoSession(IPentahoSession sess) | public void | setReadOnly(boolean value) | protected void | setRevision(int rev) | public void | setSolutionId(String solutionId) | public void | setStringProperty(String key, String value) Sets a property into the paramMap. | protected void | setTypesMap(Map typesMap) | public String | toXML() Returns an XML representation of the RuntimeElement. |
ClassVersionNumber | final public static int ClassVersionNumber(Code) | | |
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 |
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. |
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. |
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) | | |
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. |
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 |
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)
|
|
|