org.datanucleus.metadata
Class ExtensionMetaData

java.lang.Object
  extended by org.datanucleus.metadata.ExtensionMetaData
All Implemented Interfaces:
java.io.Serializable

public class ExtensionMetaData
extends java.lang.Object
implements java.io.Serializable

Representation of the Meta-Data for an extension. Takes the form of key and value. The vendor will be "datanucleus".

See Also:
Serialized Form

Field Summary
protected  java.lang.String key
          key tag value.
protected  java.lang.String value
          value tag value.
protected  java.lang.String vendorName
          vendor-name tag value.
 
Constructor Summary
ExtensionMetaData(java.lang.String vendorName, java.lang.String key, java.lang.String value)
          Constructor
 
Method Summary
 java.lang.String getKey()
          Accessor for the key tag value.
 java.lang.String getValue()
          Accessor for the value tag value .
 java.lang.String getVendorName()
          Accessor for the vendor-name tag value.
 java.lang.String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

vendorName

protected java.lang.String vendorName
vendor-name tag value.


key

protected java.lang.String key
key tag value.


value

protected java.lang.String value
value tag value.

Constructor Detail

ExtensionMetaData

public ExtensionMetaData(java.lang.String vendorName,
                         java.lang.String key,
                         java.lang.String value)
Constructor

Parameters:
vendorName - vendor-name tag value
key - key tag value
value - value tag value
Method Detail

getKey

public java.lang.String getKey()
Accessor for the key tag value.

Returns:
key tag value

getValue

public java.lang.String getValue()
Accessor for the value tag value .

Returns:
value tag value

getVendorName

public java.lang.String getVendorName()
Accessor for the vendor-name tag value.

Returns:
vendor-name tag value

toString

public java.lang.String toString()
Returns a string representation of the object.

Overrides:
toString in class java.lang.Object
Returns:
a string representation of the object.


Copyright © 2011. All Rights Reserved.