Package rasj

Class RasStructureType


public class RasStructureType extends RasBaseType

 PURPOSE:
 This class represents all user defined structured types in the ODMG conformant
 representation of the RasDaMan type system.
  • Constructor Details

    • RasStructureType

      public RasStructureType()
    • RasStructureType

      public RasStructureType(String name, RasBaseType[] btyp, String[] attr)
  • Method Details

    • getTypeID

      public int getTypeID()
      Description copied from class: RasBaseType
      Retrieves the id of the type.
      Overrides:
      getTypeID in class RasBaseType
      Returns:
      the id of the type
    • getBaseTypes

      public RasBaseType[] getBaseTypes()
    • getAttributes

      public String[] getAttributes()
    • isStructType

      public boolean isStructType()
      Description copied from class: RasType
      Checks if this type is a primitive or structured type.
      Overrides:
      isStructType in class RasType
      Returns:
      true if this is a structured type, otherwise false
    • toString

      public String toString()
      Description copied from class: RasBaseType
      Returns a string representation of this object.
      Overrides:
      toString in class RasBaseType
      Returns:
      a string description of this object.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object