Package rasj
Class RasStructureType
- java.lang.Object
-
- rasj.RasType
-
- rasj.RasBaseType
-
- rasj.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.
-
-
Field Summary
-
Fields inherited from class rasj.RasBaseType
typeSize
-
-
Constructor Summary
Constructors Constructor Description RasStructureType()RasStructureType(java.lang.String name, RasBaseType[] btyp, java.lang.String[] attr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.String[]getAttributes()RasBaseType[]getBaseTypes()intgetTypeID()Retrieves the id of the type.booleanisStructType()Checks if this type is a primitive or structured type.java.lang.StringtoString()Returns a string representation of this object.-
Methods inherited from class rasj.RasBaseType
getSize, isBaseType
-
Methods inherited from class rasj.RasType
getAnyType, getName
-
-
-
-
Constructor Detail
-
RasStructureType
public RasStructureType()
-
RasStructureType
public RasStructureType(java.lang.String name, RasBaseType[] btyp, java.lang.String[] attr)
-
-
Method Detail
-
getTypeID
public int getTypeID()
Description copied from class:RasBaseTypeRetrieves the id of the type.- Overrides:
getTypeIDin classRasBaseType- Returns:
- the id of the type
-
getBaseTypes
public RasBaseType[] getBaseTypes()
-
getAttributes
public java.lang.String[] getAttributes()
-
isStructType
public boolean isStructType()
Description copied from class:RasTypeChecks if this type is a primitive or structured type.- Overrides:
isStructTypein classRasType- Returns:
- true if this is a structured type, otherwise false
-
toString
public java.lang.String toString()
Description copied from class:RasBaseTypeReturns a string representation of this object.- Overrides:
toStringin classRasBaseType- Returns:
- a string description of this object.
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-