Class LocalEntityInformation
java.lang.Object
org.eclipse.dirigible.repository.local.LocalEntityInformation
- All Implemented Interfaces:
IEntityInformation
public class LocalEntityInformation extends Object implements IEntityInformation
The file system based implementation of
IEntityInformation.-
Field Summary
Fields inherited from interface org.eclipse.dirigible.repository.api.IEntityInformation
PERMISSION_GROUP_READ, PERMISSION_GROUP_UPDATE, PERMISSION_GROUP_WRITE, PERMISSION_NONE, PERMISSION_OTHERS_READ, PERMISSION_OTHERS_UPDATE, PERMISSION_OTHERS_WRITE, PERMISSION_OWNER_READ, PERMISSION_OWNER_UPDATE, PERMISSION_OWNER_WRITE, PERMISSION_UNKNOWN -
Constructor Summary
Constructors Constructor Description LocalEntityInformation(RepositoryPath wrapperPath, LocalObject master)Instantiates a new local entity information. -
Method Summary
Modifier and Type Method Description booleanequals(Object obj)Equals.DategetCreatedAt()Gets the created at.StringgetCreatedBy()Gets the created by.DategetModifiedAt()Gets the modified at.StringgetModifiedBy()Gets the modified by.StringgetName()Gets the name.StringgetPath()Gets the path.intgetPermissions()Gets the permissions.LonggetSize()Gets the size.inthashCode()Hash code.
-
Constructor Details
-
LocalEntityInformation
Instantiates a new local entity information.- Parameters:
wrapperPath- the wrapper pathmaster- the master
-
-
Method Details
-
getName
Gets the name.- Specified by:
getNamein interfaceIEntityInformation- Returns:
- the name
-
getPath
Gets the path.- Specified by:
getPathin interfaceIEntityInformation- Returns:
- the path
-
getPermissions
public int getPermissions()Gets the permissions.- Specified by:
getPermissionsin interfaceIEntityInformation- Returns:
- the permissions
-
getSize
Gets the size.- Specified by:
getSizein interfaceIEntityInformation- Returns:
- the size
-
getCreatedBy
Gets the created by.- Specified by:
getCreatedByin interfaceIEntityInformation- Returns:
- the created by
-
getCreatedAt
Gets the created at.- Specified by:
getCreatedAtin interfaceIEntityInformation- Returns:
- the created at
-
getModifiedBy
Gets the modified by.- Specified by:
getModifiedByin interfaceIEntityInformation- Returns:
- the modified by
-
getModifiedAt
Gets the modified at.- Specified by:
getModifiedAtin interfaceIEntityInformation- Returns:
- the modified at
-
equals
Equals. -
hashCode
public int hashCode()Hash code.
-