public final class DomainTypeFactory
extends java.lang.Object
| Constructor and Description |
|---|
DomainTypeFactory() |
| Modifier and Type | Method and Description |
|---|---|
static <BASIC,DOMAIN> |
getDomainType(java.lang.Class<DOMAIN> domainClass)
Creates the domain description.
|
static <BASIC,DOMAIN> |
getDomainType(java.lang.Class<DOMAIN> domainClass,
ClassHelper classHelper)
Creates the domain description with
ClassHelper. |
static <BASIC,DOMAIN> |
getExternalDomainType(java.lang.Class<DOMAIN> domainClass)
Creates the external domain description.
|
static <BASIC,DOMAIN> |
getExternalDomainType(java.lang.Class<DOMAIN> domainClass,
ClassHelper classHelper)
Creates the external domain description with
ClassHelper. |
public static <BASIC,DOMAIN> DomainType<BASIC,DOMAIN> getDomainType(java.lang.Class<DOMAIN> domainClass)
BASIC - the basic typeDOMAIN - the domain typedomainClass - the domain classDomaNullPointerException - if any arguments are nullDomaIllegalArgumentException - if the domain class is not annotated with DomainDomainTypeNotFoundException - if the domain description is not foundpublic static <BASIC,DOMAIN> DomainType<BASIC,DOMAIN> getDomainType(java.lang.Class<DOMAIN> domainClass, ClassHelper classHelper)
ClassHelper.BASIC - the basic typeDOMAIN - the domain typedomainClass - the domain classclassHelper - the class helperDomaNullPointerException - if any arguments are nullDomaIllegalArgumentException - if the domain class is not annotated with DomainDomainTypeNotFoundException - if the domain description is not foundpublic static <BASIC,DOMAIN> DomainType<BASIC,DOMAIN> getExternalDomainType(java.lang.Class<DOMAIN> domainClass)
BASIC - the basic typeDOMAIN - the domain typedomainClass - the domain classDomaNullPointerException - if domainClass is nullpublic static <BASIC,DOMAIN> DomainType<BASIC,DOMAIN> getExternalDomainType(java.lang.Class<DOMAIN> domainClass, ClassHelper classHelper)
ClassHelper.BASIC - the basic typeDOMAIN - the domain typedomainClass - the domain classclassHelper - the class helperDomaNullPointerException - if any arguments are null