com.yahoo.marketing.apt
Class Ad

java.lang.Object
  extended by com.yahoo.marketing.apt.Ad
All Implemented Interfaces:
java.io.Serializable

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

See Also:
Serialized Form

Field Summary
private  java.lang.Object __equalsCalc
           
private  boolean __hashCodeCalc
           
private  java.lang.String accountID
           
private  java.lang.Long adGroupID
           
private  java.lang.Long adOptimizationWeight
           
private  CompositeURL[] clickThroughURLs
           
private  java.util.Calendar createTimestamp
           
private  java.lang.Long ID
           
private  java.util.Calendar lastUpdateTimestamp
           
private  java.lang.Long libraryAdID
           
private  AdStatus status
           
private  AdType type
           
private static org.apache.axis.description.TypeDesc typeDesc
           
 
Constructor Summary
Ad()
           
Ad(java.lang.Long ID, java.lang.String accountID, java.lang.Long adGroupID, java.lang.Long adOptimizationWeight, CompositeURL[] clickThroughURLs, java.util.Calendar createTimestamp, java.util.Calendar lastUpdateTimestamp, java.lang.Long libraryAdID, AdStatus status, AdType type)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getAccountID()
          Gets the accountID value for this Ad.
 java.lang.Long getAdGroupID()
          Gets the adGroupID value for this Ad.
 java.lang.Long getAdOptimizationWeight()
          Gets the adOptimizationWeight value for this Ad.
 CompositeURL[] getClickThroughURLs()
          Gets the clickThroughURLs value for this Ad.
 java.util.Calendar getCreateTimestamp()
          Gets the createTimestamp value for this Ad.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 java.lang.Long getID()
          Gets the ID value for this Ad.
 java.util.Calendar getLastUpdateTimestamp()
          Gets the lastUpdateTimestamp value for this Ad.
 java.lang.Long getLibraryAdID()
          Gets the libraryAdID value for this Ad.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
 AdStatus getStatus()
          Gets the status value for this Ad.
 AdType getType()
          Gets the type value for this Ad.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setAccountID(java.lang.String accountID)
          Sets the accountID value for this Ad.
 void setAdGroupID(java.lang.Long adGroupID)
          Sets the adGroupID value for this Ad.
 void setAdOptimizationWeight(java.lang.Long adOptimizationWeight)
          Sets the adOptimizationWeight value for this Ad.
 void setClickThroughURLs(CompositeURL[] clickThroughURLs)
          Sets the clickThroughURLs value for this Ad.
 void setCreateTimestamp(java.util.Calendar createTimestamp)
          Sets the createTimestamp value for this Ad.
 void setID(java.lang.Long ID)
          Sets the ID value for this Ad.
 void setLastUpdateTimestamp(java.util.Calendar lastUpdateTimestamp)
          Sets the lastUpdateTimestamp value for this Ad.
 void setLibraryAdID(java.lang.Long libraryAdID)
          Sets the libraryAdID value for this Ad.
 void setStatus(AdStatus status)
          Sets the status value for this Ad.
 void setType(AdType type)
          Sets the type value for this Ad.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

private java.lang.Long ID

accountID

private java.lang.String accountID

adGroupID

private java.lang.Long adGroupID

adOptimizationWeight

private java.lang.Long adOptimizationWeight

clickThroughURLs

private CompositeURL[] clickThroughURLs

createTimestamp

private java.util.Calendar createTimestamp

lastUpdateTimestamp

private java.util.Calendar lastUpdateTimestamp

libraryAdID

private java.lang.Long libraryAdID

status

private AdStatus status

type

private AdType type

__equalsCalc

private java.lang.Object __equalsCalc

__hashCodeCalc

private boolean __hashCodeCalc

typeDesc

private static org.apache.axis.description.TypeDesc typeDesc
Constructor Detail

Ad

public Ad()

Ad

public Ad(java.lang.Long ID,
          java.lang.String accountID,
          java.lang.Long adGroupID,
          java.lang.Long adOptimizationWeight,
          CompositeURL[] clickThroughURLs,
          java.util.Calendar createTimestamp,
          java.util.Calendar lastUpdateTimestamp,
          java.lang.Long libraryAdID,
          AdStatus status,
          AdType type)
Method Detail

getID

public java.lang.Long getID()
Gets the ID value for this Ad.

Returns:
ID

setID

public void setID(java.lang.Long ID)
Sets the ID value for this Ad.

Parameters:
ID -

getAccountID

public java.lang.String getAccountID()
Gets the accountID value for this Ad.

Returns:
accountID

setAccountID

public void setAccountID(java.lang.String accountID)
Sets the accountID value for this Ad.

Parameters:
accountID -

getAdGroupID

public java.lang.Long getAdGroupID()
Gets the adGroupID value for this Ad.

Returns:
adGroupID

setAdGroupID

public void setAdGroupID(java.lang.Long adGroupID)
Sets the adGroupID value for this Ad.

Parameters:
adGroupID -

getAdOptimizationWeight

public java.lang.Long getAdOptimizationWeight()
Gets the adOptimizationWeight value for this Ad.

Returns:
adOptimizationWeight

setAdOptimizationWeight

public void setAdOptimizationWeight(java.lang.Long adOptimizationWeight)
Sets the adOptimizationWeight value for this Ad.

Parameters:
adOptimizationWeight -

getClickThroughURLs

public CompositeURL[] getClickThroughURLs()
Gets the clickThroughURLs value for this Ad.

Returns:
clickThroughURLs

setClickThroughURLs

public void setClickThroughURLs(CompositeURL[] clickThroughURLs)
Sets the clickThroughURLs value for this Ad.

Parameters:
clickThroughURLs -

getCreateTimestamp

public java.util.Calendar getCreateTimestamp()
Gets the createTimestamp value for this Ad.

Returns:
createTimestamp

setCreateTimestamp

public void setCreateTimestamp(java.util.Calendar createTimestamp)
Sets the createTimestamp value for this Ad.

Parameters:
createTimestamp -

getLastUpdateTimestamp

public java.util.Calendar getLastUpdateTimestamp()
Gets the lastUpdateTimestamp value for this Ad.

Returns:
lastUpdateTimestamp

setLastUpdateTimestamp

public void setLastUpdateTimestamp(java.util.Calendar lastUpdateTimestamp)
Sets the lastUpdateTimestamp value for this Ad.

Parameters:
lastUpdateTimestamp -

getLibraryAdID

public java.lang.Long getLibraryAdID()
Gets the libraryAdID value for this Ad.

Returns:
libraryAdID

setLibraryAdID

public void setLibraryAdID(java.lang.Long libraryAdID)
Sets the libraryAdID value for this Ad.

Parameters:
libraryAdID -

getStatus

public AdStatus getStatus()
Gets the status value for this Ad.

Returns:
status

setStatus

public void setStatus(AdStatus status)
Sets the status value for this Ad.

Parameters:
status -

getType

public AdType getType()
Gets the type value for this Ad.

Returns:
type

setType

public void setType(AdType type)
Sets the type value for this Ad.

Parameters:
type -

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer