com.ibm.rfid.epc.config.dto
Class EPCCompanyPrefixIndexDTO

java.lang.Object
  extended by com.ibm.rfid.epc.config.dto.EPCCompanyPrefixIndexDTO
All Implemented Interfaces:
java.io.Serializable

public class EPCCompanyPrefixIndexDTO
extends java.lang.Object
implements java.io.Serializable

Data Transfer Object class for EPCCompanyPrefixIndex. This class implements the facade pattern for an EPCCompanyPrefixIndex bean. It is used to pass the state information of the bean through a session bean to and from consumers such as a Web client.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
           
 
Constructor Summary
EPCCompanyPrefixIndexDTO(com.ibm.rfid.epc.config.cmp.EPCCompanyPrefixIndexLocal epcCompanyPrefixIndexLocal)
          Constructs an EPCCompanyPrefixIndex data transfer object.
EPCCompanyPrefixIndexDTO(java.lang.String companyPrefixIndex)
          Constructs an EPCCompanyPrefixIndex data transfer object.
EPCCompanyPrefixIndexDTO(java.lang.String companyPrefixIndex, java.lang.String companyPrefix)
          Constructs an EPCCompanyPrefixIndex data transfer object.
EPCCompanyPrefixIndexDTO(java.lang.String companyPrefixIndex, java.lang.String companyPrefix, java.sql.Timestamp lastUpdate)
          Constructs an EPCCompanyPrefixIndex data transfer object.
 
Method Summary
 java.lang.String getCompanyPrefix()
          Get the value of companyPrefix
 java.lang.String getCompanyPrefixIndex()
          Get the value of companyPrefixIndex
 java.sql.Timestamp getLastUpdate()
          Get the value of lastUpdate
 void setCompanyPrefix(java.lang.String companyPrefix)
          Set the value of companyPrefix
 void setCompanyPrefixIndex(java.lang.String companyPrefixIndex)
          Set the value of companyPrefixIndex
 void setLastUpdate(java.sql.Timestamp timestamp)
          Set the value of lastUpdate
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Constructor Detail

EPCCompanyPrefixIndexDTO

public EPCCompanyPrefixIndexDTO(java.lang.String companyPrefixIndex,
                                java.lang.String companyPrefix,
                                java.sql.Timestamp lastUpdate)
Constructs an EPCCompanyPrefixIndex data transfer object. This DTO is used to transfer the state of the entity bean through a session bean to and from consumers without having to serialize the bean itself. This DTO contains no business logic, it is simply a data transfer mechanism. The fields of the DTO should be set to the desired value(s) when used as input to a method of the EPCConfigMgr and may be contain the current value of field(s) of an EPCCompanyPrefixIndex instance when returned as output from a method of EPCConfigMgr.

Parameters:
companyPrefixIndex - string representation of positive integer number assigned by EPCglobal to allow mapping a longer EAN.UCC company prefix to the more compact index
companyPrefix - string EAN.UCC company prefix
lastUpdate - time at which index translation config was created or updated

EPCCompanyPrefixIndexDTO

public EPCCompanyPrefixIndexDTO(java.lang.String companyPrefixIndex,
                                java.lang.String companyPrefix)
Constructs an EPCCompanyPrefixIndex data transfer object. This DTO is used to transfer the state of the entity bean through a session bean to and from consumers without having to serialize the bean itself. This DTO contains no business logic, it is simply a data transfer mechanism. The fields of the DTO should be set to the desired value(s) when used as input to a method of the EPCConfigMgr and may be contain the current value of field(s) of an EPCCompanyPrefixIndex instance when returned as output from a method of EPCConfigMgr.

Parameters:
companyPrefixIndex - string representation of positive integer number assigned by EPCglobal to allow mapping a longer EAN.UCC company prefix to the more compact index
companyPrefix - string EAN.UCC company prefix

EPCCompanyPrefixIndexDTO

public EPCCompanyPrefixIndexDTO(java.lang.String companyPrefixIndex)
Constructs an EPCCompanyPrefixIndex data transfer object. This DTO is used to transfer the state of the entity bean through a session bean to and from consumers without having to serialize the bean itself. This DTO contains no business logic, it is simply a data transfer mechanism. The fields of the DTO should be set to the desired value(s) when used as input to a method of the EPCConfigMgr and may be contain the current value of field(s) of an EPCCompanyPrefixIndex instance when returned as output from a method of EPCConfigMgr.

Parameters:
companyPrefixIndex - string representation of positive integer number assigned by EPCglobal to allow mapping a longer EAN.UCC company prefix to the more compact index

EPCCompanyPrefixIndexDTO

public EPCCompanyPrefixIndexDTO(com.ibm.rfid.epc.config.cmp.EPCCompanyPrefixIndexLocal epcCompanyPrefixIndexLocal)
Constructs an EPCCompanyPrefixIndex data transfer object. This DTO is used to transfer the state of the entity bean through a session bean to and from consumers without having to serialize the bean itself. This DTO contains no business logic, it is simply a data transfer mechanism. The fields of the DTO should be set to the desired value(s) when used as input to a method of the EPCConfigMgr and may be contain the current value of field(s) of an EPCCompanyPrefixIndex instance when returned as output from a method of EPCConfigMgr.

Parameters:
epcCompanyPrefixIndexLocal - instance of EPCCompanyPrefixIndexLocal from which to create a DTO, all the fields of the bean are copied to the respective members of the DTO.
Method Detail

toString

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

getCompanyPrefixIndex

public java.lang.String getCompanyPrefixIndex()
Get the value of companyPrefixIndex

Returns:
the value of companyPrefixIndex

getLastUpdate

public java.sql.Timestamp getLastUpdate()
Get the value of lastUpdate

Returns:
the value of lastUpdate

getCompanyPrefix

public java.lang.String getCompanyPrefix()
Get the value of companyPrefix

Returns:
the value of companyPrefix

setCompanyPrefixIndex

public void setCompanyPrefixIndex(java.lang.String companyPrefixIndex)
Set the value of companyPrefixIndex

Parameters:
companyPrefixIndex - the new value of companyPrefixIndex

setCompanyPrefix

public void setCompanyPrefix(java.lang.String companyPrefix)
Set the value of companyPrefix

Parameters:
companyPrefix - the new value of companyPrefix

setLastUpdate

public void setLastUpdate(java.sql.Timestamp timestamp)
Set the value of lastUpdate

Parameters:
lastUpdate - the new value of lastUpdate


Copyright © 2005 - 2009 IBM Corp. All Rights Reserved.