com.triactive.jdo.model
Class MetaData

java.lang.Object
  extended bycom.triactive.jdo.model.MetaData
Direct Known Subclasses:
ArrayMetaData, ClassMetaData, CollectionMetaData, FieldMetaData, MapMetaData

public abstract class MetaData
extends java.lang.Object


Field Summary
static java.lang.String MY_VENDOR
          The vendor string used for TJDO-specific metadata extensions.
protected  java.util.HashMap vendorExtensions
           
 
Constructor Summary
protected MetaData()
           
protected MetaData(java.net.URL url, org.w3c.dom.Element elem)
           
 
Method Summary
protected  void addVendorExtensions(java.net.URL url, org.w3c.dom.Element elem)
          Add the vendor extensions found nested within the given Element.
abstract  java.lang.String getJavaName()
           
protected static java.lang.Class getReferencedType(java.lang.String typeAttr, ClassMetaData owner)
           
 java.lang.String getVendorExtension(java.lang.String vendorName, java.lang.String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MY_VENDOR

public static final java.lang.String MY_VENDOR
The vendor string used for TJDO-specific metadata extensions. This is the string "triactive".

See Also:
Constant Field Values

vendorExtensions

protected final java.util.HashMap vendorExtensions
Constructor Detail

MetaData

protected MetaData()

MetaData

protected MetaData(java.net.URL url,
                   org.w3c.dom.Element elem)
Method Detail

addVendorExtensions

protected void addVendorExtensions(java.net.URL url,
                                   org.w3c.dom.Element elem)
Add the vendor extensions found nested within the given Element.

Parameters:
url - The URL that this is the resource that this Element came from.
elem - The Element to obtain the vendor extensions from.

getJavaName

public abstract java.lang.String getJavaName()

getVendorExtension

public java.lang.String getVendorExtension(java.lang.String vendorName,
                                           java.lang.String key)

getReferencedType

protected static java.lang.Class getReferencedType(java.lang.String typeAttr,
                                                   ClassMetaData owner)


Copyright 2001-2007 The TJDO Project All Rights Reserved.