org.eclipse.jpt.core.context
Interface AccessHolder

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNode, Model
All Known Subinterfaces:
JavaPersistentAttribute, JavaPersistentAttribute2_0, JavaPersistentType, JavaPersistentType2_0, OrmPersistentAttribute, OrmPersistentAttribute2_0, OrmPersistentType, OrmPersistentType2_0, PersistentAttribute, PersistentAttribute2_0, PersistentType, PersistentType2_0

public interface AccessHolder
extends JpaContextNode

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:
2.2
Version:
2.2

Field Summary
static java.lang.String DEFAULT_ACCESS_PROPERTY
          String constant associated with changes to the default access type
static java.lang.String SPECIFIED_ACCESS_PROPERTY
          String constant associated with changes to the specified access type
 
Method Summary
 AccessType getAccess()
          Return the access type, whether specified or defaulted.
 AccessType getDefaultAccess()
          Return the default access type, never null
 AccessType getSpecifiedAccess()
          Return the specified access type;
 void setSpecifiedAccess(AccessType newSpecifiedAccess)
          Set the specified access type.
 
Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, getResourceType, postUpdate
 
Methods inherited from interface org.eclipse.jpt.core.JpaNode
getJpaProject, getParent
 
Methods inherited from interface org.eclipse.jpt.utility.model.Model
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.jpt.core.IResourcePart
getResource
 

Field Detail

DEFAULT_ACCESS_PROPERTY

static final java.lang.String DEFAULT_ACCESS_PROPERTY
String constant associated with changes to the default access type

See Also:
Constant Field Values

SPECIFIED_ACCESS_PROPERTY

static final java.lang.String SPECIFIED_ACCESS_PROPERTY
String constant associated with changes to the specified access type

See Also:
Constant Field Values
Method Detail

getAccess

AccessType getAccess()
Return the access type, whether specified or defaulted. This should never return null since at least the default will be set


getDefaultAccess

AccessType getDefaultAccess()
Return the default access type, never null


getSpecifiedAccess

AccessType getSpecifiedAccess()
Return the specified access type;


setSpecifiedAccess

void setSpecifiedAccess(AccessType newSpecifiedAccess)
Set the specified access type.