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 Details

    • 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 Details

    • getElementType

      public RasType getElementType()
      Retrieves the collection type's element type.
      Returns:
      the element type of this collection type
    • getKind

      public String getKind()
      Returns the type of this object (which is RAS_SET in this case).
      Returns:
      the type of this object (RAS_SET)
    • toString

      public String toString()
      Creates a string representation of this object.
      Overrides:
      toString in class RasType
      Returns:
      the string representation of this object