device.hijack
Class HiJackData

java.lang.Object
  extended by device.hijack.HiJackData
All Implemented Interfaces:
android.os.Parcelable

public class HiJackData
extends java.lang.Object
implements android.os.Parcelable

Key map DB data class


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.os.Parcelable
android.os.Parcelable.ClassLoaderCreator<T>, android.os.Parcelable.Creator<T>
 
Field Summary
static android.os.Parcelable.Creator<HiJackData> CREATOR
           
static int FLAG_DELETE
           
static int FLAG_INSERT
           
static int FLAG_NORMAL
           
static int FLAG_UPDATE
           
 
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
 
Constructor Summary
HiJackData()
           
 
Method Summary
 int describeContents()
           
 java.lang.String getActivityNameOfExecuteApp()
          This function gets the app activity name for executing.
 int getConvertKeyCode()
          This function gets the key code for converting to.
 java.lang.String getConvertSymbol()
          This function gets the key symbol for converting to.
 int getDefaultKeyCode()
          This function gets the default key code.
 java.lang.String getDefaultSymbol()
          This function gets the default key symbol.
 int getDefineKeyCode()
          This function gets the define key code.
 java.lang.String getDefineSymbol()
          This function gets the define key symbol.
 int getFlag()
          This function gets the DB flag.
 long getID()
          This function gets the DB id.
 java.lang.String getLabel()
          This function gets the key label.
 java.lang.String getPackageNameOfExecuteApp()
          This function gets the app package name for executing.
 void readFromParcel(android.os.Parcel in)
           
 void setActivityNameOfExecuteApp(java.lang.String activityNameOfExecuteApp)
          This function sets the app activity name for executing.
 void setConvertKeyCode(int convertKeyCode)
          This function sets the key code for converting to.
 void setConvertSymbol(java.lang.String convertSymbol)
          This function sets the key symbol for converting to.
 void setDefaultKeyCode(int defaultKeyCode)
          This function sets the default key code.
 void setDefaultSymbol(java.lang.String defaultSymbol)
          This function sets the default key symbol.
 void setDefineKeyCode(int defineKeyCode)
          This function sets the define key code.
 void setDefineSymbol(java.lang.String defineSymbol)
          This function sets the define key symbol.
 void setFlag(int flag)
          This function sets the DB flag.
 void setID(long id)
          This function sets the DB id.
 void setLabel(java.lang.String label)
          This function sets the key label.
 void setPackageNameOfExecuteApp(java.lang.String packageNameOfExecuteApp)
          This function sets the app package name for executing.
 java.lang.String toString()
           
 void writeToParcel(android.os.Parcel dest, int flags)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FLAG_NORMAL

public static final int FLAG_NORMAL
See Also:
Constant Field Values

FLAG_INSERT

public static final int FLAG_INSERT
See Also:
Constant Field Values

FLAG_UPDATE

public static final int FLAG_UPDATE
See Also:
Constant Field Values

FLAG_DELETE

public static final int FLAG_DELETE
See Also:
Constant Field Values

CREATOR

public static final android.os.Parcelable.Creator<HiJackData> CREATOR
Constructor Detail

HiJackData

public HiJackData()
Method Detail

readFromParcel

public void readFromParcel(android.os.Parcel in)

describeContents

public int describeContents()
Specified by:
describeContents in interface android.os.Parcelable

writeToParcel

public void writeToParcel(android.os.Parcel dest,
                          int flags)
Specified by:
writeToParcel in interface android.os.Parcelable

getFlag

public int getFlag()
This function gets the DB flag.

Returns:
DB flag with int
 public static final int FLAG_NORMAL = 0;
 public static final int FLAG_INSERT = 1;
 public static final int FLAG_UPDATE = 2;
 public static final int FLAG_DELETE = 3;
 
See Also:
setFlag(int)

setFlag

public void setFlag(int flag)
This function sets the DB flag.

Parameters:
flag - new DB flag with int
 public static final int FLAG_NORMAL = 0;
 public static final int FLAG_INSERT = 1;
 public static final int FLAG_UPDATE = 2;
 public static final int FLAG_DELETE = 3;
 
See Also:
getFlag()

getID

public long getID()
This function gets the DB id.

Returns:
DB id with long
See Also:
setID(long)

setID

public void setID(long id)
This function sets the DB id.

Parameters:
id - new DB id with long
See Also:
getID()

getLabel

public java.lang.String getLabel()
This function gets the key label.

Returns:
key label with String
See Also:
setLabel(java.lang.String)

setLabel

public void setLabel(java.lang.String label)
This function sets the key label.

Parameters:
label - new key label with String
See Also:
getLabel()

getDefaultKeyCode

public int getDefaultKeyCode()
This function gets the default key code.

Returns:
default key code with int
See Also:
setDefaultKeyCode(int)

setDefaultKeyCode

public void setDefaultKeyCode(int defaultKeyCode)
This function sets the default key code.

Parameters:
defaultKeyCode - new default key code with int
See Also:
getDefaultKeyCode()

getDefaultSymbol

public java.lang.String getDefaultSymbol()
This function gets the default key symbol.

Returns:
default key symbol with String
See Also:
setDefaultSymbol(java.lang.String)

setDefaultSymbol

public void setDefaultSymbol(java.lang.String defaultSymbol)
This function sets the default key symbol.

Parameters:
defaultSymbol - new default key symbol with String
See Also:
getDefaultSymbol()

getDefineKeyCode

public int getDefineKeyCode()
This function gets the define key code.

Returns:
define key code with int
See Also:
setDefineKeyCode(int)

setDefineKeyCode

public void setDefineKeyCode(int defineKeyCode)
This function sets the define key code.

Parameters:
defineKeyCode - new define key code with int
See Also:
getDefineKeyCode()

getDefineSymbol

public java.lang.String getDefineSymbol()
This function gets the define key symbol.

Returns:
define key symbol with String
See Also:
setDefineSymbol(java.lang.String)

setDefineSymbol

public void setDefineSymbol(java.lang.String defineSymbol)
This function sets the define key symbol.

Parameters:
defineSymbol - new define key symbol with String
See Also:
getDefineSymbol()

getConvertKeyCode

public int getConvertKeyCode()
This function gets the key code for converting to.

Returns:
key code for converting to with int
See Also:
setConvertKeyCode(int)

setConvertKeyCode

public void setConvertKeyCode(int convertKeyCode)
This function sets the key code for converting to.

Parameters:
convertKeyCode - new key code for converting to with int
See Also:
getConvertKeyCode()

getConvertSymbol

public java.lang.String getConvertSymbol()
This function gets the key symbol for converting to.

Returns:
key symbol for converting to with String
See Also:
setConvertSymbol(java.lang.String)

setConvertSymbol

public void setConvertSymbol(java.lang.String convertSymbol)
This function sets the key symbol for converting to.

Parameters:
convertSymbol - new key symbol for converting to with String
See Also:
getConvertSymbol()

getActivityNameOfExecuteApp

public java.lang.String getActivityNameOfExecuteApp()
This function gets the app activity name for executing.

Returns:
app activity name for executing with String
See Also:
setActivityNameOfExecuteApp(java.lang.String)

getPackageNameOfExecuteApp

public java.lang.String getPackageNameOfExecuteApp()
This function gets the app package name for executing.

Returns:
app package name for executing with String
See Also:
setPackageNameOfExecuteApp(java.lang.String)

setActivityNameOfExecuteApp

public void setActivityNameOfExecuteApp(java.lang.String activityNameOfExecuteApp)
This function sets the app activity name for executing.

Parameters:
activityNameOfExecuteApp - new app activity name for executing to with String
See Also:
getActivityNameOfExecuteApp()

setPackageNameOfExecuteApp

public void setPackageNameOfExecuteApp(java.lang.String packageNameOfExecuteApp)
This function sets the app package name for executing.

Parameters:
packageNameOfExecuteApp - new app package name for executing to with String
See Also:
getPackageNameOfExecuteApp()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object