ThinkUI SQL Client 1.1.3 API

thinkui.db.attribute
Class AttributeAccess

java.lang.Object
  extended bythinkui.db.attribute.AttributeAccess
All Implemented Interfaces:
java.io.Serializable

public final class AttributeAccess
extends java.lang.Object
implements java.io.Serializable

Encapsulate information about possible attribute access. The access could related to access to a database table column (RW, RO, RC) or access for a stored procedure/command parameter (IN, OUT, IN_OUT).

AttributeAccess objects are immutable.

See Also:
Serialized Form

Field Summary
static java.lang.String[] CAPTIONS
           
static AttributeAccess IN
          In parameter for stored procedure.
static AttributeAccess IN_OUT
          In/Out parameter for stored procedure.
static java.lang.String[] NAMES
           
static AttributeAccess OUT
          Out parameter for stored procedure.
static AttributeAccess RC
          Read/Create attribute access.
static AttributeAccess RES
          Result parameter for stored procedure.
static AttributeAccess RET
          Return parameter for stored procedure.
static AttributeAccess RO
          Read Only attribute access.
static AttributeAccess RW
          Read/Write attribute access.
 
Method Summary
 boolean equals(java.lang.Object object)
          Determine if the given object is equal to the attribute access.
static AttributeAccess get(java.lang.String name)
          Lookup the attribute access for the given attribute name.
 java.lang.String getName()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CAPTIONS

public static final java.lang.String[] CAPTIONS

IN

public static final AttributeAccess IN
In parameter for stored procedure.


IN_OUT

public static final AttributeAccess IN_OUT
In/Out parameter for stored procedure.


NAMES

public static final java.lang.String[] NAMES

OUT

public static final AttributeAccess OUT
Out parameter for stored procedure.


RC

public static final AttributeAccess RC
Read/Create attribute access.


RES

public static final AttributeAccess RES
Result parameter for stored procedure.


RET

public static final AttributeAccess RET
Return parameter for stored procedure.


RO

public static final AttributeAccess RO
Read Only attribute access.


RW

public static final AttributeAccess RW
Read/Write attribute access.

Method Detail

equals

public final boolean equals(java.lang.Object object)
Determine if the given object is equal to the attribute access. Two AttributeAccess objects are equal if they have exactly the same name.

Returns:
whether or not the specified object is equals to this object.

get

public static final AttributeAccess get(java.lang.String name)
Lookup the attribute access for the given attribute name.

Returns:
the named attribute access or null.

getName

public final java.lang.String getName()
Returns:
the name of the attribute access.

toString

public final java.lang.String toString()
Returns:
the string representation (i.e. name) of the attribute access.

ThinkUI SQL Client 1.1.3 API

Copyright © 2007-2009. ThinkUI Software Inc. All rights reserved.