WebSphere Enterprise Service Bus for z/OS, Version 6.2.0 Operating Systems: z/OS


How do I know if my DataObject has a sequence?

There are two simple APIs to choose from that can determine if a DataObject is sequenced: DataObject noSequence and DataObject withSequence.

You would use DataObject noSequence and DataObject withSequence as shown in the following example:

	DataObject noSequence = ...
	DataObject withSequence = ...

	// Displays false
	System.out.println(noSequence.getType().isSequenced());

	// Displays true
	System.out.println(withSequence.getType().isSequenced());

	// Displays true
	System.out.println(noSequence.getSequence() == null);

	// Displays false
	System.out.println(withSequence.getSequence() == null);

concept Concept topic

Terms of use | Feedback


Timestamp icon Last updated: 21 June 2010


http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r2mx/topic//com.ibm.websphere.wesb620.zseries.doc/doc/cbo_howdatasequence.html
Copyright IBM Corporation 2005, 2010. All Rights Reserved.
This information center is powered by Eclipse technology (http://www.eclipse.org).