com.ibm.dse.base
Interface TypedData

All Known Implementing Classes:
DataElement

public interface TypedData

This interface is extended by KeyedCollection and implemented by DataElement. It provides a handle for all business objects independent of implementation hierarchy.


Method Summary
 PropertyDescription getDescriptor()
          Returns the PropertyDescriptor for this business object.
 Key getKey()
          Returns a Key object which can be used to identify this business object.
 java.lang.String getName()
          Returns the name of this business object.
 void setDescriptor(PropertyDescription descriptor)
          Sets the PropertyDescriptor for this business object to that passed.
 void setName(java.lang.String name)
          Sets the name of this business object to that passed.
 

Method Detail

getDescriptor

public PropertyDescription getDescriptor()
Returns the PropertyDescriptor for this business object.
Returns:
PropertyDescription

getKey

public Key getKey()
           throws DSETypeException
Returns a Key object which can be used to identify this business object. For business objects which are not Typed, of simple Type, or simply do not support unique Keys a Key with a value of null is returned.
Returns:
Key
Throws:
DSETypeException - - if the key can not be build from this business object

getName

public java.lang.String getName()
Returns the name of this business object.
Returns:
String

setDescriptor

public void setDescriptor(PropertyDescription descriptor)
Sets the PropertyDescriptor for this business object to that passed.
Parameters:
descriptor - PropertyDescription

setName

public void setName(java.lang.String name)
Sets the name of this business object to that passed.
Parameters:
name - String