org.lastbamboo.common.sdp.fields
Class ZoneAdjustment

java.lang.Object
  extended by org.lastbamboo.common.sdp.GenericObject
      extended by org.lastbamboo.common.sdp.fields.SDPObject
          extended by org.lastbamboo.common.sdp.fields.ZoneAdjustment
All Implemented Interfaces:
Serializable, Cloneable, SDPFieldNames

public class ZoneAdjustment
extends SDPObject

Zone adjustment class.

Version:
JAIN-SIP-1.1
Author:
M. Ranganathan
This code is in the public domain.
See Also:
Serialized Form

Field Summary
protected  TypedTime offset
           
protected  String sign
           
protected  long time
           
 
Fields inherited from class org.lastbamboo.common.sdp.GenericObject
AND, AT, COLON, COMMA, DOT, DOUBLE_QUOTE, EQUALS, GREATER_THAN, HT, immutableClasses, immutableClassNames, indentation, LESS_THAN, LPAREN, matchExpression, NEWLINE, PERCENT, POUND, QUESTION, QUOTE, RETURN, RPAREN, SEMICOLON, SLASH, SP, STAR, stringRepresentation
 
Fields inherited from interface org.lastbamboo.common.sdp.fields.SDPFieldNames
ATTRIBUTE_FIELD, BANDWIDTH_FIELD, CONNECTION_FIELD, EMAIL_FIELD, INFORMATION_FIELD, KEY_FIELD, MEDIA_FIELD, ORIGIN_FIELD, PHONE_FIELD, PROTO_VERSION_FIELD, REPEAT_FIELD, SESSION_NAME_FIELD, TIME_FIELD, URI_FIELD, ZONE_FIELD
 
Constructor Summary
ZoneAdjustment()
           
 
Method Summary
 Object clone()
          Clones this object.
 String encode()
          Encode this structure into canonical form.
 TypedTime getOffset()
          get the offset.
 long getTime()
          Get the time.
 void setOffset(TypedTime off)
          Set the offset.
 void setSign(String s)
          Set the sign.
 void setTime(long t)
          Set the time.
 
Methods inherited from class org.lastbamboo.common.sdp.fields.SDPObject
dbgPrint, debugDump, equals, getStringRepresentation, initSprint, match, merge, replace, replace, replace, replace, sprint, toString
 
Methods inherited from class org.lastbamboo.common.sdp.GenericObject
Assert, dbgPrint, dbgPrint, debugDump, getIndentation, getMatcher, isMySubclass, makeClone, setMatcher, sprint, sprint, sprint, sprint, sprint, sprint, sprint, sprint
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

time

protected long time

sign

protected String sign

offset

protected TypedTime offset
Constructor Detail

ZoneAdjustment

public ZoneAdjustment()
Method Detail

setTime

public void setTime(long t)
Set the time.

Parameters:
t - time to set.

getTime

public long getTime()
Get the time.


getOffset

public TypedTime getOffset()
get the offset.


setOffset

public void setOffset(TypedTime off)
Set the offset.

Parameters:
off - typed time offset to set.

setSign

public void setSign(String s)
Set the sign.

Parameters:
s - sign for the offset.

encode

public String encode()
Encode this structure into canonical form.

Specified by:
encode in class SDPObject
Returns:
encoded form of the header.

clone

public Object clone()
Description copied from class: GenericObject
Clones this object.

Overrides:
clone in class GenericObject


Copyright © 2013 LittleShoot. All Rights Reserved.