org.icestandard.ICE.V20.subscribe
Class OfferType

java.lang.Object
  extended byorg.icestandard.ICE.V20.subscribe.OfferType
All Implemented Interfaces:
java.io.Serializable

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

changes from 1.1: * removed constraints-hash, * removed constraints-hash-method, * removed constraints-url attributes. * changed type attribute to a URI * renamed product-name attribute to name * moved "quantity" and "expiration-priority" attributes to delivery-policy * moved atomic-use, editable, ip-status, rights-holder, show-credit, and usage-required attributes * added optional "required" child element * deleted #wildCard because #required contains that and it makes ambiguous model Changes 8/27/03 * made delievery policy required Change 11/05/03 * changed the requires element in offer to a compliance-level attribute on offer * added a default to compliance-level of "basic" * deleted rss as a packaging type Change 11/17/03 * changed delivery policy to have + delivery rules * changed compliance-level attribute to full-ice attribute, boolean with false as default * added required-extensions element to offer to indicate ice-extensions that are required for the offer Changes 12/02/03 * added valid-after and expiration-date attributes to offer * changed subscribe-fault to subscription-fault * changed model of subscription fault to delete the subscription element

See Also:
Serialized Form

Constructor Summary
OfferType()
           
OfferType(ContentMetadataType contentMetadata, OfferMetadataType offerMetadata, DescriptionType description, DeliveryPolicyType deliveryPolicy, BusinessTermType[] businessTerm, OfferTypeRequiredExtension[] requiredExtension, org.apache.axis.types.Token offerId, org.apache.axis.types.Token name, java.util.Calendar validAfter, java.util.Calendar expirationDate, boolean fullIce)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 BusinessTermType[] getBusinessTerm()
          Gets the businessTerm value for this OfferType.
 BusinessTermType getBusinessTerm(int i)
           
 ContentMetadataType getContentMetadata()
          Gets the contentMetadata value for this OfferType.
 DeliveryPolicyType getDeliveryPolicy()
          Gets the deliveryPolicy value for this OfferType.
 DescriptionType getDescription()
          Gets the description value for this OfferType.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 java.util.Calendar getExpirationDate()
          Gets the expirationDate value for this OfferType.
 org.apache.axis.types.Token getName()
          Gets the name value for this OfferType.
 org.apache.axis.types.Token getOfferId()
          Gets the offerId value for this OfferType.
 OfferMetadataType getOfferMetadata()
          Gets the offerMetadata value for this OfferType.
 OfferTypeRequiredExtension[] getRequiredExtension()
          Gets the requiredExtension value for this OfferType.
 OfferTypeRequiredExtension getRequiredExtension(int i)
           
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 java.util.Calendar getValidAfter()
          Gets the validAfter value for this OfferType.
 int hashCode()
           
 boolean isFullIce()
          Gets the fullIce value for this OfferType.
 void setBusinessTerm(BusinessTermType[] businessTerm)
          Sets the businessTerm value for this OfferType.
 void setBusinessTerm(int i, BusinessTermType _value)
           
 void setContentMetadata(ContentMetadataType contentMetadata)
          Sets the contentMetadata value for this OfferType.
 void setDeliveryPolicy(DeliveryPolicyType deliveryPolicy)
          Sets the deliveryPolicy value for this OfferType.
 void setDescription(DescriptionType description)
          Sets the description value for this OfferType.
 void setExpirationDate(java.util.Calendar expirationDate)
          Sets the expirationDate value for this OfferType.
 void setFullIce(boolean fullIce)
          Sets the fullIce value for this OfferType.
 void setName(org.apache.axis.types.Token name)
          Sets the name value for this OfferType.
 void setOfferId(org.apache.axis.types.Token offerId)
          Sets the offerId value for this OfferType.
 void setOfferMetadata(OfferMetadataType offerMetadata)
          Sets the offerMetadata value for this OfferType.
 void setRequiredExtension(int i, OfferTypeRequiredExtension _value)
           
 void setRequiredExtension(OfferTypeRequiredExtension[] requiredExtension)
          Sets the requiredExtension value for this OfferType.
 void setValidAfter(java.util.Calendar validAfter)
          Sets the validAfter value for this OfferType.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OfferType

public OfferType()

OfferType

public OfferType(ContentMetadataType contentMetadata,
                 OfferMetadataType offerMetadata,
                 DescriptionType description,
                 DeliveryPolicyType deliveryPolicy,
                 BusinessTermType[] businessTerm,
                 OfferTypeRequiredExtension[] requiredExtension,
                 org.apache.axis.types.Token offerId,
                 org.apache.axis.types.Token name,
                 java.util.Calendar validAfter,
                 java.util.Calendar expirationDate,
                 boolean fullIce)
Method Detail

getContentMetadata

public ContentMetadataType getContentMetadata()
Gets the contentMetadata value for this OfferType.

Returns:
contentMetadata

setContentMetadata

public void setContentMetadata(ContentMetadataType contentMetadata)
Sets the contentMetadata value for this OfferType.

Parameters:
contentMetadata -

getOfferMetadata

public OfferMetadataType getOfferMetadata()
Gets the offerMetadata value for this OfferType.

Returns:
offerMetadata

setOfferMetadata

public void setOfferMetadata(OfferMetadataType offerMetadata)
Sets the offerMetadata value for this OfferType.

Parameters:
offerMetadata -

getDescription

public DescriptionType getDescription()
Gets the description value for this OfferType.

Returns:
description

setDescription

public void setDescription(DescriptionType description)
Sets the description value for this OfferType.

Parameters:
description -

getDeliveryPolicy

public DeliveryPolicyType getDeliveryPolicy()
Gets the deliveryPolicy value for this OfferType.

Returns:
deliveryPolicy

setDeliveryPolicy

public void setDeliveryPolicy(DeliveryPolicyType deliveryPolicy)
Sets the deliveryPolicy value for this OfferType.

Parameters:
deliveryPolicy -

getBusinessTerm

public BusinessTermType[] getBusinessTerm()
Gets the businessTerm value for this OfferType.

Returns:
businessTerm

setBusinessTerm

public void setBusinessTerm(BusinessTermType[] businessTerm)
Sets the businessTerm value for this OfferType.

Parameters:
businessTerm -

getBusinessTerm

public BusinessTermType getBusinessTerm(int i)

setBusinessTerm

public void setBusinessTerm(int i,
                            BusinessTermType _value)

getRequiredExtension

public OfferTypeRequiredExtension[] getRequiredExtension()
Gets the requiredExtension value for this OfferType.

Returns:
requiredExtension

setRequiredExtension

public void setRequiredExtension(OfferTypeRequiredExtension[] requiredExtension)
Sets the requiredExtension value for this OfferType.

Parameters:
requiredExtension -

getRequiredExtension

public OfferTypeRequiredExtension getRequiredExtension(int i)

setRequiredExtension

public void setRequiredExtension(int i,
                                 OfferTypeRequiredExtension _value)

getOfferId

public org.apache.axis.types.Token getOfferId()
Gets the offerId value for this OfferType.

Returns:
offerId

setOfferId

public void setOfferId(org.apache.axis.types.Token offerId)
Sets the offerId value for this OfferType.

Parameters:
offerId -

getName

public org.apache.axis.types.Token getName()
Gets the name value for this OfferType.

Returns:
name

setName

public void setName(org.apache.axis.types.Token name)
Sets the name value for this OfferType.

Parameters:
name -

getValidAfter

public java.util.Calendar getValidAfter()
Gets the validAfter value for this OfferType.

Returns:
validAfter

setValidAfter

public void setValidAfter(java.util.Calendar validAfter)
Sets the validAfter value for this OfferType.

Parameters:
validAfter -

getExpirationDate

public java.util.Calendar getExpirationDate()
Gets the expirationDate value for this OfferType.

Returns:
expirationDate

setExpirationDate

public void setExpirationDate(java.util.Calendar expirationDate)
Sets the expirationDate value for this OfferType.

Parameters:
expirationDate -

isFullIce

public boolean isFullIce()
Gets the fullIce value for this OfferType.

Returns:
fullIce

setFullIce

public void setFullIce(boolean fullIce)
Sets the fullIce value for this OfferType.

Parameters:
fullIce -

equals

public boolean equals(java.lang.Object obj)

hashCode

public int hashCode()

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