com.google.gdata.data.youtube
Class YtAge

java.lang.Object
  extended by com.google.gdata.data.AbstractExtension
      extended by com.google.gdata.data.youtube.YtAge
All Implemented Interfaces:
Extension

public class YtAge
extends AbstractExtension

Object representation for the yt:age tag.


Constructor Summary
YtAge()
          Creates an empty age tag.
YtAge(int age)
          Creates a tag and sets the age.
 
Method Summary
 int getAge()
          Gets the age.
 void setAge(int age)
          Sets the age.
 
Methods inherited from class com.google.gdata.data.AbstractExtension
disableStrictValidation, enableStrictValidation, generate, getExtensionLocalName, getExtensionNamespace, getHandler, isImmutable, isStrictValidation, setImmutable
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YtAge

public YtAge()
Creates an empty age tag.


YtAge

public YtAge(int age)
Creates a tag and sets the age.

Parameters:
age - age
Method Detail

setAge

public void setAge(int age)
Sets the age.


getAge

public int getAge()
Gets the age.