gov.usda.gdpc.database
Class ExtraInfo

java.lang.Object
  extended bygov.usda.gdpc.database.ExtraInfo

public class ExtraInfo
extends java.lang.Object

Author:
terryc

Constructor Summary
ExtraInfo()
          ExtraInfo constructor.
 
Method Summary
 void addInfo(Property property, java.lang.Object info)
          Add extra information for a particular property.
 java.lang.Object getInfo(DatabaseMapping mapping)
          Get information for the specified database mapping.
 void removeInfo(Property property)
          Removes extra information for the specified property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtraInfo

public ExtraInfo()
ExtraInfo constructor.

Method Detail

addInfo

public void addInfo(Property property,
                    java.lang.Object info)
Add extra information for a particular property.

Parameters:
property - the propery
info - the extra information

removeInfo

public void removeInfo(Property property)
Removes extra information for the specified property.

Parameters:
property - the property

getInfo

public java.lang.Object getInfo(DatabaseMapping mapping)
Get information for the specified database mapping.

Parameters:
mapping - the database mapping
Returns:
extra information. null if nothing defined.