org.entityfs
Interface EntityAcceptingEntity<T extends EntityAcceptingEntityView<?>>
- All Superinterfaces:
- Comparable<EntityView>, Deletable, Entity, EntityAcceptingEntityView<T>, EntityHolder, EntityView, Lockable, Named, Observable, ReadLockable, ReadWriteLockable, ViewCapable<T>, WriteLockable
- All Known Subinterfaces:
- Directory
public interface EntityAcceptingEntity<T extends EntityAcceptingEntityView<?>>
- extends Entity, EntityAcceptingEntityView<T>
This interface is an abstraction of an entity that may accept child entities
given the right conditions. A Directory
always accepts child
entities, but a symbolic link only accepts child entities if its pointing to
a directory.
Objects implementing this interface can be used with some of the utility
methods of Entities
and
Directories
.
See EntityAcceptingEntityView
for more documentation.
- Since:
- 1.0
- Author:
- Karl Gustafsson
- See Also:
Entities
,
EntityAcceptingEntities
Methods inherited from interface org.entityfs.EntityView |
canRead, canWrite, copy, copy, copyAttributes, createLock, disconnect, getCapability, getFileSystem, getLastModified, getParent, getType, getViewed, getViewedEntity, isConnected, isRootDirectory, isValid, lock, rename, setLastModified, supportsCapability, touch |