|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.wrmf.delivery.ShippingLabel
Use the newShippingLabel
static factory method(s), not the
ShippingLabel
constructor, to construct instances of this
class. Instances must be constructed using the static factory(s), in
order to ensure proper initialization of the instance.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
protected static String |
DELIVERY_TYPE
Label for the attribute. |
private int |
deliveryType
|
private SiteAddress |
destination
|
static String |
DESTINATION
Label for the attribute. |
static long |
EXTERNALIZATION_VERSION_UID
|
protected static String |
INBOX_ID
Label for the attribute. |
private static int |
INBOX_ID_UPPER_LIMIT
|
private String |
inboxID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
protected static String |
OUTBOX_ID
Label for the attribute. |
private static int |
OUTBOX_ID_UPPER_LIMIT
|
private String |
outboxID
|
static String |
REQUESTED_TRANSPORT_TYPE
Label for the attribute. |
private TransportType |
requestedTransportType
|
private static String |
RESOURCE
|
static String |
RETURN_TYPE
Label for the attribute; If ReturnPreference.DIRECT is set, the InputStream from remote site will be returned; otherwise it will be executed within the receiver service in wrmf and null will be returned. |
private int |
returnType
|
(package private) static long |
serialVersionUID
|
private static String |
versionID
|
Constructor Summary | |
ShippingLabel()
|
Method Summary | |
private void |
destinationValidate(SiteAddress a_Destination)
|
ClassInfo |
getClassInfo()
Returns the ClassInfo object for this class. |
String |
getConceptualClassname()
Deprecated. |
protected int |
getDeliveryType()
Gets the value of the attribute: DELIVERY_TYPE. |
SiteAddress |
getDestination()
Gets the object for the association that plays role: DESTINATION. |
protected String |
getInboxID()
Gets the value of the attribute: INBOX_ID. |
protected String |
getOutboxID()
Gets the value of the attribute: OUTBOX_ID. |
TransportType |
getRequestedTransportType()
Gets the object for the association that plays role: REQUESTED_TRANSPORT_TYPE. |
int |
getReturnType()
Gets the value of the attribute: RETURN_TYPE. |
private void |
inboxIDValidate(String a_InboxID)
|
protected void |
initialize()
Supports initialization, following construction of an instance. |
static ShippingLabel |
newShippingLabel()
Default factory for the class. |
private void |
outboxIDValidate(String a_OutboxID)
|
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
void |
readExternal(PersistentRetrieveIfc input)
Used by Persistent Data Service to populate the persistent attributes of this class from a persistent store. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(ShippingLabel thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
private void |
requestedTransportTypeValidate(TransportType a_RequestedTransportType)
|
protected void |
setDeliveryType(int a_DeliveryType)
Sets the value of the attribute: DELIVERY_TYPE. |
void |
setDestination(SiteAddress a_Destination)
Sets the object for the association that plays role: DESTINATION. |
protected void |
setInboxID(String a_InboxID)
Sets the value of the attribute: INBOX_ID. |
protected void |
setOutboxID(String a_OutboxID)
Sets the value of the attribute: OUTBOX_ID. |
void |
setRequestedTransportType(TransportType a_RequestedTransportType)
Sets the object for the association that plays role: REQUESTED_TRANSPORT_TYPE. |
void |
setReturnType(int a_ReturnType)
Sets the value of the attribute: RETURN_TYPE. |
String |
toString()
Returns the conceptual (modeled) name for the class. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
void |
writeExternal(PersistentStoreIfc output)
Used by Persistent Data Service to obtain the values of the persistent attributes of this class, so they can be written to a persistent store. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
protected static final String DELIVERY_TYPE
private int deliveryType
public static final String RETURN_TYPE
private int returnType
protected static final String INBOX_ID
private static int INBOX_ID_UPPER_LIMIT
private String inboxID
protected static final String OUTBOX_ID
private static int OUTBOX_ID_UPPER_LIMIT
private String outboxID
public static final String DESTINATION
private SiteAddress destination
public static final String REQUESTED_TRANSPORT_TYPE
private TransportType requestedTransportType
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private static final String versionID
Constructor Detail |
public ShippingLabel()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(ShippingLabel thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public void writeExternal(PersistentStoreIfc output) throws SQLException, DatastoreException
(Not intended for general use.)
Supported API: false
writeExternal
in interface ObjectMappable
output
-
SQLException
DatastoreException
public void readExternal(PersistentRetrieveIfc input) throws SQLException, DatastoreException
(Not intended for general
use.)
Supported API: false
readExternal
in interface ObjectMappable
input
-
SQLException
DatastoreException
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
public String toString()
public ClassInfo getClassInfo() throws WTIntrospectionException
getClassInfo
in interface NetFactor
WTIntrospectionException
protected int getDeliveryType()
protected void setDeliveryType(int a_DeliveryType) throws WTPropertyVetoException
a_DeliveryType
-
WTPropertyVetoException
public int getReturnType()
public void setReturnType(int a_ReturnType) throws WTPropertyVetoException
a_ReturnType
-
WTPropertyVetoException
protected String getInboxID()
protected void setInboxID(String a_InboxID) throws WTPropertyVetoException
a_InboxID
-
WTPropertyVetoException
private void inboxIDValidate(String a_InboxID) throws WTPropertyVetoException
a_InboxID
-
WTPropertyVetoException
protected String getOutboxID()
protected void setOutboxID(String a_OutboxID) throws WTPropertyVetoException
a_OutboxID
-
WTPropertyVetoException
private void outboxIDValidate(String a_OutboxID) throws WTPropertyVetoException
a_OutboxID
-
WTPropertyVetoException
public SiteAddress getDestination()
public void setDestination(SiteAddress a_Destination) throws WTPropertyVetoException
a_Destination
-
WTPropertyVetoException
private void destinationValidate(SiteAddress a_Destination) throws WTPropertyVetoException
a_Destination
-
WTPropertyVetoException
public TransportType getRequestedTransportType()
public void setRequestedTransportType(TransportType a_RequestedTransportType) throws WTPropertyVetoException
a_RequestedTransportType
-
WTPropertyVetoException
private void requestedTransportTypeValidate(TransportType a_RequestedTransportType) throws WTPropertyVetoException
a_RequestedTransportType
-
WTPropertyVetoException
public static ShippingLabel newShippingLabel() throws WTException
WTException
protected void initialize() throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |