Classes Files

com::wombat::mama::MamaFieldCacheUint16

Inherits from com.wombat.mama.MamaFieldCacheField, com.wombat.mama.MamaFieldCacheReadOnlyField

Public Functions

  Name
  MamaFieldCacheUint16(MamaFieldDescriptor desc)
  MamaFieldCacheUint16(int fid, String name, boolean trackModState)
MamaFieldCacheField copy()
void addToMessage(boolean fieldName, MamaMsg message)
void apply(MamaMsgField msgField)
void set(int value)
boolean isEqual(int value)
int get()
void get(int result)
String getAsString()
void apply(MamaFieldCacheField value)

Additional inherited members

Public Functions inherited from com.wombat.mama.MamaFieldCacheField

  Name
  MamaFieldCacheField(MamaFieldDescriptor desc, short type)
  MamaFieldCacheField(int fid, short type, String name, boolean trackModState)
void setDescriptor(MamaFieldDescriptor desc)
MamaFieldDescriptor getDescriptor()
short getType()
void setTrackModState(boolean state)
boolean getTrackModState()
void setModState(short state)
void clearModState()
short getModState()
boolean isUnmodified()
boolean isModified()
boolean isTouched()
void touch()

Public Attributes inherited from com.wombat.mama.MamaFieldCacheField

  Name
final short MOD_STATE_NOT_MODIFIED
final short MOD_STATE_MODIFIED
final short MOD_STATE_TOUCHED

Protected Attributes inherited from com.wombat.mama.MamaFieldCacheField

  Name
short mType
MamaFieldDescriptor mDesc
short mModState
boolean mTrackModState
boolean mLocalDescriptorCopy

Public Functions inherited from com.wombat.mama.MamaFieldCacheReadOnlyField

  Name
MamaFieldDescriptor getDescriptor()
short getType()
boolean getTrackModState()
short getModState()
boolean isUnmodified()
boolean isModified()
boolean isTouched()

Public Functions Documentation

function MamaFieldCacheUint16

inline MamaFieldCacheUint16(
    MamaFieldDescriptor desc
)

Constructor. Use one of the create() methods to actually initialize the field.

function MamaFieldCacheUint16

inline MamaFieldCacheUint16(
    int fid,
    String name,
    boolean trackModState
)

Constructor.

function copy

inline MamaFieldCacheField copy()

Return: the copy

Reimplements: com::wombat::mama::MamaFieldCacheField::copy

Make a copy of this field.

function addToMessage

inline void addToMessage(
    boolean fieldName,
    MamaMsg message
)

Reimplements: com::wombat::mama::MamaFieldCacheField::addToMessage

function apply

inline void apply(
    MamaMsgField msgField
)

Reimplements: com::wombat::mama::MamaFieldCacheField::apply

Apply the MamaMsgField to the cached field.

function set

inline void set(
    int value
)

Explicitly set the cached value.

function isEqual

inline boolean isEqual(
    int value
)

Check whether the field value is equal.

function get

inline int get()

Return the cached value.

function get

inline void get(
    int result
)

Copy the cached value into the result.

function getAsString

inline String getAsString()

Reimplements: com::wombat::mama::MamaFieldCacheField::getAsString

Return a string representation of the value

function apply

inline void apply(
    MamaFieldCacheField value
)

Reimplements: com::wombat::mama::MamaFieldCacheField::apply


Updated on 2023-03-31 at 15:29:42 +0100