org.eclipse.jpt.jpa.core.context
Interface ReadOnlyAccessHolder

All Superinterfaces:
Model
All Known Subinterfaces:
AccessHolder, JavaPersistentAttribute, JavaPersistentAttribute2_0, JavaPersistentType, JavaPersistentType2_0, OrmPersistentAttribute, OrmPersistentAttribute2_0, OrmPersistentType, OrmPersistentType2_0, OrmReadOnlyPersistentAttribute, OrmReadOnlyPersistentAttribute2_0, PersistentAttribute, PersistentAttribute2_0, PersistentType, PersistentType2_0, ReadOnlyPersistentAttribute, ReadOnlyPersistentAttribute2_0

public interface ReadOnlyAccessHolder
extends Model

Common interface that can be used by clients interested only in a type or attribute's access setting (e.g. a UI composite).

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

Method Summary
 AccessType getAccess()
          Return the access type, whether specified or defaulted.
 
Methods inherited from interface org.eclipse.jpt.common.utility.model.Model
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener
 

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.