DODS 5.1 API

org.webdocwf.util.genericstore.data
Class TypeDefinitionDataStruct

java.lang.Object
  |
  +--org.webdocwf.util.genericstore.data.TypeDefinitionDataStruct
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class TypeDefinitionDataStruct
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

Data structure for DO class. A container for data members of a DO class. A DO class contains a reference to a DataStruct class. This reference can be null (a DO whose data has not yet been retrieved from the database), allowing a DO object to be a lightweight placeholder until its data is needed.

Since:
org
Version:
$Revision: 1.2 $
Author:
administrator
See Also:
Serialized Form

Field Summary
 java.lang.String KEYVALUE
           
 java.lang.String LONGNAME
           
 boolean readOnly
          A DO refers to this DataStruct.
 java.lang.String SHORTNAME
           
 java.lang.String XMLNAME
           
 
Constructor Summary
TypeDefinitionDataStruct()
           
 
Method Summary
 TypeDefinitionDataStruct duplicate()
          Create a copy of the guts of a DO.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

readOnly

public boolean readOnly
A DO refers to this DataStruct. readOnly is set to true when the DO is stored in its class cache.


KEYVALUE

public java.lang.String KEYVALUE

SHORTNAME

public java.lang.String SHORTNAME

LONGNAME

public java.lang.String LONGNAME

XMLNAME

public java.lang.String XMLNAME
Constructor Detail

TypeDefinitionDataStruct

public TypeDefinitionDataStruct()
Method Detail

duplicate

public TypeDefinitionDataStruct duplicate()
                                   throws DatabaseManagerException,
                                          ObjectIdException
Create a copy of the guts of a DO.

Throws:
DatabaseManagerException - if createExisting() fails for a contained DO
ObjectIdException - if GenericDO has trouble obtaining a valid id.

DODS 5.1 API