Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.messaging.common.ems
Class VCalService

java.lang.Object
  extended byoracle.panama.messaging.common.ems.EMSService
      extended byoracle.panama.messaging.common.ems.VCalService

All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable

public class VCalService
extends EMSService
See Also:
Serialized Form

Constructor Summary
VCalService()

Method Summary
boolean equals(java.lang.Object other)
Checks for equality of two VCalService objects.
byte[] getBytes()
Gets the header of the service.
byte[] getData()
Gets the data of the service.
int hashCode()
Gets hash code for the instance.
void setCal(VCalendar cal)
Sets the vCalendar data for the service.
void setEncodedVCal(byte[] cal)
Sets the vCalendar data for the service.
void setLength(int len)
Sets the length of the vCalendar.
void setVCalString(java.lang.String cal)
Sets the vCalendar data for the service.
int size()
Gets the size of the serice

Methods inherited from class oracle.panama.messaging.common.ems.EMSService
compareTo, getLength, getPosition, setPosition

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

VCalService

public VCalService()

Method Detail

equals

public boolean equals(java.lang.Object other)
Checks for equality of two VCalService objects.
Parameters:
other - VCalService object to test for equality with this object.
Returns:
true if the two objects are equal else returns false.

getBytes

public byte[] getBytes()
Gets the header of the service.
Overrides:
getBytes in class EMSService
Returns:
The header for the vCalendar EMS.

getData

public byte[] getData()
Gets the data of the service.
Overrides:
getData in class EMSService
Returns:
The data : vCalendar content.

hashCode

public int hashCode()
Gets hash code for the instance.
Returns:
hash code.

setCal

public void setCal(VCalendar cal)
Sets the vCalendar data for the service.
Parameters:
cal - vCalendar represented using VCalendar object.

setEncodedVCal

public void setEncodedVCal(byte[] cal)
Sets the vCalendar data for the service.
Parameters:
cal - vCalendar represented as encoded String object.

setLength

public void setLength(int len)
Sets the length of the vCalendar. Users need not call this method.
Overrides:
setLength in class EMSService
Parameters:
len -

setVCalString

public void setVCalString(java.lang.String cal)
Sets the vCalendar data for the service.
Parameters:
cal - vCalendar represented as String object.

size

public int size()
Gets the size of the serice
Overrides:
size in class EMSService
Returns:
The size of the EMS Service (vcalendar data + header)

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.