@Deprecated public class Tuple extends Tuple
Constructor and Description |
---|
Tuple(Heading heading,
java.util.Map<java.lang.String,ValueBuffer> attributeValueMap)
Deprecated.
- replace with
Tuple(Map, Heading) |
Tuple(Heading heading,
TupleBuffer tupleBuffer)
Deprecated.
Creates the Tuple object
|
Tuple(java.util.Map<NameIdentifier,ValueBuffer> attributeValueMap,
Heading heading)
Deprecated.
Creates the tuple
|
Modifier and Type | Method and Description |
---|---|
<C> C |
toObject(java.lang.Class<C> objectClass)
Deprecated.
- replace by be.SIRAPRISE.client.jsba.DBObjectFactory.getObject(...) - e.g. by inlining the calls to this method
|
java.util.Map<java.lang.Class<?>,java.lang.Object> |
toObjects(java.lang.Class<?>[] objectClass)
Deprecated.
- replace by be.SIRAPRISE.client.jsba.DBObjectFactory.getObjects(...) - e.g. by inlining the calls to this method
|
equals, equalsTuple, escapedValueText, escapedValueText, getHeading, getPropositionText, getTupleBuffer, hashCode, identifierValueMap, printBodyValueWithoutTypeNames, printBodyValueXML, printEscapedBodyValueWithoutTypeNames, printEscapedBodyValueWithTypeNames, printEscapedValueWithoutTypeNames, printEscapedValueWithTypeNames, printValueWithoutTypeNames, printValueWithTypeNames, printValueXML, rvaValue, rvaValue, toString, tvaValue, tvaValue, valueBuffer, valueBuffer, valueMap, valueText, valueText
@Deprecated public Tuple(Heading heading, java.util.Map<java.lang.String,ValueBuffer> attributeValueMap)
Tuple(Map, Heading)
heading
- the heading that the Tuple conforms toattributeValueMap
- the map holding the tuple's attribute valuespublic Tuple(java.util.Map<NameIdentifier,ValueBuffer> attributeValueMap, Heading heading)
heading
- the heading that the Tuple conforms toattributeValueMap
- the map holding the tuple's attribute valuespublic Tuple(Heading heading, TupleBuffer tupleBuffer)
heading
- the heading that the Tuple conforms totupleBuffer
- the buffer holding the tuple value@Deprecated public final <C> C toObject(java.lang.Class<C> objectClass) throws SettersMissingException, ConstructorMissingException, ClassDoesNotImplementDBObjectException
C
- -objectClass
- A Class object denoting the class of the objects to be returned. objectClass must denote a public, non-abstract class that has a public no-arg constructor, and that has a unique setter method for each attribute in the heading. The name of this unique method must be the concatenation of the word "set" (all lowercase), the attribute name (capitalized), and the suffix "FromDB". The argument list of this setter method must consist of excatly one java.lang.String argument.SettersMissingException
- if a needed setter is missing in the class denoted by objectClassConstructorMissingException
- if objectClass does not denote a public class, or it denotes an abstract class, or the class does not have a public no-arg constructorClassDoesNotImplementDBObjectException
- if objectClass does not implement the required DBObject interface@Deprecated public final java.util.Map<java.lang.Class<?>,java.lang.Object> toObjects(java.lang.Class<?>[] objectClass) throws SettersMissingException, ConstructorMissingException, ClassDoesNotImplementDBObjectException
objectClass
- An array of Class objects denoting the classes of the objects to be returned for each tuple. Each objectClass must denote a public, non-abstract class that has a public no-arg constructor, and that has a unique setter method for some attribute in the heading. The name of this unique method must be the concatenation of the word "set" (all lowercase), the attribute name (capitalized), and the suffix "FromDB". The argument list of this setter method must consist of excatly one java.lang.String argument.SettersMissingException
- if some attribute in the heading exists for which no corresponding setter could be found in any of the classes denoted by objectClass[]ConstructorMissingException
- if objectClass[] contains any class that does not denote a public class, or denotes an abstract class, or does not have a public no-arg constructorClassDoesNotImplementDBObjectException
- if objectClass[] contains any class that does not implement the required DBObject interface