Dali Provisional API
Release 3.2

org.eclipse.jpt.jaxb.core.context.java
Interface JavaPersistentAttribute

All Superinterfaces:
IAdaptable, JaxbContextNode, JaxbNode, JaxbPersistentAttribute, JptResourceTypeReference, Model

public interface JavaPersistentAttribute
extends JaxbPersistentAttribute

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.

Since:
3.3

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbPersistentAttribute
JaxbPersistentAttribute.MappingTransformer, JaxbPersistentAttribute.NameTransformer
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
JptResourceTypeReference.ResourceTypeIsKindOf, JptResourceTypeReference.ResourceTypeTransformer
 
Field Summary
static String DEFAULT_MAPPING_KEY_PROPERTY
           
 
Fields inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbPersistentAttribute
MAPPING_PROPERTY, MAPPING_TRANSFORMER, NAME_TRANSFORMER
 
Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
TRANSFORMER
 
Method Summary
 JavaClassMapping getClassMapping()
           
 String getDefaultMappingKey()
          Return the key for the attribute's default mapping.
 JavaResourceAttribute getJavaResourceAttribute()
           
 boolean isFor(JavaResourceField resourceField)
           
 boolean isFor(JavaResourceMethod resourceGetter, JavaResourceMethod resourceSetter)
           
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbPersistentAttribute
getDeclaringTypeName, getJavaResourceAttributeBaseTypeName, getMapping, getMappingKey, getName, isInherited, isJavaResourceAttributeCollectionType, isJavaResourceAttributeTypeSubTypeOf, setMappingKey
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbContextNode
getCompletionProposals, getContextRoot, getValidationTextRange, synchronizeWithResourceModel, update, validate
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.JaxbNode
getJaxbProject, getParent, getResource, stateChanged
 
Methods inherited from interface org.eclipse.jpt.common.utility.model.Model
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
getResourceType
 

Field Detail

DEFAULT_MAPPING_KEY_PROPERTY

static final String DEFAULT_MAPPING_KEY_PROPERTY
See Also:
Constant Field Values
Method Detail

getClassMapping

JavaClassMapping getClassMapping()
Specified by:
getClassMapping in interface JaxbPersistentAttribute

getJavaResourceAttribute

JavaResourceAttribute getJavaResourceAttribute()

isFor

boolean isFor(JavaResourceField resourceField)

isFor

boolean isFor(JavaResourceMethod resourceGetter,
              JavaResourceMethod resourceSetter)

getDefaultMappingKey

String getDefaultMappingKey()
Return the key for the attribute's default mapping.

See Also:
JaxbAttributeMapping#isDefault()

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.