org.glassfish.gmbal.impl
Class TypeConverterImpl.TypeConverterPlaceHolderImpl

java.lang.Object
  extended by org.glassfish.gmbal.impl.TypeConverterImpl.TypeConverterPlaceHolderImpl
All Implemented Interfaces:
TypeConverter
Enclosing class:
TypeConverterImpl

public static class TypeConverterImpl.TypeConverterPlaceHolderImpl
extends java.lang.Object
implements TypeConverter


Constructor Summary
TypeConverterImpl.TypeConverterPlaceHolderImpl(EvaluatedType type)
           
 
Method Summary
 java.lang.Object fromManagedEntity(java.lang.Object entity)
          Convert from a ManagedEntity to a problem-domain Object.
 EvaluatedType getDataType()
          Java generic type of attribute in problem-domain Object.
 javax.management.openmbean.OpenType getManagedType()
          Open MBeans Open Type for management domain object.
 boolean isIdentity()
          Returns true if this TypeConverter is an identity transformation.
 java.lang.Object toManagedEntity(java.lang.Object obj)
          Convert from a problem-domain Object obj to a managed entity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeConverterImpl.TypeConverterPlaceHolderImpl

public TypeConverterImpl.TypeConverterPlaceHolderImpl(EvaluatedType type)
Method Detail

getDataType

public EvaluatedType getDataType()
Description copied from interface: TypeConverter
Java generic type of attribute in problem-domain Object.

Specified by:
getDataType in interface TypeConverter
Returns:
The Java type that this TypeConverter handles.

getManagedType

public javax.management.openmbean.OpenType getManagedType()
Description copied from interface: TypeConverter
Open MBeans Open Type for management domain object.

Specified by:
getManagedType in interface TypeConverter
Returns:
The OpenType that this TypeConverter handles.

toManagedEntity

public java.lang.Object toManagedEntity(java.lang.Object obj)
Description copied from interface: TypeConverter
Convert from a problem-domain Object obj to a managed entity.

Specified by:
toManagedEntity in interface TypeConverter
Parameters:
obj - The Java object to be converted to an open type.
Returns:
The resulting open type.

fromManagedEntity

public java.lang.Object fromManagedEntity(java.lang.Object entity)
Description copied from interface: TypeConverter
Convert from a ManagedEntity to a problem-domain Object.

Specified by:
fromManagedEntity in interface TypeConverter
Parameters:
entity - The managed entity to be converted to a java type.
Returns:
The resulting java type.

isIdentity

public boolean isIdentity()
Description copied from interface: TypeConverter
Returns true if this TypeConverter is an identity transformation.

Specified by:
isIdentity in interface TypeConverter
Returns:
True if this TypeConverter is an identity transformation.