net.sf.jasperreports.engine.base
Class JRVirtualPrintPage.JRIdHolderTemplateElement
java.lang.Object
net.sf.jasperreports.engine.fill.JRTemplateElement
net.sf.jasperreports.engine.base.JRVirtualPrintPage.JRIdHolderTemplateElement
- All Implemented Interfaces:
- Serializable, Deduplicable, JRCommonElement, JRIdentifiable, JRPropertiesHolder, JRStyleContainer
- Enclosing class:
- JRVirtualPrintPage
public static class JRVirtualPrintPage.JRIdHolderTemplateElement
- extends JRTemplateElement
- See Also:
- Serialized Form
|
Method Summary |
int |
getHashCode()
Returns a hash code to be used for the deduplicate map. |
boolean |
isIdentical(Object object)
Determines if this instance is identical to another object. |
| Methods inherited from class net.sf.jasperreports.engine.fill.JRTemplateElement |
addTemplateHash, getBackcolor, getBaseStyle, getDefaultStyleProvider, getForecolor, getHeight, getId, getKey, getModeValue, getOrigin, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getParentProperties, getPropertiesMap, getStyle, getStyleNameReference, getUUID, getWidth, hasProperties, setBackcolor, setElement, setForecolor, setKey, setMode, setStyle, templateIdentical |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JRVirtualPrintPage.JRIdHolderTemplateElement
public JRVirtualPrintPage.JRIdHolderTemplateElement(String id)
getHashCode
public int getHashCode()
- Description copied from interface:
Deduplicable
- Returns a hash code to be used for the deduplicate map.
The returned hash code should be consitent wiwh
Deduplicable.isIdentical(Object),
i.e. if two objects are identical they should have the same hash code.
- Returns:
- deduplication hash code
isIdentical
public boolean isIdentical(Object object)
- Description copied from interface:
Deduplicable
- Determines if this instance is identical to another object.
- Parameters:
object - the object to compare with this instance
- Returns:
true if the two objects are identical and can be deduplicated
Copyright © 2012. All Rights Reserved.