org.entityfs.cap.entityattrs.impl.metadata
Interface AttributeFileRepository

All Known Implementing Classes:
MetadataCapableDirectoryAttributeFileRepository

public interface AttributeFileRepository

This interface defines a repository whereby a ChildEntityAttributeManager can get an attribute file.

Since:
1.0
Author:
Karl Gustafsson
In_jar:
entityfs-entity_attributes

Method Summary
 ReadWritableFile createFile()
          Create a new entity attributes file and return it.
 ReadWritableFile getFile()
          Get the entity attributes file.
 

Method Detail

getFile

ReadWritableFile getFile()
Get the entity attributes file.

Returns:
The entity attributes file, or null if missing

createFile

ReadWritableFile createFile()
                            throws EntityFoundException
Create a new entity attributes file and return it.

Returns:
The new entity attributes file.
Throws:
EntityFoundException - If the entity attributes file already exist.