com.atlassian.jira.ofbiz
Class AbstractOfBizValueWrapper

java.lang.Object
  extended by com.atlassian.jira.ofbiz.AbstractOfBizValueWrapper
All Implemented Interfaces:
OfBizValueWrapper
Direct Known Subclasses:
Attachment, IssueConstantImpl, IssueLink, IssueLinkType, VersionImpl

public abstract class AbstractOfBizValueWrapper
extends java.lang.Object
implements OfBizValueWrapper

The methods in these class should not be used. They are here for backwards compatibility with GenericValues Use debug to determine what still uses these methods and change the code to uses the actual getter/setter methods of the bean.


Field Summary
protected  org.ofbiz.core.entity.GenericValue genericValue
           
 
Constructor Summary
protected AbstractOfBizValueWrapper(org.ofbiz.core.entity.GenericValue genericValue)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 org.ofbiz.core.entity.GenericValue getGenericValue()
          Get the backing GenericValue object.
 java.lang.Long getLong(java.lang.String name)
          Retrieve a numeric field.
 java.lang.String getString(java.lang.String name)
          Retrieve a String field.
 java.sql.Timestamp getTimestamp(java.lang.String name)
          Retrieve a timestamp field.
 int hashCode()
           
 void store()
          Persist this object's immediate fields.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

genericValue

protected final org.ofbiz.core.entity.GenericValue genericValue
Constructor Detail

AbstractOfBizValueWrapper

protected AbstractOfBizValueWrapper(org.ofbiz.core.entity.GenericValue genericValue)
Method Detail

getString

public java.lang.String getString(java.lang.String name)
Description copied from interface: OfBizValueWrapper
Retrieve a String field.

Specified by:
getString in interface OfBizValueWrapper

getTimestamp

public java.sql.Timestamp getTimestamp(java.lang.String name)
Description copied from interface: OfBizValueWrapper
Retrieve a timestamp field.

Specified by:
getTimestamp in interface OfBizValueWrapper

getLong

public java.lang.Long getLong(java.lang.String name)
Description copied from interface: OfBizValueWrapper
Retrieve a numeric field.

Specified by:
getLong in interface OfBizValueWrapper

getGenericValue

public org.ofbiz.core.entity.GenericValue getGenericValue()
Description copied from interface: OfBizValueWrapper
Get the backing GenericValue object.

Specified by:
getGenericValue in interface OfBizValueWrapper

store

public void store()
Description copied from interface: OfBizValueWrapper
Persist this object's immediate fields.

Specified by:
store in interface OfBizValueWrapper

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2002-2010 Atlassian. All Rights Reserved.