JADE_SL.abs
Class AbsPrimitiveSlotsHolder

java.lang.Object
  extended byJADE_SL.abs.AbsObjectImpl
      extended byJADE_SL.abs.AbsPrimitiveSlotsHolder
All Implemented Interfaces:
AbsObject
Direct Known Subclasses:
AbsConcept, AbsPredicate

class AbsPrimitiveSlotsHolder
extends AbsObjectImpl

Author:
Federico Bergenti - Universita` di Parma

Field Summary
 
Fields inherited from class JADE_SL.abs.AbsObjectImpl
 
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, 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_SL.abs.AbsObjectImpl
dump, dump, getAbsObject, getCount, getNameEnumeration, getNames, getTypeName, isGrounded, set, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbsPrimitiveSlotsHolder

protected AbsPrimitiveSlotsHolder(java.lang.String typeName)
Construct an Abstract descriptor to hold an object of the proper type.

Parameters:
typeName - The name of the type of the object held by this abstract descriptor.
Method Detail

set

public 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.

Parameters:
name - The name of the attribute to be set.
value - The new value of the attribute.

set

public 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.

Parameters:
name - The name of the attribute to be set.
value - The new value of the attribute.

set

public 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.

Parameters:
name - The name of the attribute to be set.
value - The new value of the attribute.

set

public 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.

Parameters:
name - The name of the attribute to be set.
value - The new value of the attribute.

set

public 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.

Parameters:
name - The name of the attribute to be set.
value - The new value of the attribute.

set

public 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.

Parameters:
name - The name of the attribute to be set.
value - The new value of the attribute.

set

public 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.

Parameters:
name - The name of the attribute to be set.
value - The new value of the attribute.

set

public 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.

Parameters:
name - The name of the attribute to be set.
value - The new value of the attribute.

getString

public 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>.

Parameters:
name - The name of the attribute to be retrieved.

getBoolean

public 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>.

Parameters:
name - The name of the attribute to be retrieved.

getInteger

public 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>.

Parameters:
name - The name of the attribute to be retrieved.

getLong

public 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>.

Parameters:
name - The name of the attribute to be retrieved.

getFloat

public 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>.

Parameters:
name - The name of the attribute to be retrieved.

getDouble

public 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>.

Parameters:
name - The name of the attribute to be retrieved.

getDate

public 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>.

Parameters:
name - The name of the attribute to be retrieved.

getByteSequence

public 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>.

Parameters:
name - The name of the attribute to be retrieved.


Copyright © 2000-2003 BT Exact Technologies. All Rights Reserved.