|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jpt.core.context.java.NullSpecifiedJavaAttributeMappingDefinition
public class NullSpecifiedJavaAttributeMappingDefinition
This mapping definition implementation is used to describe the specified mapping for a java attribute when no other mapping applies. 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 | |
|---|---|
JavaAttributeMapping |
buildMapping(JavaPersistentAttribute parent,
JpaFactory factory)
There is no specified mapping in this case, attributes should revert to the default |
java.lang.String |
getAnnotationName()
Return the attribute mapping's Java annotation name. |
java.lang.String |
getKey()
Return the attribute mapping's key. |
static JavaAttributeMappingDefinition |
instance()
Return the singleton. |
boolean |
testDefault(JavaPersistentAttribute persistentAttribute)
Obviously false |
boolean |
testSpecified(JavaPersistentAttribute persistentAttribute)
This is typically the final test, so it should always apply |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static JavaAttributeMappingDefinition instance()
public java.lang.String getKey()
JavaAttributeMappingDefinition
getKey in interface JavaAttributeMappingDefinitionpublic java.lang.String getAnnotationName()
JavaAttributeMappingDefinition
getAnnotationName in interface JavaAttributeMappingDefinition
public JavaAttributeMapping buildMapping(JavaPersistentAttribute parent,
JpaFactory factory)
buildMapping in interface JavaAttributeMappingDefinitionpublic boolean testDefault(JavaPersistentAttribute persistentAttribute)
testDefault in interface JavaAttributeMappingDefinitionpublic boolean testSpecified(JavaPersistentAttribute persistentAttribute)
testSpecified in interface JavaAttributeMappingDefinition
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||