|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.entityfs.cap.entityattrs.ntfs.NtfsAttributes
public class NtfsAttributes
This object contains NTFS attributes that an entity may have.
For generic information about EntityAttributes objects, see the
ECEntityAttributes documentation.
EntityAttributes| Constructor Summary | |
|---|---|
NtfsAttributes()
|
|
| Method Summary | |
|---|---|
Object |
clone()
The Cloneable interface does not make the clone() method
visible. |
boolean |
equals(Object o)
|
boolean |
equalsExceptForCreationTime(Object o)
Test to see if the supplied attributes object is equal to this object except for the two objects creation times. |
long |
getCreationTime()
Get the creation time of the entity. |
int |
getGid()
Get the group id. |
Set<NtFileAttributes> |
getNtFileAttributes()
Get the attributes. |
int |
getUid()
Get the user id. |
UnixEntityMode |
getUnixEntityMode()
Get the current UnixEntityMode. |
int |
hashCode()
|
void |
setCreationTime(long creationTime)
Set the creation time of the entity in milliseconds since January 1, 1970 |
void |
setGid(int gid)
Set the group id. |
void |
setNtFileAttributes(int attr)
Set the attributes. |
void |
setNtFileAttributes(Set<NtFileAttributes> ntFileAttributes)
Set the attributes. |
void |
setUid(int uid)
Set the user id. |
void |
setUnixEntityMode(int m)
Set the UnixEntityMode using its integer representation. |
void |
setUnixEntityMode(UnixEntityMode unixEntityMode)
Set the UnixEntityMode. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NtfsAttributes()
| Method Detail |
|---|
public long getCreationTime()
CreationTimeConfigurable
getCreationTime in interface CreationTimeConfigurableDate.getTime()public void setCreationTime(long creationTime)
CreationTimeConfigurable
setCreationTime in interface CreationTimeConfigurablecreationTime - The new creation time.Date.getTime()public int getGid()
UidGidConfigurable
getGid in interface UidGidConfigurable
public void setGid(int gid)
throws IllegalArgumentException
UidGidConfigurable
setGid in interface UidGidConfigurablegid - The group id. It must be a positive integer.
IllegalArgumentException - If the GID is invalid.public Set<NtFileAttributes> getNtFileAttributes()
NtFileAttributesConfigurable
getNtFileAttributes in interface NtFileAttributesConfigurablepublic void setNtFileAttributes(Set<NtFileAttributes> ntFileAttributes)
NtFileAttributesConfigurable
setNtFileAttributes in interface NtFileAttributesConfigurablentFileAttributes - The attributes.public void setNtFileAttributes(int attr)
NtFileAttributesConfigurable
setNtFileAttributes in interface NtFileAttributesConfigurableattr - The attributes code.NtFileAttributes.getIntValue()public int getUid()
UidGidConfigurable
getUid in interface UidGidConfigurable
public void setUid(int uid)
throws IllegalArgumentException
UidGidConfigurable
setUid in interface UidGidConfigurableuid - The user id. It must be a positive integer.
IllegalArgumentException - If the UID is invalid.public UnixEntityMode getUnixEntityMode()
UnixEntityModeConfigurableUnixEntityMode.
getUnixEntityMode in interface UnixEntityModeConfigurableUnixEntityMode.public void setUnixEntityMode(UnixEntityMode unixEntityMode)
UnixEntityModeConfigurableUnixEntityMode.
setUnixEntityMode in interface UnixEntityModeConfigurableunixEntityMode - The new UnixEntityMode.UnixEntityModeConfigurable.setUnixEntityMode(int)public void setUnixEntityMode(int m)
UnixEntityModeConfigurableUnixEntityMode using its integer representation.
setUnixEntityMode in interface UnixEntityModeConfigurablem - An integer representing the mode, for instance 0644 or
01777.UnixEntityModeConfigurable.setUnixEntityMode(UnixEntityMode)public boolean equalsExceptForCreationTime(Object o)
equalsExceptForCreationTime in interface CreationTimeAttributeso - The other entity attributes object.
true if the supplied entity attributes object is equal to
this object except for the creation time.public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic Object clone()
EntityAttributesCloneable interface does not make the clone() method
visible. This declaration does.
clone in interface EntityAttributesclone in class ObjectCloneablepublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||