SolarMetric Kodo JDO 3.0.3 generated on February 20 2004

kodo.jdbc.meta
Class MappingInfo

java.lang.Object
  |
  +--kodo.jdbc.meta.MappingInfo
Direct Known Subclasses:
ClassMappingInfo, FieldMappingInfo

public class MappingInfo
extends Object

Base class for ClassMappingInfo and FieldMappingInfo.


Constructor Summary
MappingInfo()
           
 
Method Summary
 void addAttribute(String name, String value)
          Add the given attribute to the mapping information.
 void addField(FieldMappingInfo value)
          Add the given embedded field to the mapping information.
 String getAttribute(String name)
          Return the given attribute to the mapping information.
 String[] getAttributeNames()
          Return all attribute keys.
 FieldMappingInfo getField(String name)
          Return information on the given embedded field.
 FieldMappingInfo[] getFields()
          Return all embedded fields.
 String getMappingType()
          Return the type for this mapping.
 void removeAllAttributes()
          Remove all attributes from the mapping inforamtion
 String removeAttribute(String name)
          Remove the given attribute from the mapping information.
 void setMappingType(String mappingType)
          Set the type for this mapping.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappingInfo

public MappingInfo()
Method Detail

getMappingType

public String getMappingType()
Return the type for this mapping.

setMappingType

public void setMappingType(String mappingType)
Set the type for this mapping.

getAttribute

public String getAttribute(String name)
Return the given attribute to the mapping information. Attributes are mapping-specific.

addAttribute

public void addAttribute(String name,
                         String value)
Add the given attribute to the mapping information. Attributes are mapping-specific.

removeAttribute

public String removeAttribute(String name)
Remove the given attribute from the mapping information.

removeAllAttributes

public void removeAllAttributes()
Remove all attributes from the mapping inforamtion

getAttributeNames

public String[] getAttributeNames()
Return all attribute keys.

getField

public FieldMappingInfo getField(String name)
Return information on the given embedded field.

addField

public void addField(FieldMappingInfo value)
Add the given embedded field to the mapping information.

getFields

public FieldMappingInfo[] getFields()
Return all embedded fields.

SolarMetric Kodo JDO 3.0.3 generated on February 20 2004

Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.