|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jade.content.abs.AbsObjectImpl | +--jade.content.abs.AbsPrimitiveSlotsHolder
This class is not intended to be used by programmers.
Constructor Summary | |
protected |
AbsPrimitiveSlotsHolder(java.lang.String typeName)
Construct an Abstract descriptor to hold an object of the proper type. |
Method Summary | |
boolean |
getBoolean(java.lang.String name)
Utility method that allows getting the value of attributes of type boolean directly as a boolean
i.e. not wrapped into an AbsPrimitive/code>. |
byte[] |
getByteSequence(java.lang.String name)
Utility method that allows getting the value of attributes of type byte[] directly as a byte[]
i.e. not wrapped into an AbsPrimitive/code>. |
java.util.Date |
getDate(java.lang.String name)
Utility method that allows getting the value of attributes of type Date directly as a Date
i.e. not wrapped into an AbsPrimitive/code>. |
double |
getDouble(java.lang.String name)
Utility method that allows getting the value of attributes of type double directly as a double
i.e. not wrapped into an AbsPrimitive/code>. |
float |
getFloat(java.lang.String name)
Utility method that allows getting the value of attributes of type float directly as a float
i.e. not wrapped into an AbsPrimitive/code>. |
int |
getInteger(java.lang.String name)
Utility method that allows getting the value of attributes of type int directly as an int
i.e. not wrapped into an AbsPrimitive/code>. |
long |
getLong(java.lang.String name)
Utility method that allows getting the value of attributes of type long directly as a long
i.e. not wrapped into an AbsPrimitive/code>. |
java.lang.String |
getString(java.lang.String name)
Utility method that allows getting the value of attributes of type String directly as a String
i.e. not wrapped into an AbsPrimitive/code>. |
void |
set(java.lang.String name,
AbsObject value)
Sets an attribute of the object held by this abstract descriptor. |
void |
set(java.lang.String name,
boolean value)
Utility method that allows setting attributes of type boolean without the need of wrapping the new value
into an AbsPrimitive . |
void |
set(java.lang.String name,
byte[] value)
Utility method that allows setting attributes of type byte[] without the need of wrapping the new value
into an AbsPrimitive . |
void |
set(java.lang.String name,
java.util.Date value)
Utility method that allows setting attributes of type Date without the need of wrapping the new value
into an AbsPrimitive . |
void |
set(java.lang.String name,
double value)
Utility method that allows setting attributes of type double without the need of wrapping the new value
into an AbsPrimitive . |
void |
set(java.lang.String name,
float value)
Utility method that allows setting attributes of type float without the need of wrapping the new value
into an AbsPrimitive . |
void |
set(java.lang.String name,
int value)
Utility method that allows setting attributes of type int without the need of wrapping the new value
into an AbsPrimitive . |
void |
set(java.lang.String name,
long value)
Utility method that allows setting attributes of type long without the need of wrapping the new value
into an AbsPrimitive . |
void |
set(java.lang.String name,
java.lang.String value)
Utility method that allows setting attributes of type String without the need of wrapping the new value
into an AbsPrimitive . |
Methods inherited from class jade.content.abs.AbsObjectImpl |
equals, getAbsObject, getCount, getNames, getTypeName, hashCode, isGrounded, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
protected AbsPrimitiveSlotsHolder(java.lang.String typeName)
typeName
- The name of the type of the object held by
this abstract descriptor.Method Detail |
public void set(java.lang.String name, java.lang.String value)
String
without the need of wrapping the new value
into an AbsPrimitive
.
name
- The name of the attribute to be set.value
- The new value of the attribute.public void set(java.lang.String name, AbsObject value)
AbsObjectImpl
set
in class AbsObjectImpl
name
- The name of the attribute to be set.value
- The new value of the attribute. If value
is null the current mapping with name
(if any) is
removed.public void set(java.lang.String name, boolean value)
boolean
without the need of wrapping the new value
into an AbsPrimitive
.
name
- The name of the attribute to be set.value
- The new value of the attribute.public void set(java.lang.String name, int value)
int
without the need of wrapping the new value
into an AbsPrimitive
.
name
- The name of the attribute to be set.value
- The new value of the attribute.public void set(java.lang.String name, long value)
long
without the need of wrapping the new value
into an AbsPrimitive
.
name
- The name of the attribute to be set.value
- The new value of the attribute.public void set(java.lang.String name, float value)
float
without the need of wrapping the new value
into an AbsPrimitive
.
name
- The name of the attribute to be set.value
- The new value of the attribute.public void set(java.lang.String name, double value)
double
without the need of wrapping the new value
into an AbsPrimitive
.
name
- The name of the attribute to be set.value
- The new value of the attribute.public void set(java.lang.String name, java.util.Date value)
Date
without the need of wrapping the new value
into an AbsPrimitive
.
name
- The name of the attribute to be set.value
- The new value of the attribute.public void set(java.lang.String name, byte[] value)
byte[]
without the need of wrapping the new value
into an AbsPrimitive
.
name
- The name of the attribute to be set.value
- The new value of the attribute.public java.lang.String getString(java.lang.String name)
String
directly as a String
i.e. not wrapped into an AbsPrimitive/code>.
- Parameters:
name
- The name of the attribute to be retrieved.
public boolean getBoolean(java.lang.String name)
boolean
directly as a boolean
i.e. not wrapped into an AbsPrimitive/code>.
- Parameters:
name
- The name of the attribute to be retrieved.
public int getInteger(java.lang.String name)
int
directly as an int
i.e. not wrapped into an AbsPrimitive/code>.
- Parameters:
name
- The name of the attribute to be retrieved.
public long getLong(java.lang.String name)
long
directly as a long
i.e. not wrapped into an AbsPrimitive/code>.
- Parameters:
name
- The name of the attribute to be retrieved.
public float getFloat(java.lang.String name)
float
directly as a float
i.e. not wrapped into an AbsPrimitive/code>.
- Parameters:
name
- The name of the attribute to be retrieved.
public double getDouble(java.lang.String name)
double
directly as a double
i.e. not wrapped into an AbsPrimitive/code>.
- Parameters:
name
- The name of the attribute to be retrieved.
public java.util.Date getDate(java.lang.String name)
Date
directly as a Date
i.e. not wrapped into an AbsPrimitive/code>.
- Parameters:
name
- The name of the attribute to be retrieved.
public byte[] getByteSequence(java.lang.String name)
byte[]
directly as a byte[]
i.e. not wrapped into an AbsPrimitive/code>.
- Parameters:
name
- The name of the attribute to be retrieved.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |