de.micromata.opengis.kml.v_2_2_0.gx
Class Playlist

java.lang.Object
  extended by de.micromata.opengis.kml.v_2_2_0.AbstractObject
      extended by de.micromata.opengis.kml.v_2_2_0.gx.Playlist
All Implemented Interfaces:
java.lang.Cloneable

public class Playlist
extends AbstractObject
implements java.lang.Cloneable


Field Summary
protected  java.util.List<TourPrimitive> tourPrimitive
           
 
Fields inherited from class de.micromata.opengis.kml.v_2_2_0.AbstractObject
id, objectSimpleExtension, targetId
 
Constructor Summary
Playlist()
           
 
Method Summary
 Playlist addToObjectSimpleExtension(java.lang.Object objectSimpleExtension)
          add a value to the objectSimpleExtension property collection
 Playlist addToTourPrimitive(TourPrimitive tourPrimitive)
          add a value to the tourPrimitive property collection
 Playlist clone()
           
 AnimatedUpdate createAndAddAnimatedUpdate()
          Creates a new instance of AnimatedUpdate and adds it to tourPrimitive.
 FlyTo createAndAddFlyTo()
          Creates a new instance of FlyTo and adds it to tourPrimitive.
 SoundCue createAndAddSoundCue()
          Creates a new instance of SoundCue and adds it to tourPrimitive.
 TourControl createAndAddTourControl()
          Creates a new instance of TourControl and adds it to tourPrimitive.
 Wait createAndAddWait()
          Creates a new instance of Wait and adds it to tourPrimitive.
 boolean equals(java.lang.Object obj)
           
 java.util.List<TourPrimitive> getTourPrimitive()
           
 int hashCode()
           
 void setObjectSimpleExtension(java.util.List<java.lang.Object> objectSimpleExtension)
           
 void setTourPrimitive(java.util.List<TourPrimitive> tourPrimitive)
          Sets the value of the tourPrimitive property Objects of the following type(s) are allowed in the list List.
 Playlist withId(java.lang.String id)
          fluent setter
 Playlist withObjectSimpleExtension(java.util.List<java.lang.Object> objectSimpleExtension)
          fluent setter
 Playlist withTargetId(java.lang.String targetId)
          fluent setter
 Playlist withTourPrimitive(java.util.List<TourPrimitive> tourPrimitive)
          fluent setter
 
Methods inherited from class de.micromata.opengis.kml.v_2_2_0.AbstractObject
getId, getObjectSimpleExtension, getTargetId, setId, setTargetId
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tourPrimitive

protected java.util.List<TourPrimitive> tourPrimitive
Constructor Detail

Playlist

public Playlist()
Method Detail

getTourPrimitive

public java.util.List<TourPrimitive> getTourPrimitive()

hashCode

public int hashCode()
Overrides:
hashCode in class AbstractObject

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class AbstractObject

createAndAddAnimatedUpdate

public AnimatedUpdate createAndAddAnimatedUpdate()
Creates a new instance of AnimatedUpdate and adds it to tourPrimitive. This method is a short version for: AnimatedUpdate animatedUpdate = new AnimatedUpdate(); this.getTourPrimitive().add(animatedUpdate);


createAndAddTourControl

public TourControl createAndAddTourControl()
Creates a new instance of TourControl and adds it to tourPrimitive. This method is a short version for: TourControl tourControl = new TourControl(); this.getTourPrimitive().add(tourControl);


createAndAddWait

public Wait createAndAddWait()
Creates a new instance of Wait and adds it to tourPrimitive. This method is a short version for: Wait wait = new Wait(); this.getTourPrimitive().add(wait);


createAndAddSoundCue

public SoundCue createAndAddSoundCue()
Creates a new instance of SoundCue and adds it to tourPrimitive. This method is a short version for: SoundCue soundCue = new SoundCue(); this.getTourPrimitive().add(soundCue);


createAndAddFlyTo

public FlyTo createAndAddFlyTo()
Creates a new instance of FlyTo and adds it to tourPrimitive. This method is a short version for: FlyTo flyTo = new FlyTo(); this.getTourPrimitive().add(flyTo);


setTourPrimitive

public void setTourPrimitive(java.util.List<TourPrimitive> tourPrimitive)
Sets the value of the tourPrimitive property Objects of the following type(s) are allowed in the list List.

Note:

This method does not make use of the fluent pattern.If you would like to make it fluent, use withTourPrimitive(java.util.List) instead.

Parameters:
tourPrimitive -

addToTourPrimitive

public Playlist addToTourPrimitive(TourPrimitive tourPrimitive)
add a value to the tourPrimitive property collection

Parameters:
tourPrimitive - Objects of the following type are allowed in the list: <WaitJAXBElement<TourControlJAXBElement<AnimatedUpdateJAXBElement<TourPrimitiveJAXBElement<SoundCueJAXBElement<FlyTo
Returns:
true (as general contract of Collection.add).

setObjectSimpleExtension

public void setObjectSimpleExtension(java.util.List<java.lang.Object> objectSimpleExtension)
Overrides:
setObjectSimpleExtension in class AbstractObject
See Also:
objectSimpleExtension

addToObjectSimpleExtension

public Playlist addToObjectSimpleExtension(java.lang.Object objectSimpleExtension)
Description copied from class: AbstractObject
add a value to the objectSimpleExtension property collection

Overrides:
addToObjectSimpleExtension in class AbstractObject
Parameters:
objectSimpleExtension - Objects of the following type are allowed in the list: Object
Returns:
true (as general contract of Collection.add).

withTourPrimitive

public Playlist withTourPrimitive(java.util.List<TourPrimitive> tourPrimitive)
fluent setter

Parameters:
tourPrimitive - required parameter
See Also:
#setTourPrimitive(List)

withObjectSimpleExtension

public Playlist withObjectSimpleExtension(java.util.List<java.lang.Object> objectSimpleExtension)
Description copied from class: AbstractObject
fluent setter

Overrides:
withObjectSimpleExtension in class AbstractObject
Parameters:
objectSimpleExtension - required parameter
See Also:
#setObjectSimpleExtension(List)

withId

public Playlist withId(java.lang.String id)
Description copied from class: AbstractObject
fluent setter

Overrides:
withId in class AbstractObject
Parameters:
id - required parameter
See Also:
AbstractObject.setId(String)

withTargetId

public Playlist withTargetId(java.lang.String targetId)
Description copied from class: AbstractObject
fluent setter

Overrides:
withTargetId in class AbstractObject
Parameters:
targetId - required parameter
See Also:
AbstractObject.setTargetId(String)

clone

public Playlist clone()
Overrides:
clone in class AbstractObject