ozone core API

org.ozoneDB.core.xml
Class ObjElement

java.lang.Object
  |
  +--org.ozoneDB.core.xml.ObjElement
All Implemented Interfaces:
Consts

public class ObjElement
extends java.lang.Object
implements Consts

This class saves all attributes of the objElement.

Version:
$Revision: 1.1 $
Author:
SMB

Field Summary
private  java.lang.String className
          The type of the obj.
private  java.lang.String id
          The id of the obj.
private  java.lang.Object obj
          The object!!
private  java.lang.String ozoneObjectId
          The id of the OzoneObject (if the object is an OzoneObject).
private  java.lang.String ozoneObjectName
          The name of the OzoneObject (if the object is an OzoneObject).
 
Fields inherited from interface org.ozoneDB.core.xml.Consts
ATTR_ID, ATTR_NAME, ATTR_PROXY_TYPE, ATTR_REF, ATTR_TYPE, ATTR_XLINK_HREF_LOCAL, ATTR_XLINK_HREF_RAW, ATTR_XLINK_NAMESPACE, ATTR_XLINK_TYPE_LOCAL, ATTR_XLINK_TYPE_RAW, ATTR_XLINK_TYPE_VALUE, REMOTE_ID, TAG_MEMBER, TAG_OBJ, TAG_SUPERCLASS, TAG_VALUE, TAG_VALUEARRAY, TAG_VALUEOBJ
 
Constructor Summary
ObjElement()
           
ObjElement(org.xml.sax.Attributes atts)
          The constructor creates a new instance of the obj with this className.
 
Method Summary
 java.lang.String getClassName()
           
 java.lang.String getId()
           
 java.lang.Object getObject()
           
 java.lang.Object getOzoneObjectId()
           
 java.lang.Object getOzoneObjectName()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

className

private java.lang.String className
The type of the obj.


id

private java.lang.String id
The id of the obj.


obj

private java.lang.Object obj
The object!!


ozoneObjectName

private java.lang.String ozoneObjectName
The name of the OzoneObject (if the object is an OzoneObject).


ozoneObjectId

private java.lang.String ozoneObjectId
The id of the OzoneObject (if the object is an OzoneObject).

Constructor Detail

ObjElement

public ObjElement()

ObjElement

public ObjElement(org.xml.sax.Attributes atts)
           throws java.lang.ClassNotFoundException,
                  java.lang.InstantiationException,
                  java.lang.IllegalAccessException
The constructor creates a new instance of the obj with this className.

Parameters:
atts - (the attributes)
Method Detail

getClassName

public java.lang.String getClassName()

getId

public java.lang.String getId()

getObject

public java.lang.Object getObject()

getOzoneObjectName

public java.lang.Object getOzoneObjectName()

getOzoneObjectId

public java.lang.Object getOzoneObjectId()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

ozone core API

Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.