com.agfa.hap.sdo.helper
Interface TypeHelper

All Superinterfaces:
TypeHelper

public interface TypeHelper
extends TypeHelper

Redefinition of TypeHelper to provide type-safe access to types.

Author:
AMOCZ
See Also:
TypeHelper

Field Summary
static TypeHelper INSTANCE
           
 
Method Summary
 Type getType(java.lang.Class interfaceClass)
          Return the Type for this interfaceClass or null if not found.
 Type getType(java.lang.String uri, java.lang.String typeName)
          Return the Type specified by typeName with the given uri, or null if not found.
 
Methods inherited from interface commonj.sdo.helper.TypeHelper
define, define, defineOpenContentProperty, getOpenContentProperty
 

Field Detail

INSTANCE

static final TypeHelper INSTANCE
Method Detail

getType

Type getType(java.lang.String uri,
             java.lang.String typeName)
Return the Type specified by typeName with the given uri, or null if not found.

Specified by:
getType in interface TypeHelper
Parameters:
uri - The uri of the Type - type.getURI();
typeName - The name of the Type - type.getName();
Returns:
the Type specified by typeName with the given uri, or null if not found.

getType

Type getType(java.lang.Class interfaceClass)
Return the Type for this interfaceClass or null if not found.

Specified by:
getType in interface TypeHelper
Parameters:
interfaceClass - is the interface for the DataObject's Type - type.getInstanceClass();
Returns:
the Type for this interfaceClass or null if not found.


Copyright © 2007. All Rights Reserved.