|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ostore.client.OSAction | +--ostore.client.OSActionSetMetadata
The OSActionSetMetadata
action is used to assign a
value to a field in the metadata.
Field Summary | |
---|---|
static int |
BRANCH_AGUID
|
static int |
BRANCH_HEAD
|
static int |
BRANCH_NUM
|
static int |
BRANCH_VGUID
|
static int |
CACHE_UNTIL
|
static boolean |
DEBUG
|
Constructor Summary | |
---|---|
OSActionSetMetadata(InputBuffer buffer)
|
|
OSActionSetMetadata(SecureHash aguid,
int field,
Object value)
Creates a new OSActionSetMetadata . |
|
OSActionSetMetadata(SecureHash aguid,
String field,
Object value)
|
Method Summary | |
---|---|
Object |
getField()
Returns the name of the metadata field to be modified. |
SecureHash |
getTargetAguid()
Returns the Aguid of the object that this update modifies. |
Object |
getValue()
Returns the value to which the specified metadata field will be set. |
void |
serialize(OutputBuffer buffer)
Add the object to the buffer . |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final boolean DEBUG
public static final int CACHE_UNTIL
public static final int BRANCH_NUM
public static final int BRANCH_VGUID
public static final int BRANCH_AGUID
public static final int BRANCH_HEAD
Constructor Detail |
public OSActionSetMetadata(SecureHash aguid, int field, Object value) throws OSIllegalArgumentException
OSActionSetMetadata
.
aguid
- the aguid of the data object to modifyfield
- a constant representing the field of metadata to be changedvalue
- the value to assign to the specified metadata fieldpublic OSActionSetMetadata(SecureHash aguid, String field, Object value)
public OSActionSetMetadata(InputBuffer buffer) throws QSException
Method Detail |
public void serialize(OutputBuffer buffer)
QuickSerializable
buffer
.
serialize
in interface QuickSerializable
serialize
in class OSAction
buffer
- the output buffer to add the object topublic SecureHash getTargetAguid()
getTargetAguid
in class OSAction
public Object getField()
public Object getValue()
public String toString()
toString
in class OSAction
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |