Package org.eclipse.emf.cdo.eresource
Interface CDOResourceNode
- All Known Subinterfaces:
CDOBinaryResource
,CDOFileResource<IO>
,CDOResource
,CDOResourceFolder
,CDOResourceLeaf
,CDOTextResource
,InternalCDOResource
- All Known Implementing Classes:
CDOBinaryResourceImpl
,CDOFileResourceImpl
,CDOResourceFolderImpl
,CDOResourceImpl
,CDOResourceLeafImpl
,CDOResourceNodeImpl
,CDOTextResourceImpl
A representation of the model object 'CDO Resource Node'.
- See Also:
- Generated
- Extends
- CDOObject
- Model
- abstract="true"
- No Implement
- This interface is not intended to be implemented by clients.
The following features are supported:
- No Extend
- This interface is not intended to be extended by clients.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Returns the value of the 'Folder' container reference.getName()
Returns the value of the 'Name' attribute.getPath()
Returns the value of the 'Path' attribute.getURI()
boolean
isRoot()
void
setBasename
(String basename) void
setExtension
(String extension) void
setFolder
(CDOResourceFolder value) Sets the value of the 'Folder
' container reference.void
Sets the value of the 'Name
' attribute.void
Sets the value of the 'Path
' attribute.Same asgetBasename()
.Methods inherited from interface org.eclipse.emf.cdo.CDOObject
cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Field Details
-
ROOT_PATH
- Since:
- 2.0
- See Also:
- Added
-
ROOT_NAME
- Since:
- 2.0
- Added
-
-
Method Details
-
isRoot
boolean isRoot()- Since:
- 2.0
- Added
-
getFolder
CDOResourceFolder getFolder()Returns the value of the 'Folder' container reference. It is bidirectional and its opposite is 'Nodes
'.If the meaning of the 'Folder' container reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Folder' container reference.
- See Also:
- Generated
- Model
- opposite="nodes" transient="false"
-
setFolder
Sets the value of the 'Folder
' container reference.- Parameters:
value
- the new value of the 'Folder' container reference.- See Also:
- Generated
-
getName
String getName()Returns the value of the 'Name' attribute.If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Name' attribute.
- See Also:
- Generated
- Model
- annotation="http://www.eclipse.org/CDO/DBStore columnType='VARCHAR' columnLength='255'"
-
setName
Sets the value of the 'Name
' attribute.- Parameters:
value
- the new value of the 'Name' attribute.- See Also:
- Generated
-
getPath
String getPath()Returns the value of the 'Path' attribute.If the meaning of the 'Path' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Path' attribute.
- See Also:
- Generated
- Model
- transient="true" volatile="true" derived="true"
-
setPath
Sets the value of the 'Path
' attribute.- Parameters:
value
- the new value of the 'Path' attribute.- See Also:
- Generated
-
getExtension
String getExtension()- Since:
- 4.4
- Added
-
setExtension
- Since:
- 4.8
- Added
-
trimExtension
String trimExtension()Same asgetBasename()
.- Since:
- 4.4
- Added
-
getBasename
String getBasename()- Since:
- 4.8
- Added
-
setBasename
- Since:
- 4.8
- Added
-
getURI
URI getURI()- Added
-
delete
- Throws:
IOException
- Added
-