|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.mdm.index.objects.FieldFlag
Field Summary | |
static int |
CHANGEDMASK
bit mask for CHANGE |
static int |
CHANGEDTYPE
type for CHANGED |
static int |
KEYTYPEMASK
bit mask for KEYTYPE |
static int |
KEYTYPETYPE
type for KEYTYPE |
static int |
NULLABLEMASK
bit mask for NULLABLE |
static int |
NULLABLETYPE
type for NULLABLE |
static int |
NULLMASK
bit mask for NULL |
static int |
NULLTYPE
type for NULL |
static int |
READACCESSMASK
bit mask for READACCESS |
static int |
READACCESSTYPE
type for READACCESS |
static int |
SEARCHEDMASK
bit mask for SEARCH |
static int |
SEARCHEDTYPE
type for SEARCHED |
(package private) static long |
serialVersionUID
|
static int |
UPDATEACCESSMASK
bit mask for UPDATEACCESS |
static int |
UPDATEACCESSTYPE
type for UPDATEACCESS |
static int |
version
|
static int |
VISIBLEMASK
bit mask for VISIBLE |
static int |
VISIBLETYPE
type for VISIBLE |
Constructor Summary | |
FieldFlag()
Creates a new instance of FieldFlag sets flag to 0 |
|
FieldFlag(int flag)
|
Method Summary | |
FieldFlag |
copy()
self copy |
boolean |
getFlag(int type)
Getter for Flag attribute of the FieldFlag object |
int |
getFlagValue()
|
boolean |
hasReadAccess()
if field is accessible for read |
boolean |
hasUpdateAccess()
if field is accessible for update |
boolean |
isChanged()
Getter for Changed attribute of the FieldFlag object |
boolean |
isKeyType()
Getter for KeyType attribute of the FieldFlag object |
boolean |
isNull()
Getter for Null attribute of the FieldFlag object |
boolean |
isNullable()
Getter for Nullable attribute of the FieldFlag object |
boolean |
isSearched()
Getter for Searched attribute of the FieldFlag object |
boolean |
isVisible()
Getter for Visible attribute of the FieldFlag object |
void |
readExternal(java.io.ObjectInput in)
|
void |
setChanged(boolean flag)
Setter for Changed attribute of the FieldFlag object |
void |
setFlag(int flag)
Setter for Flag attribute of the FieldFlag object |
void |
setFlag(int type,
boolean flag)
Setter for Flag attribute of the FieldFlag object |
void |
setKeyType(boolean flag)
Setter for KeyType attribute of the FieldFlag object |
void |
setNull(boolean flag)
Setter for Null attribute of the FieldFlag object |
void |
setNullable(boolean flag)
Setter for Nullable attribute of the FieldFlag object |
void |
setReadAccess(boolean flag)
set field's read access flag |
void |
setSearched(boolean flag)
Setter for Searched attribute of the FieldFlag object |
void |
setUpdateAccess(boolean flag)
set field's update access flag |
void |
setVisible(boolean flag)
Setter for Visible attribute of the FieldFlag object |
void |
writeExternal(java.io.ObjectOutput out)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int CHANGEDMASK
public static final int CHANGEDTYPE
public static final int KEYTYPEMASK
public static final int KEYTYPETYPE
public static final int NULLABLEMASK
public static final int NULLABLETYPE
public static final int NULLMASK
public static final int NULLTYPE
public static final int READACCESSMASK
public static final int READACCESSTYPE
public static final int SEARCHEDMASK
public static final int SEARCHEDTYPE
static final long serialVersionUID
public static final int UPDATEACCESSMASK
public static final int UPDATEACCESSTYPE
public static final int version
public static final int VISIBLEMASK
public static final int VISIBLETYPE
Constructor Detail |
public FieldFlag()
public FieldFlag(int flag)
Method Detail |
public FieldFlag copy()
public boolean getFlag(int type) throws ObjectException
type
- int value
ObjectException
- ObjectExceptionpublic int getFlagValue()
public boolean hasReadAccess()
public boolean hasUpdateAccess()
public boolean isChanged()
public boolean isKeyType()
public boolean isNull()
public boolean isNullable()
public boolean isSearched()
public boolean isVisible()
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
public void setChanged(boolean flag)
flag
- changedpublic void setFlag(int flag)
flag
- flagpublic void setFlag(int type, boolean flag) throws ObjectException
type
- int valueflag
- boolean value
ObjectException
- ObjectExceptionpublic void setKeyType(boolean flag)
flag
- key typepublic void setNull(boolean flag)
flag
- nullpublic void setNullable(boolean flag)
flag
- nullablepublic void setReadAccess(boolean flag)
flag
- read accesspublic void setSearched(boolean flag)
flag
- searchedpublic void setUpdateAccess(boolean flag)
flag
- update accesspublic void setVisible(boolean flag)
flag
- visiblepublic void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Sun Microsystems, Inc.