com.hedgehog.model
Class ModelObjectMapping

java.lang.Object
  extended by com.hedgehog.HObject
      extended by com.hedgehog.model.ModelObjectMapping
All Implemented Interfaces:
java.lang.Comparable, java.util.Comparator

public class ModelObjectMapping
extends HObject

Title: ModelObjectMapping - facilitates the mapping between string ModelObject names and actual objects.

Description: A support class that facilitates the mapping between string ModelObject names and actual objects.

Copyright: Copyright (c) Hedgehog Software.

Company: Hedgehog Software.

Since:
1.0
Version:
1.1

Field Summary
 
Fields inherited from class com.hedgehog.HObject
mID, mName
 
Method Summary
static java.lang.String simpleNameToFullName(java.lang.String simpleName)
          Returns the full class name corresponding to the specified simple class name.
static ModelObject simpleNameToObject(java.lang.String simpleName)
          Returns a default instance of a ModelObject corresponding to the specified class simple name.
 
Methods inherited from class com.hedgehog.HObject
clone, compare, compareTo, copy, equals, getID, getName, hashCode, hasID, hasName, setID, setName
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

simpleNameToFullName

public static java.lang.String simpleNameToFullName(java.lang.String simpleName)
Returns the full class name corresponding to the specified simple class name.

Parameters:
simpleName - Simple class name.
Returns:
The full class name corresponding to the specified simple class name.

simpleNameToObject

public static ModelObject simpleNameToObject(java.lang.String simpleName)
Returns a default instance of a ModelObject corresponding to the specified class simple name.

Parameters:
simpleName - Class simple name.
Returns:
New default instance of a ModelObject corresponding to the specified class simple name.