@Deprecated public class TupleContainer extends TupleContainer
Constructor and Description |
---|
TupleContainer(Heading heading,
TupleCollectionBuffer tupleCollectionBuffer)
Deprecated.
Creates the AbstractTupleContainer
|
Modifier and Type | Method and Description |
---|---|
<C> java.util.Collection<C> |
toObjectCollection(java.lang.Class<C> objectClass)
Deprecated.
- replace with the replacing getObjectCollection method from the DBObjectFactory class
|
<C> java.util.Collection<C> |
toObjectCollectionIgnoringMissingSetters(java.lang.Class<C> objectClass)
Deprecated.
- replace with the replacing getObjectCollection method from the DBObjectFactory class
|
java.util.Map<java.lang.Class<?>,java.lang.Object>[] |
toObjectsArray(java.lang.Class<?>[] objectClass)
Deprecated.
- replace with the replacing getObjectsCollection method from the DBObjectFactory class, e.g. by inlining your the invocations of this method in your source code
|
java.util.Collection<java.util.Map<java.lang.Class<?>,java.lang.Object>> |
toObjectsCollection(java.lang.Class<?>[] objectClasses)
Deprecated.
- replace with the replacing getObjectsCollection method from the DBObjectFactory class, e.g. by inlining your the invocations of this method in your source code
|
getHeading, getTupleCollectionBuffer, iterator, printBodyEscapedWithBodyHeaderWithTypeNames, printBodyEscapedWithoutBodyHeaderWithoutTypeNames, printBodyEscapedWithoutBodyHeaderWithTypeNames, printBodyWithoutBodyHeaderWithoutTypeNames, printBodyWithoutBodyHeaderWithTypeNames, printBodyXMLWithBodyHeader, printBodyXMLWithoutBodyHeader, printValueEscapedWithoutTypeNames, printValueEscapedWithTypeNames, printValueWithoutTypeNames, printValueWithTypeNames, printValueXML, size, toString
public TupleContainer(Heading heading, TupleCollectionBuffer tupleCollectionBuffer)
heading
- The heading for tuple container.tupleCollectionBuffer
- The buffer holding the collection of tuples that constitutes the relation or bag value@Deprecated public final <C> java.util.Collection<C> toObjectCollection(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), followed by the uppercased attribute name (i.e. first character uppercase, all others lowercase), followed by "FromDB". The argument list of this setter method must consist of excatly one java.lang.String argument.ConstructorMissingException
- if objectClass does not denote a public class, or it denotes an abstract class, or the class does not have a public no-arg constructorSettersMissingException
- if a needed setter is missing in the class denoted by objectClassClassDoesNotImplementDBObjectException
- if objectClass does not implement the required DBObject interface@Deprecated public final <C> java.util.Collection<C> toObjectCollectionIgnoringMissingSetters(java.lang.Class<C> objectClass) throws 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 at most one 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), followed by the uppercased attribute name (i.e. first character uppercase, all others lowercase), followed by "FromDB". The argument list of this setter method must consist of excatly one java.lang.String argument.ConstructorMissingException
- 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>[] toObjectsArray(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), followed by the uppercased attribute name (i.e. first character uppercase, all others lowercase), followed by "FromDB". The argument list of this setter method must consist of excatly one java.lang.String argument.ConstructorMissingException
- if some objectClass does not denote a public class, or it denotes an abstract class, ordenotes a class that does not have a public no-arg constructorSettersMissingException
- if some attribute in the heading exists for which no corresponding setter could be found in any of the classes denoted by objectClass[]ClassDoesNotImplementDBObjectException
- if objectClass does not implement the required DBObject interface@Deprecated public final java.util.Collection<java.util.Map<java.lang.Class<?>,java.lang.Object>> toObjectsCollection(java.lang.Class<?>[] objectClasses) throws SettersMissingException, ConstructorMissingException, ClassDoesNotImplementDBObjectException
objectClasses
- 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), followed by the uppercased attribute name (i.e. first character uppercase, all others lowercase), followed by "FromDB". The argument list of this setter method must consist of excatly one java.lang.String argument.ConstructorMissingException
- if some objectClass does not denote a public class, or it denotes an abstract class, ordenotes a class that does not have a public no-arg constructorSettersMissingException
- if some attribute in the heading exists for which no corresponding setter could be found in any of the classes denoted by objectClass[]ClassDoesNotImplementDBObjectException
- if objectClass does not implement the required DBObject interface