|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.rfid.epc.config.dto.EPCSerialNumberDTO
public class EPCSerialNumberDTO
Data Transfer Object class for EPCSerialNumber. This class implements the facade pattern for an EPCSerialNumber 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.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
Constructor Summary | |
---|---|
EPCSerialNumberDTO(com.ibm.rfid.epc.config.cmp.EPCSerialNumberLocal epcSerialNumberLocal)
Constructs an EPCSerialNumber data transfer object. |
|
EPCSerialNumberDTO(java.lang.String unserializedIdURI,
java.lang.String discriminator)
Constructs an EPCSerialNumber data transfer object. |
|
EPCSerialNumberDTO(java.lang.String unserializedIdURI,
java.lang.String discriminator,
long startRange,
long endRange,
int increment,
long current,
java.lang.String description,
java.lang.String previousRanges)
Constructs an EPCSerialNumber data transfer object. |
|
EPCSerialNumberDTO(java.lang.String unserializedIdURI,
java.lang.String discriminator,
long startRange,
long endRange,
int increment,
java.lang.String description)
Constructs an EPCSerialNumber data transfer object. |
Method Summary | |
---|---|
long |
getCurrent()
Get the value of current |
java.lang.String |
getDescription()
Get the value of description |
java.lang.String |
getDiscriminator()
Get the value of discriminator |
long |
getEndRange()
Get the value of endRange |
int |
getIncrement()
Get the value of increment |
java.lang.String |
getPreviousRanges()
Gets the value of previousRanges |
long |
getStartRange()
Get the value of startRange |
java.lang.String |
getUnserializedIdURI()
Get the value of unserializedIdURI |
void |
setCurrent(long current)
Set the value of current |
void |
setDescription(java.lang.String description)
Set the value of description |
void |
setDiscriminator(java.lang.String discriminator)
Set the value of discriminator |
void |
setEndRange(long endRange)
Set the value of endRange |
void |
setIncrement(int increment)
Set the value of increment |
void |
setPreviousRanges(java.lang.String previousRanges)
Sets the value of previousRanges |
void |
setStartRange(long startRange)
Set the value of startRange |
void |
setUnserializedIdURI(java.lang.String unserializedIdURI)
Set the value of unserializedIdURI |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public EPCSerialNumberDTO(java.lang.String unserializedIdURI, java.lang.String discriminator, long startRange, long endRange, int increment, long current, java.lang.String description, java.lang.String previousRanges)
unserializedIdURI
- string id URI without the serial number/serial reference that
identifies the serial config to updatediscriminator
- string that can be used assign ranges of serial numbers for the
same product to different entities. This string can be a location or other identifier,
or an empty string if it is not desired to use this feature.startRange
- long number at which to start serialization, must be >= endRangeendRange
- long number at which to end serialization, must be <= startRangeincrement
- integer number by which serial number differs, must >= 1current
- long number which is the last serial number commissioned. Setting this
field in the DTO has no effect, it is read-only and is only valid when using the DTO to transfer
output from an operation and thus represents the value of the EPCSerialNubmer isntance backing the DTO.previousRanges
- string list of all the ranges of EPCs that have been commissioned out of this config. Setting this
field in the DTO has no effect, it is read-only and is only valid when using the DTO to transfer
output from an operation and thus represents the value of the EPCSerialNubmer isntance backing the DTO.description
- string describing this serial number configurationpublic EPCSerialNumberDTO(java.lang.String unserializedIdURI, java.lang.String discriminator, long startRange, long endRange, int increment, java.lang.String description)
unserializedIdURI
- string id URI without the serial number/serial reference that
identifies the serial config to updatediscriminator
- string that can be used assign ranges of serial numbers for the
same product to different entities. This string can be a location or other identifier,
or an empty string if it is not desired to use this feature.startRange
- long number at which to start serialization, must be >= endRangeendRange
- long number at which to end serialization, must be <= startRangeincrement
- integer number by which serial number differs, must >= 1description
- string describing this serial number configurationpublic EPCSerialNumberDTO(java.lang.String unserializedIdURI, java.lang.String discriminator)
unserializedIdURI
- string id URI without the serial number/serial reference that
identifies the serial config to updatediscriminator
- string that can be used assign ranges of serial numbers for the
same product to different entities. This string can be a location or other identifier,
or an empty string if it is not desired to use this feature.public EPCSerialNumberDTO(com.ibm.rfid.epc.config.cmp.EPCSerialNumberLocal epcSerialNumberLocal)
epcSerialNumberLocal
- instance of EPCSerialNumberLocal from which to create a DTO,
all the fields of the bean are copied to the respective members of the DTO.Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public long getEndRange()
public int getIncrement()
public java.lang.String getDiscriminator()
public long getStartRange()
public java.lang.String getUnserializedIdURI()
public long getCurrent()
public java.lang.String getDescription()
public void setEndRange(long endRange)
endRange
- the new value of endRangepublic void setIncrement(int increment)
increment
- the new value of incrementpublic void setDiscriminator(java.lang.String discriminator)
discriminator
- the new value of discriminatorpublic void setStartRange(long startRange)
startRange
- the new value of startRangepublic void setUnserializedIdURI(java.lang.String unserializedIdURI)
unserializedIdURI
- the new value of unserializedIdURIpublic void setCurrent(long current)
current
- the new value of currentpublic void setDescription(java.lang.String description)
description
- the new value of descriptionpublic java.lang.String getPreviousRanges()
public void setPreviousRanges(java.lang.String previousRanges)
previousRanges
- the new value of previousRanges
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |