GetByteValue Method for a Property Set

The GetByteValue method returns the following information:

  • If a byte value is set, then this method returns a byte array.

  • If a string value is set, then this method returns a null value.

For more information, see SetByteValue Method for a Property Set.

Format

oPropSet.getByteValue()

No arguments are available.

Used With

Siebel Java Data Bean

Examples

The following example uses a binary value as input and provides a binary output. The angle brackets (< >) indicate a variable:

SiebelPropertySet input = new SiebelPropertySet();
SiebelPropertySet output = new SiebelPropertySet();

input.setProperty("ProcessName", "LMS3 Jason");

// XML to send
String str="<?xml version=\"1.0\" encoding=\"UTF8\" 
?><GetCommunicationDataInput><MemberID>20048963</MemberID></
GetCommunicationDataInput>";

// convert string to byte array
byte [] bvalue = new String(str).getBytes();

input.setByteValue(bvalue);
businessService.invokeMethod("RunProcess",input,output);

// Use getByteValue to return the value..and pop it in a String..for example
String out2 = new String (output.getByteValue());
System.out.println(out2);