|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmdx.kernel.exception.BasicException.Parameter
org.openmdx.compatibility.base.exception.Property
public final class Property
The Property class represents a multivalue property given by a property name and multiple property values. Property values are always of type string.
| Field Summary |
|---|
| Fields inherited from class org.openmdx.kernel.exception.BasicException.Parameter |
|---|
EXCEPTION_CLASS, EXCEPTION_SOURCE |
| Constructor Summary | |
|---|---|
Property(Map.Entry mapEntry)
Deprecated. use BasicException.Parameter#Parameter(String,Object) |
|
Property(String name,
boolean value)
Deprecated. use BasicException.Parameter#Parameter(String,boolean) |
|
Property(String name,
byte value)
Deprecated. use BasicException.Parameter#Parameter(String,byte) |
|
Property(String name,
int value)
Deprecated. use BasicException.Parameter#Parameter(String,int) |
|
Property(String name,
long value)
Deprecated. use BasicException.Parameter#Parameter(String,long) |
|
Property(String name,
Object values)
Deprecated. use BasicException.Parameter#Parameter(String,Object) |
|
Property(String name,
short value)
Deprecated. use BasicException.Parameter#Parameter(String,short) |
|
| Method Summary | |
|---|---|
Object |
get(int index)
Deprecated. without replacement |
String |
getFirstValue()
Deprecated. use BasicException.Parameter#getValue() |
String[] |
getValues()
Deprecated. use BasicException.Parameter#getValue() |
int |
size()
Deprecated. without replacement |
| Methods inherited from class org.openmdx.kernel.exception.BasicException.Parameter |
|---|
add, equals, getName, getValue, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Property(String name,
Object values)
Property object.
name - The property namevalues - A non-null object containing property valuespublic Property(Map.Entry mapEntry)
Property object.
mapEntry - A map entry
public Property(String name,
boolean value)
Property object.
name - the property's name.value - the property's value
public Property(String name,
byte value)
Property object.
name - the property's name.value - the property's value
public Property(String name,
short value)
Property object.
name - the property's name.value - the property's value
public Property(String name,
int value)
Property object.
name - the property's name.value - the property's value
public Property(String name,
long value)
Property object.
name - the property's name.value - the property's value| Method Detail |
|---|
public final String getFirstValue()
public final String[] getValues()
The returned array must not be modifed by the caller.
public Object get(int index)
index - index of element to return.
IndexOutOfBoundsException - if the given index is out of range (index < 0 || index >=
size()).public int size()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||