com.sybase.uep.bobclient.data
Class PKObject

java.lang.Object
  extended by com.sybase.uep.bobclient.data.PKObject

public class PKObject
extends java.lang.Object

This is the Personalization Key Object Class. This will contain personalization key information.

Author:
bdeng

Constructor Summary
PKObject(java.lang.String key, boolean isProtected, java.lang.String spMBOId, java.lang.String screenId, boolean isList)
          Constructor to create a Personalization Key object
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compares the specified Object with this personalization key for equality.
 java.lang.String getKey()
          Returns the personalization key.
 java.lang.String getSPMBOId()
           
 java.lang.String getSpScreenId()
           
 boolean isList()
           
 boolean isProtected()
          Returns a boolean indicating whether or not the personalization key is protected.
 boolean isStructureType()
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PKObject

public PKObject(java.lang.String key,
                boolean isProtected,
                java.lang.String spMBOId,
                java.lang.String screenId,
                boolean isList)
Constructor to create a Personalization Key object

Parameters:
key - String value for the personalization key
isProtected - true if the personalization key is protected, otherwise false
spMBOId - the structure type mbo id if the pk is complex data type
screenId - the id of the entry screen that defined for the structure type mbo
isList - whether the pk is list of structure type
Method Detail

getKey

public java.lang.String getKey()
Returns the personalization key.

Returns:
String value for personalization key

isProtected

public boolean isProtected()
Returns a boolean indicating whether or not the personalization key is protected.

Returns:
true if the personalization key is protected, otherwise false

equals

public boolean equals(java.lang.Object obj)
Compares the specified Object with this personalization key for equality. Returns true if and only if the specified Object is also a personalization key and have the same key and protected flag.

Overrides:
equals in class java.lang.Object
Parameters:
obj - Object the Object to be compared for equality with this personalization key
Returns:
true if the specified Object is equal to this personalization key

getSPMBOId

public java.lang.String getSPMBOId()
Returns:
the _sPMBOId

isList

public boolean isList()
Returns:
the _isList

getSpScreenId

public java.lang.String getSpScreenId()
Returns:
the _spScreenId

isStructureType

public boolean isStructureType()