|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jpt.core.context.java.NullJavaTypeMappingDefinition
public class NullJavaTypeMappingDefinition
This mapping definition implementation is used to create a JavaNullAttributeMapping. A JavaNullAttributeMapping should be used when no "mapping" annotation exists on a Java type. Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
| Method Summary | |
|---|---|
JavaTypeMapping |
buildMapping(JavaPersistentType parent,
JpaFactory factory)
Build a Java type mapping for the specified type. |
java.lang.String |
getAnnotationName()
Return the type mapping's Java annotation name. |
java.lang.String |
getKey()
Return the type mapping's key. |
static JavaTypeMappingDefinition |
instance()
Return the singleton. |
boolean |
test(JavaPersistentType persistentType)
This is typically the final test, so it should always apply |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static JavaTypeMappingDefinition instance()
public java.lang.String getKey()
JavaTypeMappingDefinition
getKey in interface JavaTypeMappingDefinitionpublic java.lang.String getAnnotationName()
JavaTypeMappingDefinition
getAnnotationName in interface JavaTypeMappingDefinition
public JavaTypeMapping buildMapping(JavaPersistentType parent,
JpaFactory factory)
JavaTypeMappingDefinition
buildMapping in interface JavaTypeMappingDefinitionpublic boolean test(JavaPersistentType persistentType)
test in interface JavaTypeMappingDefinitionpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||