|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tuscany.sca.interfacedef.java.jaxws.GeneratedDataTypeImpl
public class GeneratedDataTypeImpl
A special data type that generate the class on demand
Constructor Summary | |
---|---|
GeneratedDataTypeImpl(XMLAdapterExtensionPoint xmlAdapters,
java.lang.Class<? extends java.lang.Throwable> exceptionClass,
GeneratedClassLoader cl)
|
|
GeneratedDataTypeImpl(XMLAdapterExtensionPoint xmlAdapters,
java.lang.reflect.Method m,
java.lang.String wrapperClassName,
java.lang.String wrapperNamespace,
java.lang.String wrapperName,
boolean request,
GeneratedClassLoader cl)
|
Method Summary | ||
---|---|---|
java.lang.Object |
clone()
Clone a data type |
|
java.lang.String |
getDataBinding()
Get the databinding for the given data type |
|
java.lang.reflect.Type |
getGenericType()
Get the java generic type |
|
XMLType |
getLogical()
Returns the logical identifier used by the assembly. |
|
|
getMetaData(java.lang.Class<T> type)
Get the databinding-specific metadata |
|
java.lang.Class<?> |
getPhysical()
Returns the physical type used by the runtime. |
|
void |
setDataBinding(java.lang.String dataBinding)
Set the databinding for the given data type |
|
void |
setGenericType(java.lang.reflect.Type genericType)
Set the java generic type |
|
void |
setLogical(XMLType logical)
Set the logical type of the data type |
|
|
setMetaData(java.lang.Class<T> type,
T metaData)
Set the databinding-specific metadata |
|
void |
setPhysical(java.lang.Class<?> cls)
Set the java type for the data |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GeneratedDataTypeImpl(XMLAdapterExtensionPoint xmlAdapters, java.lang.Class<? extends java.lang.Throwable> exceptionClass, GeneratedClassLoader cl)
public GeneratedDataTypeImpl(XMLAdapterExtensionPoint xmlAdapters, java.lang.reflect.Method m, java.lang.String wrapperClassName, java.lang.String wrapperNamespace, java.lang.String wrapperName, boolean request, GeneratedClassLoader cl)
Method Detail |
---|
public java.lang.String getDataBinding()
DataType
getDataBinding
in interface DataType<XMLType>
public java.lang.reflect.Type getGenericType()
DataType
getGenericType
in interface DataType<XMLType>
public XMLType getLogical()
DataType
getLogical
in interface DataType<XMLType>
public java.lang.Class<?> getPhysical()
DataType
getPhysical
in interface DataType<XMLType>
public void setDataBinding(java.lang.String dataBinding)
DataType
setDataBinding
in interface DataType<XMLType>
dataBinding
- the dataBinding to setpublic void setGenericType(java.lang.reflect.Type genericType)
DataType
setGenericType
in interface DataType<XMLType>
public void setLogical(XMLType logical)
DataType
setLogical
in interface DataType<XMLType>
logical
- the logical to setpublic void setPhysical(java.lang.Class<?> cls)
DataType
setPhysical
in interface DataType<XMLType>
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
DataType
clone
in interface DataType<XMLType>
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public <T> T getMetaData(java.lang.Class<T> type)
DataType
getMetaData
in interface DataType<XMLType>
type
- The java type of the metadata
public <T> void setMetaData(java.lang.Class<T> type, T metaData)
DataType
setMetaData
in interface DataType<XMLType>
type
- The java type of the metadatametaData
- the databinding-specific metadata, such as SDO's commonj.sdo.Type or
JAXB's javax.xml.bind.JAXBContext
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |