org.eigenbase.sql
Class SqlAccessType
java.lang.Object
org.eigenbase.sql.SqlAccessType
public class SqlAccessType
- extends Object
SqlAccessType is represented by a set of allowed access types
- Since:
- Sep 16, 2005
- Version:
- $Id: //open/dev/farrago/src/org/eigenbase/sql/SqlAccessType.java#7 $
- Author:
- angel
ALL
public static final SqlAccessType ALL
READ_ONLY
public static final SqlAccessType READ_ONLY
WRITE_ONLY
public static final SqlAccessType WRITE_ONLY
accessEnums
private final EnumSet<SqlAccessEnum> accessEnums
SqlAccessType
public SqlAccessType(EnumSet<SqlAccessEnum> accessEnums)
allowsAccess
public boolean allowsAccess(SqlAccessEnum access)
toString
public String toString()
- Overrides:
toString
in class Object
create
public static SqlAccessType create(String[] accessNames)
create
public static SqlAccessType create(String accessString)