读书人

代码段一

发布时间: 2012-09-17 12:06:51 作者: rapoo

代码段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;
?}

读书人网 >编程

热点推荐