|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.businessobjects.rebean.wi.ValueFromLov
public final class ValueFromLov
The ValueFromLov
class represents a single value in a List Of
Values(Lov
).
To optimize database retrieval time, each value of a Lov
is
associated with a database index. The ValueFromLov
holds a
couple which contains the database index and data contained in a single
Lov
value.
Using the ValueFromLov
class it is possible to convert a
ValueFromLov
object to a String
and vice versa.
Constructor Summary | |
---|---|
ValueFromLov(java.lang.String ref)
ValueFromLov class constructor. |
|
ValueFromLov(java.lang.String rowIndex,
java.lang.String value)
ValueFromLov class constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getIDRef()
Returns the encoded String value of this
ValueFromLov object. |
java.lang.String |
getRowIndex()
Returns the index of database row providing the Lov . |
java.lang.String |
getValue()
Returns a string containing a single Lov value. |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValueFromLov(java.lang.String rowIndex, java.lang.String value)
ValueFromLov
class constructor.
rowIndex
- a string containing the database index.value
- A string containing the LOV value.public ValueFromLov(java.lang.String ref)
ValueFromLov
class constructor. In some cases
ValueFromLov
objects are used in combo-boxes on succeeding
web pages. However, a ValueFromLov
object cannot be
serialized and passed in a URL or POST stream. To overcome this problem,
the ValueFromLov
ID can be passed to succeeding pages
using the URL parameter string. The ValueFromLov
object is
then regenerated using this constructor.
ref
- A
String reference for the ValueFromLov
object.
Method Detail |
---|
public java.lang.String getRowIndex()
Lov
.
public java.lang.String getValue()
Lov
value.
Lov
value.public java.lang.String getIDRef()
String
value of this
ValueFromLov
object.
String
value of this
ValueFromLov
object.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |