org.eclipse.higgins.rpps.core.tobj
Class ICardTO

java.lang.Object
  extended byorg.eclipse.higgins.rpps.core.tobj.BaseTransferObject
      extended byorg.eclipse.higgins.rpps.core.tobj.ICardTO
All Implemented Interfaces:
Serializable

public class ICardTO
extends BaseTransferObject
implements Serializable

The transfer object for the i-card. A transfer object is a serializable class that groups related attributes, forming a composite value. This class is used as the return type of a WS business method.

Author:
Sergei Yakovlev
See Also:
Serialized Form

Constructor Summary
ICardTO()
          Creates a new instance of ICardTO
 
Method Summary
 String getCuid()
          Gets CUID.
 Date getExpiredTime()
           
 String getId()
          Gets id property
 byte[] getImage()
          Gets image property.
 String getImageType()
          Gets image type.
 String getIssuerName()
          Gets issuer name property
 String getName()
          Gets the name of transfer object.
 PropertyTO[] getProperties()
          Gets icard property array.
 UITokenServiceCredentialTO[] getTokenServiceCredentials()
           
 String getType()
           
 boolean isDeleteable()
           
 boolean isSelfIssued()
          Gets 'self-issued' flag
 void setCuid(String cuid)
          Sets CUID
 void setDeleteable(boolean deleteable)
           
 void setExpiredTime(Date expiredTime)
           
 void setId(String id)
          Sets id property
 void setImage(byte[] image)
          Sets image property
 void setImageType(String imageType)
          Sets image type.
 void setIssuerName(String issuerName)
          Sets issuer name property
 void setName(String name)
          Sets the name of transfer object
 void setProperties(PropertyTO[] properties)
          Sets icard property array.
 void setSelfIssued(boolean selfIssued)
          Sets 'self-issued' flag.
 void setTokenServiceCredentials(UITokenServiceCredentialTO[] tokenServiceCredentials)
           
 void setType(String type)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ICardTO

public ICardTO()
Creates a new instance of ICardTO

Method Detail

getId

public String getId()
Gets id property

Returns:
the id as a string.

setId

public void setId(String id)
Sets id property

Parameters:
id - the id as a string

getIssuerName

public String getIssuerName()
Gets issuer name property

Returns:
the issuer name.

setIssuerName

public void setIssuerName(String issuerName)
Sets issuer name property

Parameters:
issuerName - the issuer name.

getExpiredTime

public Date getExpiredTime()

setExpiredTime

public void setExpiredTime(Date expiredTime)

getImage

public byte[] getImage()
Gets image property.

Returns:
the image as a byte array.

setImage

public void setImage(byte[] image)
Sets image property

Parameters:
image - the image as a byte array.

getProperties

public PropertyTO[] getProperties()
Gets icard property array.

Returns:
the icard property array.

setProperties

public void setProperties(PropertyTO[] properties)
Sets icard property array.

Parameters:
properties - the icard property array.

getImageType

public String getImageType()
Gets image type.

Returns:
the image type as a string.

setImageType

public void setImageType(String imageType)
Sets image type.

Parameters:
imageType - the image type as a string.

getCuid

public String getCuid()
Gets CUID.

Returns:
the CUID as a string.

setCuid

public void setCuid(String cuid)
Sets CUID

Parameters:
cuid - the CUID as a string.

isSelfIssued

public boolean isSelfIssued()
Gets 'self-issued' flag

Returns:
the self-issued flag (true if icard is self-issued).

setSelfIssued

public void setSelfIssued(boolean selfIssued)
Sets 'self-issued' flag.

Parameters:
selfIssued - the self-issued flag value.

getTokenServiceCredentials

public UITokenServiceCredentialTO[] getTokenServiceCredentials()

setTokenServiceCredentials

public void setTokenServiceCredentials(UITokenServiceCredentialTO[] tokenServiceCredentials)

isDeleteable

public boolean isDeleteable()

setDeleteable

public void setDeleteable(boolean deleteable)

getType

public String getType()

setType

public void setType(String type)

getName

public String getName()
Gets the name of transfer object.

Returns:
the name of transfer object.

setName

public void setName(String name)
Sets the name of transfer object

Parameters:
name - the name of transfer object.