gov.nist.javax.sdp
クラス TimeDescriptionImpl

java.lang.Object
  上位を拡張 gov.nist.javax.sdp.TimeDescriptionImpl
すべての実装されたインタフェース:
java.io.Serializable, java.lang.Cloneable, javax.sdp.TimeDescription

public class TimeDescriptionImpl
extends java.lang.Object
implements javax.sdp.TimeDescription

Implementation of Time Description

バージョン:
JAIN-SIP-1.1
作成者:
Olivier Deruelle, M. Ranganathan
This code is in the public domain.
関連項目:
直列化された形式

フィールドの概要
 
インタフェース javax.sdp.TimeDescription から継承されたフィールド
NTP_CONST
 
コンストラクタの概要
TimeDescriptionImpl()
          Creates new TimeDescriptionImpl
TimeDescriptionImpl(TimeField timeField)
          constructor
 
メソッドの概要
 void addRepeatField(RepeatField repeatField)
          Add a repeat field.
 java.util.Vector getRepeatTimes(boolean create)
          Returns the list of repeat times (r= fields) specified in the SessionDescription.
 javax.sdp.Time getTime()
          Returns the Time field.
 void setRepeatTimes(java.util.Vector repeatTimes)
          Returns the list of repeat times (r= fields) specified in the SessionDescription.
 void setTime(javax.sdp.Time timeField)
          Sets the Time field.
 java.lang.String toString()
           
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

TimeDescriptionImpl

public TimeDescriptionImpl()
Creates new TimeDescriptionImpl


TimeDescriptionImpl

public TimeDescriptionImpl(TimeField timeField)
constructor

パラメータ:
TimeField - to set
メソッドの詳細

getTime

public javax.sdp.Time getTime()
Returns the Time field.

定義:
インタフェース javax.sdp.TimeDescription 内の getTime
戻り値:
Time

setTime

public void setTime(javax.sdp.Time timeField)
             throws javax.sdp.SdpException
Sets the Time field.

定義:
インタフェース javax.sdp.TimeDescription 内の setTime
パラメータ:
t - Time to set
例外:
javax.sdp.SdpException - if the time is null

getRepeatTimes

public java.util.Vector getRepeatTimes(boolean create)
Returns the list of repeat times (r= fields) specified in the SessionDescription.

定義:
インタフェース javax.sdp.TimeDescription 内の getRepeatTimes
パラメータ:
create - boolean to set
戻り値:
Vector

setRepeatTimes

public void setRepeatTimes(java.util.Vector repeatTimes)
                    throws javax.sdp.SdpException
Returns the list of repeat times (r= fields) specified in the SessionDescription.

定義:
インタフェース javax.sdp.TimeDescription 内の setRepeatTimes
パラメータ:
repeatTimes - Vector to set
例外:
javax.sdp.SdpException - if the parameter is null

addRepeatField

public void addRepeatField(RepeatField repeatField)
Add a repeat field.

パラメータ:
repeatField - -- repeat field to add.

toString

public java.lang.String toString()
オーバーライド:
クラス java.lang.Object 内の toString