com.atlassian.jira.ofbiz
Interface OfBizValueWrapper

All Known Subinterfaces:
Issue, IssueLink, IssueLinkType, MutableIssue, Version
All Known Implementing Classes:
AbstractIssue, AbstractOfBizValueWrapper, Attachment, DocumentIssueImpl, IssueConstantImpl, IssueImpl, IssueLinkImpl, IssueLinkTypeImpl, IssueTypeImpl, MockIssue, MockVersion, PriorityImpl, ResolutionImpl, StatusImpl, TemplateIssue, VersionImpl

Deprecated. Use the Data object getters instead. Since v5.0.

@PublicApi
public interface OfBizValueWrapper

The methods in this interface should not be used. They are here for legacy compatibility with GenericValues


Method Summary
 org.ofbiz.core.entity.GenericValue getGenericValue()
          Deprecated. Use the Data object getters instead. Since v5.0.
 Long getLong(String name)
          Deprecated. Use the Data object getters instead. Since v5.0.
 String getString(String name)
          Deprecated. Use the Data object getters instead. Since v5.0.
 Timestamp getTimestamp(String name)
          Deprecated. Use the Data object getters instead. Since v5.0.
 void store()
          Deprecated. Use the Object's Service or Manager to save values. Since v5.0.
 

Method Detail

getString

String getString(String name)
Deprecated. Use the Data object getters instead. Since v5.0.

Retrieve a String field.

Parameters:
name - the field name
Returns:
the value for the given field.

getTimestamp

Timestamp getTimestamp(String name)
Deprecated. Use the Data object getters instead. Since v5.0.

Retrieve a timestamp field.

Parameters:
name - the field name
Returns:
the value for the given field.

getLong

Long getLong(String name)
Deprecated. Use the Data object getters instead. Since v5.0.

Retrieve a numeric field.

Parameters:
name - the field name
Returns:
the value for the given field.

getGenericValue

org.ofbiz.core.entity.GenericValue getGenericValue()
Deprecated. Use the Data object getters instead. Since v5.0.

Get the backing GenericValue object.

Returns:
the backing GenericValue object.

store

void store()
Deprecated. Use the Object's Service or Manager to save values. Since v5.0.

Persist this object's immediate fields.



Copyright © 2002-2014 Atlassian. All Rights Reserved.