|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.content.Value
The value for a Property. The typed value can be null.
Constructor Summary | |
Value()
Constructs an empty Value. |
|
Value(BinaryValue binaryValue)
Constructs a BinaryValue Value. |
|
Value(Boolean booleanValue)
Constructs a Boolean value. |
|
Value(Calendar calendarValue)
Constructs a Calendar value. |
|
Value(Double doubleValue)
Constructs a Double value. |
|
Value(Long longValue)
Constructs a Long value. |
|
Value(String stringValue)
Constructs a String value. |
Method Summary | |
int |
compareTo(Object obj)
Compares this PropertyChoices to obj. |
BinaryValue |
getBinaryValue()
The value as a BinaryValue. |
Boolean |
getBooleanValue()
The value as a Boolean. |
Calendar |
getCalendarValue()
The value as a Calendar. |
Double |
getDoubleValue()
The value as a Double. |
Long |
getLongValue()
The value as a Long. |
String |
getStringValue()
The value as a String. |
Object |
getValue()
Gets the Value as an Object. |
Object |
getValueByType(int type)
Return the correct value based on the type. |
String |
toString()
Returns the Value as a String, except if the value is Binary, in which case mimeType, name and size is returned. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Value()
public Value(BinaryValue binaryValue)
public Value(Boolean booleanValue)
public Value(Calendar calendarValue)
public Value(Double doubleValue)
public Value(Long longValue)
public Value(String stringValue)
Method Detail |
public int compareTo(Object obj)
public BinaryValue getBinaryValue()
public Boolean getBooleanValue()
public Calendar getCalendarValue()
public Double getDoubleValue()
public Long getLongValue()
public String getStringValue()
public Object getValue()
public Object getValueByType(int type)
public String toString()
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |