goldengate.common.role
Class RoleDefault

java.lang.Object
  extended by goldengate.common.role.RoleDefault

public class RoleDefault
extends Object

Role to be used in GoldenGate projects FIXME not functional for the moment: early stage development

Author:
Frederic Bregier

Field Summary
static byte HOST
           
static byte LIMIT
           
static byte NOACCESS
           
static byte READONLY
           
static byte RULE
           
static byte SYSTEM
           
static byte TRANSFER
           
static byte UNUSED1
           
static byte UNUSED2
           
 
Constructor Summary
RoleDefault()
           
 
Method Summary
 void addRole(byte newrole)
           
 void clear()
           
 byte getRole()
           
 boolean hasHost()
           
static boolean HasHost(byte role)
           
 boolean hasLimit()
           
static boolean HasLimit(byte role)
           
 boolean hasReadOnly()
           
static boolean HasReadOnly(byte role)
           
 boolean hasRule()
           
static boolean HasRule(byte role)
           
 boolean hasSystem()
           
static boolean HasSystem(byte role)
           
 boolean hasTransfer()
           
static boolean HasTransfer(byte role)
           
 boolean hasUnused1()
           
static boolean HasUnused1(byte role)
           
 boolean hasUnused2()
           
static boolean HasUnused2(byte role)
           
 void setRole(byte newrole)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NOACCESS

public static byte NOACCESS

READONLY

public static byte READONLY

TRANSFER

public static byte TRANSFER

RULE

public static byte RULE

HOST

public static byte HOST

LIMIT

public static byte LIMIT

SYSTEM

public static byte SYSTEM

UNUSED1

public static byte UNUSED1

UNUSED2

public static byte UNUSED2
Constructor Detail

RoleDefault

public RoleDefault()
Method Detail

addRole

public void addRole(byte newrole)

setRole

public void setRole(byte newrole)

clear

public void clear()

getRole

public byte getRole()

hasReadOnly

public boolean hasReadOnly()

hasTransfer

public boolean hasTransfer()

hasRule

public boolean hasRule()

hasHost

public boolean hasHost()

hasLimit

public boolean hasLimit()

hasSystem

public boolean hasSystem()

hasUnused1

public boolean hasUnused1()

hasUnused2

public boolean hasUnused2()

HasReadOnly

public static boolean HasReadOnly(byte role)

HasTransfer

public static boolean HasTransfer(byte role)

HasRule

public static boolean HasRule(byte role)

HasHost

public static boolean HasHost(byte role)

HasLimit

public static boolean HasLimit(byte role)

HasSystem

public static boolean HasSystem(byte role)

HasUnused1

public static boolean HasUnused1(byte role)

HasUnused2

public static boolean HasUnused2(byte role)


Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.