代码段1
?
public interface PropertyKey
{
??? public String name();
??? public int ordinal();
}public enum Key implements PropertyKey
{
? ??propertyName, filterExpression
}?
?public enum Permission implements PropertyKey {
??allowed, denied, read, showTree, write, execute, createNode, deleteNode, editProperties, addRelationship, removeRelationship, accessControl;
?}