Package rasj
Class RasBaseType
- java.lang.Object
-
- rasj.RasType
-
- rasj.RasBaseType
-
- Direct Known Subclasses:
RasPrimitiveType,RasStructureType
public class RasBaseType extends RasType
PURPOSE: This class represents the Base types and is the superclass of the types RasStructureType and RasPrimitiveType in the representation of the RasDaMan type system.
Note: if a new base type is created using this class, it is only known on client-side but not stored within the database.
-
-
Constructor Summary
Constructors Constructor Description RasBaseType()Default constructor.RasBaseType(java.lang.String newTypeName, long newSize)Constructor getting name of basetype.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetSize()Retrieves the size of the type.intgetTypeID()Retrieves the id of the type.booleanisBaseType()Checks if the current type is a base type (primitive type or structure type).java.lang.StringtoString()Returns a string representation of this object.-
Methods inherited from class rasj.RasType
getAnyType, getName, isStructType
-
-
-
-
Method Detail
-
getTypeID
public int getTypeID()
Retrieves the id of the type.
-
isBaseType
public boolean isBaseType()
Checks if the current type is a base type (primitive type or structure type).- Overrides:
isBaseTypein classRasType- Returns:
- true if it is a base type, false otherwise.
-
getSize
public long getSize()
Retrieves the size of the type.- Returns:
- the size of the base type.
-
-