Package rasj
Class RasCollectionType
- java.lang.Object
-
- rasj.RasType
-
- rasj.RasCollectionType
-
public class RasCollectionType extends RasType
PURPOSE: This class represents the Collection type in the ODMG conformant representation of the RasDaMan type system.
-
-
Constructor Summary
Constructors Constructor Description RasCollectionType()Simple constructor.RasCollectionType(RasType type)Constructor getting the element type of the new collection type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RasTypegetElementType()Retrieves the collection type's element type.java.lang.StringgetKind()Returns the type of this object (which is RAS_SET in this case).java.lang.StringtoString()Creates a string representation of this object.-
Methods inherited from class rasj.RasType
getAnyType, getName, getTypeID, isBaseType, isStructType
-
-
-
-
Constructor Detail
-
RasCollectionType
public RasCollectionType()
Simple constructor.
-
RasCollectionType
public RasCollectionType(RasType type)
Constructor getting the element type of the new collection type.- Parameters:
type- the element type of the new collection type
-
-
Method Detail
-
getElementType
public RasType getElementType()
Retrieves the collection type's element type.- Returns:
- the element type of this collection type
-
getKind
public java.lang.String getKind()
Returns the type of this object (which is RAS_SET in this case).- Returns:
- the type of this object (RAS_SET)
-
-