one.world.core
Class Type
java.lang.Object
|
+--one.world.core.Type
- All Implemented Interfaces:
- Serializable
- public final class Type
- extends Object
- implements Serializable
Implementation of a type. This class defines the type system for
tuples, that is, for tuple fields as well as the tuples themselves.
- Version:
- $Revision: 1.1 $
- See Also:
- Serialized Form
|
Method Summary |
static void |
validate(Class k)
Validate the specified tuple type. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
validate
public static void validate(Class k)
throws MalformedTupleException
- Validate the specified tuple type. This method validates that the
specified class represents a valid class of tuples. It checks
that
k itself adheres to the tuple specification. It
also checks that all fields of k that are tuples
adhere to the tuple specification.
- Parameters:
k - The tuple class to validate.- Throws:
MalformedTupleException - Signals that k is not a valid tuple class.- See Also:
Tuple
(C) Copyright 2001 UW CSE