org.entityfs.cap.entityattrs.impl.metadata
Class AbstractEntityAttributesEnablingFileSystemDelegate<T extends EntityAttributes>
java.lang.Object
org.entityfs.support.lang.ObjectProxySupport<FileSystemDelegate>
org.entityfs.impl.AbstractFileSystemDelegateProxy
org.entityfs.cap.entityattrs.impl.metadata.AbstractEntityAttributesEnablingFileSystemDelegate<T>
- All Implemented Interfaces:
- FileSystemDelegate
- Direct Known Subclasses:
- NtfsEntityAttributesFileSystemDelegate, UnixEntityAttributesFileSystemDelegate
public abstract class AbstractEntityAttributesEnablingFileSystemDelegate<T extends EntityAttributes>
- extends AbstractFileSystemDelegateProxy
AbstractEntityAttributesEnablingFileSystemDelegate
public AbstractEntityAttributesEnablingFileSystemDelegate(FileSystemDelegate proxied,
Class<T> attrType,
String afn,
ChildEntityAttributeManagerFactory<T,? extends ChildEntityAttributeManager<T>> ceamf,
Map<EntityType,ObjectFactory<T>> deaf,
EntityAttributesPreparer<T> eap,
boolean storeLazily)
- Parameters:
afn
- The name of the entity attributes metadata file.eap
- An optional object that is used to prepare the entity
attributes of a newly created entity. May be null
.
getChildEntityAttributeManagerFactory
public ChildEntityAttributeManagerFactory<T,? extends ChildEntityAttributeManager<T>> getChildEntityAttributeManagerFactory()
getAttributesFileName
public String getAttributesFileName()
- Get the name of the entity attributes metadata file.
- Returns:
- The name of the entity attributes metadata file.
getEntityAttributesPreparer
public EntityAttributesPreparer<T> getEntityAttributesPreparer()
- Get the file system's
EntityAttributesPreparer
, if set.
- Returns:
- The file system's
EntityAttributesPreparer
, or null
if it is not set.
isStoreAttributesLazily
public boolean isStoreAttributesLazily()
getAttributesType
public Class<T> getAttributesType()
- Returns:
- The type of attributes handled by this delegate.
getDefaultEntityAttributesFactory
public ObjectFactory<T> getDefaultEntityAttributesFactory(EntityType et)