org.entityfs.cap.entityattrs.impl.metadata
Class MetadataCapableDirectoryAttributeFileRepository
java.lang.Object
org.entityfs.cap.entityattrs.impl.metadata.MetadataCapableDirectoryAttributeFileRepository
- All Implemented Interfaces:
- AttributeFileRepository
public class MetadataCapableDirectoryAttributeFileRepository
- extends Object
- implements AttributeFileRepository
This is an AttributeFileRepository
that wraps an metadata capable
directory. This can be used as a AttributeFileRepository
for
capabilities that want to store entity attributes in directory metadata.
- Since:
- 1.0
- Author:
- Karl Gustafsson
- In_jar:
- entityfs-entity_attributes
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetadataCapableDirectoryAttributeFileRepository
public MetadataCapableDirectoryAttributeFileRepository(MetadataEnablingEntityDelegate meed,
String fileName)
getFile
public ReadWritableFile getFile()
- Description copied from interface:
AttributeFileRepository
- Get the entity attributes file.
- Specified by:
getFile
in interface AttributeFileRepository
- Returns:
- The entity attributes file, or
null
if missing
createFile
public ReadWritableFile createFile()
- Description copied from interface:
AttributeFileRepository
- Create a new entity attributes file and return it.
- Specified by:
createFile
in interface AttributeFileRepository
- Returns:
- The new entity attributes file.