org.stanwood.media.model
Class Certification

java.lang.Object
  extended by org.stanwood.media.model.Certification

public class Certification
extends java.lang.Object

Used to hold a certification rating of a episode or film


Constructor Summary
Certification()
          The constructor
Certification(java.lang.String certification, java.lang.String type)
          Used to create a instance of the certification class that holds certification information
 
Method Summary
 java.lang.String getCertification()
          Used to get a free text string of the certification
 java.lang.String getType()
          Used to get the type of certification
 void setCertification(java.lang.String certification)
          Used to set the certification as a free text string
 void setType(java.lang.String type)
          Used to set the type of certification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Certification

public Certification()
The constructor


Certification

public Certification(java.lang.String certification,
                     java.lang.String type)
Used to create a instance of the certification class that holds certification information

Parameters:
certification - The certification
type - The type of certification
Method Detail

getType

public java.lang.String getType()
Used to get the type of certification

Returns:
the type of certification

setType

public void setType(java.lang.String type)
Used to set the type of certification

Parameters:
type - the type of certification

getCertification

public java.lang.String getCertification()
Used to get a free text string of the certification

Returns:
The certification

setCertification

public void setCertification(java.lang.String certification)
Used to set the certification as a free text string

Parameters:
certification - The certification