org.eclipse.jpt.jaxb.core.context
Interface XmlAccessTypeHolder

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IResourcePart, JaxbContextNode, JaxbNode, Model
All Known Subinterfaces:
JaxbClass, JaxbPackageInfo, JaxbPersistentClass, JaxbTransientClass

public interface XmlAccessTypeHolder
extends JaxbContextNode

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.0
Version:
3.0

Field Summary
static java.lang.String DEFAULT_ACCESS_TYPE_PROPERTY
          String constant associated with changes to the default access type
static java.lang.String SPECIFIED_ACCESS_TYPE_PROPERTY
          String constant associated with changes to the specified access type
 
Method Summary
 XmlAccessType getAccessType()
          Return the access type, whether specified or defaulted.
 XmlAccessType getDefaultAccessType()
          Return the default access type, never null
 XmlAccessType getSpecifiedAccessType()
          Return the specified access type;
 void setSpecifiedAccessType(XmlAccessType newSpecifiedAccessType)
          Set the specified access type.
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbContextNode
getContextRoot, getResourceType, synchronizeWithResourceModel, update
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.JaxbNode
getJaxbProject, getParent, stateChanged
 
Methods inherited from interface org.eclipse.jpt.common.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.common.core.IResourcePart
getResource
 

Field Detail

DEFAULT_ACCESS_TYPE_PROPERTY

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

See Also:
Constant Field Values

SPECIFIED_ACCESS_TYPE_PROPERTY

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

See Also:
Constant Field Values
Method Detail

getAccessType

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


getDefaultAccessType

XmlAccessType getDefaultAccessType()
Return the default access type, never null


getSpecifiedAccessType

XmlAccessType getSpecifiedAccessType()
Return the specified access type;


setSpecifiedAccessType

void setSpecifiedAccessType(XmlAccessType newSpecifiedAccessType)
Set the specified access type.