Nitido Inc.

com.nitido.nimbox.http.services.ad
Class SkinAd

java.lang.Object
  extended by com.nitido.nimbox.http.services.ad.SkinAd
All Implemented Interfaces:
java.io.Serializable

public class SkinAd
extends java.lang.Object
implements java.io.Serializable

This class represents an AD that can be displayed on a skin.

See Also:
Serialized Form

Field Summary
protected  java.lang.String _content
          the AD content
protected  java.lang.String _description
           
protected  java.lang.String _id
          The AD id
protected  java.lang.String _linkURL
          the URL for the Ad
 
Constructor Summary
protected SkinAd(SkinAd ad)
          Copy constructor.
protected SkinAd(java.lang.String id, java.lang.String linkURL, java.lang.String content, java.lang.String description)
          Instantiates a new SkinAd object.
 
Method Summary
 java.lang.String getContent()
          Returns the AD content
 java.lang.String getDescription()
          Returns the AD description
 java.lang.String getID()
          Returns the AD id
 java.lang.String getLinkURL()
          Returns the URL to the Ad.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_id

protected java.lang.String _id
The AD id


_linkURL

protected java.lang.String _linkURL
the URL for the Ad


_content

protected java.lang.String _content
the AD content


_description

protected java.lang.String _description
Constructor Detail

SkinAd

protected SkinAd(java.lang.String id,
                 java.lang.String linkURL,
                 java.lang.String content,
                 java.lang.String description)
Instantiates a new SkinAd object.

Parameters:
id - The AD id. This parameter cannot be an empty string or null.
linkURL - URL to the Ad. This parameter cannot be an empty string or null.
content - The ad content. This parameter cannot be an empty string or null.
description - Description of the AD.
Throws:
java.lang.IllegalArgumentException - If any of the constructor parameters is null or an empty string

SkinAd

protected SkinAd(SkinAd ad)
Copy constructor. Create a new AD based on the information on the given AD parameter.

Parameters:
ad - The Skin AD that is to be copied
Method Detail

getID

public java.lang.String getID()
Returns the AD id

Returns:
The AD id

getLinkURL

public java.lang.String getLinkURL()
Returns the URL to the Ad.

Returns:
The URL to the Ad.

getContent

public java.lang.String getContent()
Returns the AD content

Returns:
The AD content

getDescription

public java.lang.String getDescription()
Returns the AD description

Returns:
The AD description

Nitido NiM 2.5 Java API

These JavaDoc pages are generated for release/nim_2_5-2.5.44

Copyright © 1999-2009 Nitido Inc.    Proprietary and Confidential.    All Rights Reserved.