org.entityfs.cap.entityattrs.unix.metadata
Class DefaultUnixAttributesFactory
java.lang.Object
org.entityfs.cap.entityattrs.unix.metadata.DefaultUnixAttributesFactory
- All Implemented Interfaces:
- ObjectFactory<UnixAttributes>
public class DefaultUnixAttributesFactory
- extends Object
- implements ObjectFactory<UnixAttributes>
This is the default implementation of an ObjectFactory
for
UnixAttributes
. It uses default values for all attribute properties.
- Since:
- 1.0
- Author:
- Karl Gustafsson
- See Also:
MetadataUnixAttributesCapabilityProvider
- In_jar:
- entityfs-entity_attributes
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultUnixAttributesFactory
public DefaultUnixAttributesFactory(int uid,
int gid,
UnixEntityMode uem)
- Create a new attributes factory.
- Parameters:
uid
- The UID given to all created attributes.gid
- The GID given to all created attributes.uem
- The Unix entity mode given to all created attributes. See
UnixEntityMode
.
create
public UnixAttributes create()
- Description copied from interface:
ObjectFactory
- Create a new instance of the object.
- Specified by:
create
in interface ObjectFactory<UnixAttributes>
- Returns:
- The new instance.