You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@marmotta.apache.org by ja...@apache.org on 2014/01/08 16:25:52 UTC
[36/51] [abbrv] [partial] MARMOTTA-397: Reorganized and renamed
Marmotta Sesame Tools
http://git-wip-us.apache.org/repos/asf/marmotta/blob/00c22e7c/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/CustomTag.java
----------------------------------------------------------------------
diff --git a/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/CustomTag.java b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/CustomTag.java
new file mode 100644
index 0000000..55139c6
--- /dev/null
+++ b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/CustomTag.java
@@ -0,0 +1,125 @@
+/*
+ * CustomTag.java
+ *
+ * Created on February 6, 2006, 12:17 AM
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+package org.rometools.feed.module.base;
+
+
+/**
+ * This class represents a custom tag name and value.
+ * @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
+ * @version $Revision: 1.2 $
+ */
+public interface CustomTag {
+
+ /**
+ * Returns the tag name used.
+ * @return Returns the tag name used.
+ */
+ public String getName();
+
+ /**
+ * The value of the custom tag.
+ * <br>
+ * <br>
+ * <table border="1" cellpadding="6" cellspacing="0">
+ * <tbody><tr valign="top">
+ * <td><strong><font size="-1">Type (JavaType)</font></strong></td>
+ *
+ * <td><strong><font size="-1">Description</font></strong></td>
+ * <td><strong><font size="-1">Examples</font></strong></td>
+ * </tr>
+ * <tr valign="top">
+ * <td><font size="-1">string (String)</font></td>
+ * <td><font size="-1">Any string</font></td>
+ * <td><font size="-1">Blue</font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ * <td><font size="-1">int (Integer)</font></td>
+ * <td><font size="-1">Whole number values</font></td>
+ * <td><font size="-1">1000</font></td>
+ * </tr>
+ * <tr valign="top">
+ *
+ * <td><font size="-1">float (Float)</font></td>
+ * <td><font size="-1">Numbers with decimal digits</font></td>
+ * <td><font size="-1">3.5</font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td><font size="-1">intUnit (IntUnit)</font></td>
+ *
+ * <td><font size="-1">Whole number value and a string</font></td>
+ *
+ * <td><font size="-1">10 km</font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td><font size="-1">floatUnit (FloatUnit)</font></td>
+ * <td><font size="-1">Numbers with decimal digits and a string</font></td>
+ *
+ * <td><font size="-1">1.5 km</font></td>
+ * </tr>
+ *
+ * <tr valign="top">
+ * <td><font size="-1">date (ShortDate)</font></td>
+ * <td><font size="-1">Date of an event, in format YYYY-MM-DD</font></td>
+ * <td><font size="-1">2005-12-12</font></td>
+ * </tr>
+ *
+ * <tr valign="top">
+ * <td><font size="-1">dateTime (java.util.Date)</font></td>
+ *
+ * <td><font size="-1">Date and time for an event, in format YYYY-MM-DDThh:mm:ss</font></td>
+ * <td><font size="-1">2005-12-12T12:00:00 </font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td><font size="-1">dateTimeRange (DateTimeRange)</font></td>
+ *
+ * <td><font size="-1">Start and end dates for an event. An attribute of this type will contain two sub-attributes, <start> and <end> in format YYYY-MM-DD</font></td>
+ *
+ * <td><font size="-1"><start>1975-09-25</start><br><end>1975-09-25</end>
+ *
+ * </font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td><font size="-1">url (java.net.URL)</font></td>
+ * <td><font size="-1">HTTP URL </font></td>
+ *
+ * <td><font size="-1">http://www.google.com</font></td>
+ * </tr>
+ *
+ * <tr valign="top">
+ * <td><font size="-1">boolean (Boolean)</font></td>
+ * <td><font size="-1">Value may be either true or false.</font></td>
+ * <td><font size="-1">true</font></td>
+ * </tr>
+ *
+ * <tr valign="top">
+ * <td><font size="-1">location (CustomTagImpl.Location)</font></td>
+ *
+ * <td><font size="-1">Location</font></td>
+ * <td><font size="-1">921 W. Dana Street, Mtn View, CA-94103 </font></td>
+ * </tr>
+ *
+ * </tbody></table>
+ * @return The value of the tag. The objects class is determined by the "type" attribute on the tag.
+ */
+ public Object getValue();
+
+}
http://git-wip-us.apache.org/repos/asf/marmotta/blob/00c22e7c/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/CustomTagImpl.java
----------------------------------------------------------------------
diff --git a/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/CustomTagImpl.java b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/CustomTagImpl.java
new file mode 100644
index 0000000..8438d8d
--- /dev/null
+++ b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/CustomTagImpl.java
@@ -0,0 +1,215 @@
+/*
+ * CustomTagImpl.java
+ *
+ * Created on February 6, 2006, 12:06 AM
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+package org.rometools.feed.module.base;
+
+import org.rometools.feed.module.base.types.DateTimeRange;
+import org.rometools.feed.module.base.types.FloatUnit;
+import org.rometools.feed.module.base.types.IntUnit;
+import org.rometools.feed.module.base.types.ShortDate;
+
+import java.net.URL;
+
+import java.util.Date;
+
+
+/**
+ * @version $Revision: 1.1 $
+ * @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
+ */
+public class CustomTagImpl implements CustomTag {
+ private Object value;
+ private String name;
+
+ /** Creates a new instance of CustomTagImpl */
+ public CustomTagImpl(String name,String value) {
+ if( name == null || value == null ){ throw new NullPointerException("Name and Value cannont be null."); }
+ this.name = name;
+ this.value = value;
+ }
+
+ public CustomTagImpl(String name,Integer value) {
+ if( name == null || value == null ){ throw new NullPointerException("Name and Value cannont be null."); }
+ this.name = name;
+ this.value = value;
+ }
+
+ public CustomTagImpl(String name,Float value) {
+ if( name == null || value == null ){ throw new NullPointerException("Name and Value cannont be null."); }
+ this.name = name;
+ this.value = value;
+ }
+
+ public CustomTagImpl(String name,IntUnit value) {
+ if( name == null || value == null ){ throw new NullPointerException("Name and Value cannont be null."); }
+ this.name = name;
+ this.value = value;
+ }
+
+ public CustomTagImpl(String name,FloatUnit value) {
+ if( name == null || value == null ){ throw new NullPointerException("Name and Value cannont be null."); }
+ this.name = name;
+ this.value = value;
+ }
+
+ public CustomTagImpl(String name,ShortDate value) {
+ if( name == null || value == null ){ throw new NullPointerException("Name and Value cannont be null."); }
+ this.name = name;
+ this.value = value;
+ }
+
+ public CustomTagImpl(String name,Date value) {
+ if( name == null || value == null ){ throw new NullPointerException("Name and Value cannont be null."); }
+ this.name = name;
+ this.value = value;
+ }
+
+ public CustomTagImpl(String name,DateTimeRange value) {
+ if( name == null || value == null ){ throw new NullPointerException("Name and Value cannont be null."); }
+ this.name = name;
+ this.value = value;
+ }
+
+ public CustomTagImpl(String name,URL value) {
+ if( name == null || value == null ){ throw new NullPointerException("Name and Value cannont be null."); }
+ this.name = name;
+ this.value = value;
+ }
+
+ public CustomTagImpl(String name,Boolean value) {
+ if( name == null || value == null ){ throw new NullPointerException("Name and Value cannont be null."); }
+ this.name = name;
+ this.value = value;
+ }
+
+ public CustomTagImpl(String name,Location value) {
+ if( name == null || value == null ){ throw new NullPointerException("Name and Value cannont be null."); }
+ this.name = name;
+ this.value = value;
+ }
+
+ public String getName() {
+ return this.name;
+ }
+
+ public Object getValue() {
+ return this.value;
+ }
+
+ public boolean equals( Object o ){
+ if( o instanceof CustomTag ){
+ CustomTag tag = (CustomTag) o;
+ if( this.name.equals( tag.getName() ) && this.value.equals( tag.getValue() ))
+ return true;
+ }
+ return false;
+ }
+
+ /**
+ * Creates and returns a copy of this object. The precise meaning
+ * of "copy" may depend on the class of the object. The general
+ * intent is that, for any object <tt>x</tt>, the expression:
+ * <blockquote>
+ * <pre>
+ * x.clone() != x</pre></blockquote>
+ * will be true, and that the expression:
+ * <blockquote>
+ * <pre>
+ * x.clone().getClass() == x.getClass()</pre></blockquote>
+ * will be <tt>true</tt>, but these are not absolute requirements.
+ * While it is typically the case that:
+ * <blockquote>
+ * <pre>
+ * x.clone().equals(x)</pre></blockquote>
+ * will be <tt>true</tt>, this is not an absolute requirement.
+ * <p>
+ * By convention, the returned object should be obtained by calling
+ * <tt>super.clone</tt>. If a class and all of its superclasses (except
+ * <tt>Object</tt>) obey this convention, it will be the case that
+ * <tt>x.clone().getClass() == x.getClass()</tt>.
+ * <p>
+ * By convention, the object returned by this method should be independent
+ * of this object (which is being cloned). To achieve this independence,
+ * it may be necessary to modify one or more fields of the object returned
+ * by <tt>super.clone</tt> before returning it. Typically, this means
+ * copying any mutable objects that comprise the internal "deep structure"
+ * of the object being cloned and replacing the references to these
+ * objects with references to the copies. If a class contains only
+ * primitive fields or references to immutable objects, then it is usually
+ * the case that no fields in the object returned by <tt>super.clone</tt>
+ * need to be modified.
+ * <p>
+ * The method <tt>clone</tt> for class <tt>Object</tt> performs a
+ * specific cloning operation. First, if the class of this object does
+ * not implement the interface <tt>Cloneable</tt>, then a
+ * <tt>CloneNotSupportedException</tt> is thrown. Note that all arrays
+ * are considered to implement the interface <tt>Cloneable</tt>.
+ * Otherwise, this method creates a new instance of the class of this
+ * object and initializes all its fields with exactly the contents of
+ * the corresponding fields of this object, as if by assignment; the
+ * contents of the fields are not themselves cloned. Thus, this method
+ * performs a "shallow copy" of this object, not a "deep copy" operation.
+ * <p>
+ * The class <tt>Object</tt> does not itself implement the interface
+ * <tt>Cloneable</tt>, so calling the <tt>clone</tt> method on an object
+ * whose class is <tt>Object</tt> will result in throwing an
+ * exception at run time.
+ *
+ * @return a clone of this instance.
+ * @exception CloneNotSupportedException if the object's class does not
+ * support the <code>Cloneable</code> interface. Subclasses
+ * that override the <code>clone</code> method can also
+ * throw this exception to indicate that an instance cannot
+ * be cloned.
+ * @see java.lang.Cloneable
+ */
+ public Object clone() throws CloneNotSupportedException {
+ CustomTagImpl cti = new CustomTagImpl( this.name, "" );
+ cti.value = this.value;
+ return cti;
+ }
+
+ public String toString() {
+ return "[custom name=\""+this.name+"\" value=\""+this.value.toString()+"\"]";
+ }
+ public static class Location {
+ private String value;
+
+ public Location(String value) {
+ this.value = value;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ public Object clone() {
+ return new Location(this.value);
+ }
+
+ public String toString() {
+ return value;
+ }
+
+ public boolean equals( Object o ){
+ if( o instanceof Location && ((Location) o).value.equals(this.value) ) return true;
+ else return false;
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/marmotta/blob/00c22e7c/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/CustomTags.java
----------------------------------------------------------------------
diff --git a/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/CustomTags.java b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/CustomTags.java
new file mode 100644
index 0000000..00bdb75
--- /dev/null
+++ b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/CustomTags.java
@@ -0,0 +1,38 @@
+/*
+ * CustomTags.java
+ *
+ * Created on February 6, 2006, 12:26 AM
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+package org.rometools.feed.module.base;
+
+import com.sun.syndication.feed.module.Module;
+import java.util.List;
+
+/**
+ * @version $Revision: 1.1 $
+ * @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
+ */
+public interface CustomTags extends Module {
+
+ public static final String URI = "http://base.google.com/cns/1.0";
+
+ public List getValues();
+
+ public void setValues(List values);
+
+}
http://git-wip-us.apache.org/repos/asf/marmotta/blob/00c22e7c/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/CustomTagsImpl.java
----------------------------------------------------------------------
diff --git a/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/CustomTagsImpl.java b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/CustomTagsImpl.java
new file mode 100644
index 0000000..40263e7
--- /dev/null
+++ b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/CustomTagsImpl.java
@@ -0,0 +1,68 @@
+/*
+ * CustomTagsImpl.java
+ *
+ * Created on February 6, 2006, 12:26 AM
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+package org.rometools.feed.module.base;
+
+import com.sun.syndication.feed.CopyFrom;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * @version $Revision: 1.1 $
+ * @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
+ */
+public class CustomTagsImpl implements CustomTags {
+
+ private List values;
+ /** Creates a new instance of CustomTagsImpl */
+ public CustomTagsImpl() {
+ }
+
+ public List getValues(){
+ values = (values == null )? new ArrayList() : values;
+ return values;
+ }
+
+ public void setValues(List values){
+ this.values = values;
+ }
+
+ public void copyFrom(CopyFrom object) {
+ CustomTags ct = (CustomTags) object;
+ this.values = new ArrayList( ct.getValues() );
+ }
+
+ @Override
+ public Object clone() {
+ CustomTagsImpl cti = new CustomTagsImpl();
+ cti.values = new ArrayList( this.values );
+ return cti;
+ }
+
+ public Class getInterface(){
+ return CustomTags.class;
+ }
+
+ public String getUri() {
+ return CustomTags.URI;
+ }
+
+
+}
http://git-wip-us.apache.org/repos/asf/marmotta/blob/00c22e7c/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Event.java
----------------------------------------------------------------------
diff --git a/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Event.java b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Event.java
new file mode 100644
index 0000000..1e52871
--- /dev/null
+++ b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Event.java
@@ -0,0 +1,1400 @@
+/*
+ * Event.java
+ *
+ * Created on November 16, 2005, 11:38 AM
+ *
+ * This library is provided under dual licenses.
+ * You may choose the terms of the Lesser General Public License or the Apache
+ * License at your discretion.
+ *
+ * Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin
+ *
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.rometools.feed.module.base;
+
+import org.rometools.feed.module.base.types.CurrencyEnumeration;
+import org.rometools.feed.module.base.types.DateTimeRange;
+import org.rometools.feed.module.base.types.FloatUnit;
+import org.rometools.feed.module.base.types.PaymentTypeEnumeration;
+import org.rometools.feed.module.base.types.PriceTypeEnumeration;
+import org.rometools.feed.module.base.types.ShippingType;
+
+
+/**
+ * This is an interface for the GoogleBase plug in that exposes methods used for
+ * Event entry types.
+ * @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
+ * @version $Revision: 1.1 $
+ */
+public interface Event extends GlobalInterface {
+ /**
+ * Currency of the price amount for an item.
+ *
+ * <table border="1" cellpadding="5" cellspacing="0" width="640">
+ * <tbody><tr valign="top">
+ * <td colspan="2" bgcolor="#dddddd" valign="top"> <font size="-1"><b><a name="currency"></a>currency</b></font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"> <font size="-1"><b>Details</b></font></td>
+ *
+ * <td> <font size="-1">Currency
+ * of the price amount for an item. Values must be in <a href="http://www.iso.org/iso/en/prods-services/popstds/currencycodeslist.html">ISO
+ * 4217</a> currency code format.</font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"> <font size="-1"><b>Example</b></font></td>
+ *
+ * <td> <font size="-1"><em>Acceptable:</em><br><g:currency>USD</g:currency><br>
+ *
+ * <em>Not acceptable:</em><br><g:currency>US Dollars</g:currency></font></td>
+ * </tr>
+ * <tr valign="top">
+ *
+ * <td width="120"> <font size="-1"><b>Attribute
+ * of</b></font></td>
+ * <td> <font size="-1">Events,
+ * Housing, Products, Services, Travel, Vehicles</font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"> <font size="-1"><b>Content
+ * type</b></font></td>
+ * <td> <font size="-1">currencyEnumeration</font></td>
+ *
+ * </tr>
+ * </tbody></table>
+ * @param value Currency of the price amount for an item.
+ */
+ public void setCurrency(CurrencyEnumeration value);
+
+ /**
+ * Currency of the price amount for an item.
+ *
+ * <table border="1" cellpadding="5" cellspacing="0" width="640">
+ * <tbody><tr valign="top">
+ * <td colspan="2" bgcolor="#dddddd" valign="top"> <font size="-1"><b><a name="currency"></a>currency</b></font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"> <font size="-1"><b>Details</b></font></td>
+ *
+ * <td> <font size="-1">Currency
+ * of the price amount for an item. Values must be in <a href="http://www.iso.org/iso/en/prods-services/popstds/currencycodeslist.html">ISO
+ * 4217</a> currency code format.</font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"> <font size="-1"><b>Example</b></font></td>
+ *
+ * <td> <font size="-1"><em>Acceptable:</em><br><g:currency>USD</g:currency><br>
+ *
+ * <em>Not acceptable:</em><br><g:currency>US Dollars</g:currency></font></td>
+ * </tr>
+ * <tr valign="top">
+ *
+ * <td width="120"> <font size="-1"><b>Attribute
+ * of</b></font></td>
+ * <td> <font size="-1">Events,
+ * Housing, Products, Services, Travel, Vehicles</font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"> <font size="-1"><b>Content
+ * type</b></font></td>
+ * <td> <font size="-1">currencyEnumeration</font></td>
+ *
+ * </tr>
+ * </tbody></table>
+ * @return Currency of the price amount for an item.
+ */
+ public CurrencyEnumeration getCurrency();
+
+ /**
+ * Additional instructions to explain the item’s delivery process.
+ *
+ * <table border="1" cellpadding="5" cellspacing="0" width="640">
+ * <tbody><tr valign="top">
+ * <td colspan="2" bgcolor="#dddddd" valign="top"> <font size="-1"><b><a name="delivery_notes"></a>delivery_notes</b></font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"> <font size="-1"><b>Details</b></font></td>
+ *
+ * <td> <font size="-1">Additional instructions to explain the item’s delivery process.</font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1"><b>Example</b></font></td>
+ * <td>
+ * <font size="-1"><g:delivery_notes>Items usually shipped within 24 hours.<g:/delivery_notes><br>
+ *
+ * </font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"> <font size="-1"><b>Attribute
+ * of</b></font></td>
+ * <td>
+ * <font size="-1">Events, Products, Reviews, Services, Travel, Vehicles, Wanted
+ * Ads. </font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"> <font size="-1"><b>Content
+ * type</b></font></td>
+ *
+ * <td> <font size="-1">string</font></td>
+ * </tr>
+ * </tbody></table>
+ * @param deliveryNotes Additional instructions to explain the item’s delivery process.
+ */
+ public void setDeliveryNotes(String deliveryNotes);
+
+ /**
+ * Additional instructions to explain the item’s delivery process.
+ *
+ * <table border="1" cellpadding="5" cellspacing="0" width="640">
+ * <tbody><tr valign="top">
+ * <td colspan="2" bgcolor="#dddddd" valign="top"> <font size="-1"><b><a name="delivery_notes"></a>delivery_notes</b></font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"> <font size="-1"><b>Details</b></font></td>
+ *
+ * <td> <font size="-1">Additional instructions to explain the item’s delivery process.</font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1"><b>Example</b></font></td>
+ * <td>
+ * <font size="-1"><g:delivery_notes>Items usually shipped within 24 hours.<g:/delivery_notes><br>
+ *
+ * </font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"> <font size="-1"><b>Attribute
+ * of</b></font></td>
+ * <td>
+ * <font size="-1">Events, Products, Reviews, Services, Travel, Vehicles, Wanted
+ * Ads. </font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"> <font size="-1"><b>Content
+ * type</b></font></td>
+ *
+ * <td> <font size="-1">string</font></td>
+ * </tr>
+ * </tbody></table>
+ * @return Additional instructions to explain the item’s delivery process.
+ */
+ public String getDeliveryNotes();
+
+ /**
+ * The maximum distance you will deliver an item in any direction.
+ * <table border="1" cellpadding="5" cellspacing="0" width="640">
+ * <tbody><tr valign="top">
+ * <td colspan="2" bgcolor="#dddddd" valign="top"> <font size="-1"><b><a name="delivery_radius"></a>delivery_radius</b></font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"> <font size="-1"><b>Details</b></font></td>
+ * <td> <font size="-1">The maximum
+ * distance you will deliver an item in any direction. </font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1"><b>Example</b></font></td>
+ *
+ * <td>
+ * <font size="-1"><g:delivery_radius>10<g:/delivery_radius>
+ * </font>
+ * <br><font size="-1"><g:delivery_radius>10km</g:delivery_radius></font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"> <font size="-1"><b>Attribute
+ * of</b></font></td>
+ *
+ * <td>
+ * <font size="-1">Events, Products, Reviews, Services, Travel, Vehicles, Wanted
+ * Ads. </font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"> <font size="-1"><b>Content
+ * type</b></font></td>
+ * <td> <font size="-1">floatUnit</font></td>
+ * </tr>
+ *
+ * </tbody></table>
+ * @param deliveryRadius The maximum distance you will deliver an item in any direction.
+ */
+ public void setDeliveryRadius(FloatUnit deliveryRadius);
+
+ /**
+ * The maximum distance you will deliver an item in any direction.
+ * <table border="1" cellpadding="5" cellspacing="0" width="640">
+ * <tbody><tr valign="top">
+ * <td colspan="2" bgcolor="#dddddd" valign="top"> <font size="-1"><b><a name="delivery_radius"></a>delivery_radius</b></font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"> <font size="-1"><b>Details</b></font></td>
+ * <td> <font size="-1">The maximum
+ * distance you will deliver an item in any direction. </font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1"><b>Example</b></font></td>
+ *
+ * <td>
+ * <font size="-1"><g:delivery_radius>10<g:/delivery_radius>
+ * </font>
+ * <br><font size="-1"><g:delivery_radius>10km</g:delivery_radius></font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"> <font size="-1"><b>Attribute
+ * of</b></font></td>
+ *
+ * <td>
+ * <font size="-1">Events, Products, Reviews, Services, Travel, Vehicles, Wanted
+ * Ads. </font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"> <font size="-1"><b>Content
+ * type</b></font></td>
+ * <td> <font size="-1">floatUnit</font></td>
+ * </tr>
+ *
+ * </tbody></table>
+ * @return The maximum distance you will deliver an item in any direction.
+ */
+ public FloatUnit getDeliveryRadius();
+
+ /**
+ * The time during which this event takes place.
+ * <table border="1" cellpadding="5" cellspacing="0" width="640">
+ * <tbody><tr valign="top">
+ *
+ * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
+ * <b><a name="event_date_range"></a>event_date_range</b></font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Details</b></font></td>
+ * <td><font size="-1">
+ *
+ * Information on the date and time an
+ * event will take place, in <a href="http://www.iso.org/iso/en/prods-services/popstds/datesandtime.html">ISO 8601</a> format. Two sub-attributes are included in the event_date_range attribute:<ul type="disc">
+ *
+ * <li>from = Date and time an event will begin
+ * in format YYYY-MM-DDThh:mm:ss</li>
+ * <li>to =
+ * (Optional). Date and time an event will end, in format YYYY-MM-DDThh:mm:ss</li></ul></font></td>
+ * </tr>
+ * <tr valign="top">
+ *
+ * <td width="120"><font size="-1">
+ * <b>Example</b></font></td>
+ * <td><font size="-1"> <g:event_dateTime><br>
+ *
+ * <g:from>2005-12-20T14:00:00</g:from><br>
+ * <g:to>2005-12-20T19:00:00</g:to><br>
+ *
+ * </g:eventdateTime></font></td>
+ * </tr>
+ * <tr valign="top">
+ *
+ * <td width="120"><font size="-1">
+ * <b>Attribute of</b></font></td>
+ * <td><font size="-1">
+ * Events</font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Content type</b></font></td>
+ *
+ * <td><font size="-1">
+ * dateTimeRange</font></td>
+ * </tr>
+ *
+ * </tbody></table>
+ * @param eventDateRange The time during which this event takes place.
+ */
+ public void setEventDateRange(DateTimeRange eventDateRange);
+
+ /**
+ * The time during which this event takes place.
+ * <table border="1" cellpadding="5" cellspacing="0" width="640">
+ * <tbody><tr valign="top">
+ *
+ * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
+ * <b><a name="event_date_range"></a>event_date_range</b></font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Details</b></font></td>
+ * <td><font size="-1">
+ *
+ * Information on the date and time an
+ * event will take place, in <a href="http://www.iso.org/iso/en/prods-services/popstds/datesandtime.html">ISO 8601</a> format. Two sub-attributes are included in the event_date_range attribute:<ul type="disc">
+ *
+ * <li>from = Date and time an event will begin
+ * in format YYYY-MM-DDThh:mm:ss</li>
+ * <li>to =
+ * (Optional). Date and time an event will end, in format YYYY-MM-DDThh:mm:ss</li></ul></font></td>
+ * </tr>
+ * <tr valign="top">
+ *
+ * <td width="120"><font size="-1">
+ * <b>Example</b></font></td>
+ * <td><font size="-1"> <g:event_dateTime><br>
+ *
+ * <g:from>2005-12-20T14:00:00</g:from><br>
+ * <g:to>2005-12-20T19:00:00</g:to><br>
+ *
+ * </g:eventdateTime></font></td>
+ * </tr>
+ * <tr valign="top">
+ *
+ * <td width="120"><font size="-1">
+ * <b>Attribute of</b></font></td>
+ * <td><font size="-1">
+ * Events</font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Content type</b></font></td>
+ *
+ * <td><font size="-1">
+ * dateTimeRange</font></td>
+ * </tr>
+ *
+ * </tbody></table>
+ * @return The time during which this event takes place.
+ */
+ public DateTimeRange getEventDateRange();
+
+ /**
+ * Location where the event will be held.
+ * <table border="1" cellpadding="5" cellspacing="0" width="640">
+ * <tbody><tr valign="top">
+ *
+ * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
+ * <b><a name="location"></a>location</b></font></td>
+ * </tr>
+ * <tr valign="top">
+ *
+ * <td width="120"><font size="-1">
+ * <b>Details</b></font></td>
+ * <td><font size="-1"> Location of a property. Should
+ * include street, city, state, postal code, and country, in that order. </font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Example</b></font></td>
+ *
+ * <td><font size="-1">
+ * <em>Acceptable:</em><br>
+ * <g:location><st1:place>123 Main St, <st1:city>Anytown</st1:city>, <st1:state>CA</st1:state>, <st1:postalcode>12345</st1:postalcode>, <st1:country-region>USA</st1:country-region></st1:place></g:location><br>
+ *
+ * <em>Not acceptable:</em><br>
+ * <g:location><st1:place><st1:city>123</st1:city> Main St,, <st1:state>CA</st1:state>, <st1:postalcode>12345</st1:postalcode>, <st1:country-region>USA</st1:country-region></st1:place></g:location><br>
+ * <g:location>
+ * <st1:place><st1:city>Anytown</st1:city>, <st1:state>CA</st1:state>, <st1:postalcode>12345</st1:postalcode>, <st1:country-region>USA</st1:country-region></st1:place></g:location></font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Attribute of</b></font></td>
+ * <td><font size="-1">
+ * Reference Items, Events, Housing, Jobs, News and Articles,
+ * People profiles, Products, Reviews, Services, Travel, Vehicles, Wanted Ads.</font></td>
+ * </tr>
+ *
+ * <tr valign="top">
+ *
+ * <td width="120"><font size="-1">
+ * <b>Content type</b></font></td>
+ * <td><font size="-1">
+ * locationType</font></td>
+ * </tr>
+ * </tbody></table>
+ * @param location Location where the event will be held.
+ */
+ public void setLocation(String location);
+
+ /**
+ * Location where the event will be held.
+ * <table border="1" cellpadding="5" cellspacing="0" width="640">
+ * <tbody><tr valign="top">
+ *
+ * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
+ * <b><a name="location"></a>location</b></font></td>
+ * </tr>
+ * <tr valign="top">
+ *
+ * <td width="120"><font size="-1">
+ * <b>Details</b></font></td>
+ * <td><font size="-1"> Location of a property. Should
+ * include street, city, state, postal code, and country, in that order. </font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Example</b></font></td>
+ *
+ * <td><font size="-1">
+ * <em>Acceptable:</em><br>
+ * <g:location><st1:place>123 Main St, <st1:city>Anytown</st1:city>, <st1:state>CA</st1:state>, <st1:postalcode>12345</st1:postalcode>, <st1:country-region>USA</st1:country-region></st1:place></g:location><br>
+ *
+ * <em>Not acceptable:</em><br>
+ * <g:location><st1:place><st1:city>123</st1:city> Main St,, <st1:state>CA</st1:state>, <st1:postalcode>12345</st1:postalcode>, <st1:country-region>USA</st1:country-region></st1:place></g:location><br>
+ * <g:location>
+ * <st1:place><st1:city>Anytown</st1:city>, <st1:state>CA</st1:state>, <st1:postalcode>12345</st1:postalcode>, <st1:country-region>USA</st1:country-region></st1:place></g:location></font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Attribute of</b></font></td>
+ * <td><font size="-1">
+ * Reference Items, Events, Housing, Jobs, News and Articles,
+ * People profiles, Products, Reviews, Services, Travel, Vehicles, Wanted Ads.</font></td>
+ * </tr>
+ *
+ * <tr valign="top">
+ *
+ * <td width="120"><font size="-1">
+ * <b>Content type</b></font></td>
+ * <td><font size="-1">
+ * locationType</font></td>
+ * </tr>
+ * </tbody></table>
+ * @return Location where the event will be held.
+ */
+ public String getLocation();
+
+ /**
+ * Payment Methods acceptable for the event.
+ *
+ * <table border="1" cellpadding="5" cellspacing="0" width="640">
+ *
+ * <tbody><tr valign="top">
+ * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
+ * <b><a name="payment_accepted"></a>payment_accepted</b></font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Details</b></font></td>
+ * <td><font size="-1"> Acceptable payment methods for item purchases. Acceptable
+ * values are "Cash," "Check," "Traveler’s Check," "Visa," "MasterCard,"
+ *
+ * "American Express," "Discover," "Wire transfer" or "Paypal." If you accept
+ * more than one method, include multiple instances of the
+ * <payment_accepted> attribute for each acceptable method.</font></td>
+ *
+ * </tr>
+ *
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Example</b></font></td>
+ * <td><font size="-1">
+ * <em>Acceptable:</em><br>
+ * <g:payment_accepted>Cash</g:payment_accepted><br>
+ *
+ * <g:payment_accepted>Check</g:payment_accepted><br>
+ *
+ * <g:payment_accepted>Paypal</g:payment_accepted><br>
+ * <em>Not acceptable:</em><br>
+ * <g:payment_accepted>Cash
+ * Check Paypal</g:payment_accepted></font></td>
+ * </tr>
+ *
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Attribute of</b></font></td>
+ *
+ * <td><font size="-1">
+ * Events, Housing,
+ * Products, Services, Travel, Vehicles</font></td>
+ * </tr>
+ * <tr valign="top">
+ *
+ * <td width="120"><font size="-1">
+ * <b>Content type</b></font></td>
+ * <td><font size="-1">
+ * paymentMethodEnumeration</font></td>
+ *
+ * </tr>
+ * </tbody></table>
+ * @param paymentAccepted Payment Methods acceptable for the event.
+ */
+ public void setPaymentAccepted(PaymentTypeEnumeration[] paymentAccepted);
+
+ /**
+ * Payment Methods acceptable for the event.
+ *
+ * <table border="1" cellpadding="5" cellspacing="0" width="640">
+ *
+ * <tbody><tr valign="top">
+ * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
+ * <b><a name="payment_accepted"></a>payment_accepted</b></font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Details</b></font></td>
+ * <td><font size="-1"> Acceptable payment methods for item purchases. Acceptable
+ * values are "Cash," "Check," "Traveler’s Check," "Visa," "MasterCard,"
+ *
+ * "American Express," "Discover," "Wire transfer" or "Paypal." If you accept
+ * more than one method, include multiple instances of the
+ * <payment_accepted> attribute for each acceptable method.</font></td>
+ *
+ * </tr>
+ *
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Example</b></font></td>
+ * <td><font size="-1">
+ * <em>Acceptable:</em><br>
+ * <g:payment_accepted>Cash</g:payment_accepted><br>
+ *
+ * <g:payment_accepted>Check</g:payment_accepted><br>
+ *
+ * <g:payment_accepted>Paypal</g:payment_accepted><br>
+ * <em>Not acceptable:</em><br>
+ * <g:payment_accepted>Cash
+ * Check Paypal</g:payment_accepted></font></td>
+ * </tr>
+ *
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Attribute of</b></font></td>
+ *
+ * <td><font size="-1">
+ * Events, Housing,
+ * Products, Services, Travel, Vehicles</font></td>
+ * </tr>
+ * <tr valign="top">
+ *
+ * <td width="120"><font size="-1">
+ * <b>Content type</b></font></td>
+ * <td><font size="-1">
+ * paymentMethodEnumeration</font></td>
+ *
+ * </tr>
+ * </tbody></table>
+ * @return Payment Methods acceptable for the event.
+ */
+ public PaymentTypeEnumeration[] getPaymentAccepted();
+
+ /**
+ * Additional information about payment.
+ *
+ * <table border="1" cellpadding="5" cellspacing="0" width="640">
+ * <tbody><tr valign="top">
+ * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
+ * <b><a name="payment_notes"></a>payment_notes</b></font></td>
+ * </tr>
+ * <tr valign="top">
+ *
+ * <td width="120"><font size="-1">
+ * <b>Details</b></font></td>
+ *
+ * <td><font size="-1">
+ * Additional instructions to explain
+ * a payment policy.</font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Example</b></font></td>
+ *
+ * <td><font size="-1"> <g:payment_notes>Cash only for local orders.</g:payment_notes></font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Attribute of</b></font></td>
+ * <td><font size="-1">
+ *
+ * Events,
+ * Housing, Products, Services, Travel, Vehicles</font></td>
+ * </tr>
+ *
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Content type</b></font></td>
+ * <td><font size="-1">
+ * string</font></td>
+ *
+ * </tr>
+ * </tbody></table>
+ *
+ *
+ *
+ * <table border="1" cellpadding="5" cellspacing="0" width="640">
+ * <tbody><tr valign="top">
+ * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
+ * <b><a name="payment_notes"></a>payment_notes</b></font></td>
+ * </tr>
+ * <tr valign="top">
+ *
+ * <td width="120"><font size="-1">
+ * <b>Details</b></font></td>
+ *
+ * <td><font size="-1">
+ * Additional instructions to explain
+ * a payment policy.</font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Example</b></font></td>
+ *
+ * <td><font size="-1"> <g:payment_notes>Cash only for local orders.</g:payment_notes></font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Attribute of</b></font></td>
+ * <td><font size="-1">
+ *
+ * Events,
+ * Housing, Products, Services, Travel, Vehicles</font></td>
+ * </tr>
+ *
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Content type</b></font></td>
+ * <td><font size="-1">
+ * string</font></td>
+ *
+ * </tr>
+ * </tbody></table>
+ *
+ *
+ *
+ * <table border="1" cellpadding="5" cellspacing="0" width="640">
+ * <tbody><tr valign="top">
+ * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
+ * <b><a name="payment_notes"></a>payment_notes</b></font></td>
+ * </tr>
+ * <tr valign="top">
+ *
+ * <td width="120"><font size="-1">
+ * <b>Details</b></font></td>
+ *
+ * <td><font size="-1">
+ * Additional instructions to explain
+ * a payment policy.</font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Example</b></font></td>
+ *
+ * <td><font size="-1"> <g:payment_notes>Cash only for local orders.</g:payment_notes></font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Attribute of</b></font></td>
+ * <td><font size="-1">
+ *
+ * Events,
+ * Housing, Products, Services, Travel, Vehicles</font></td>
+ * </tr>
+ *
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Content type</b></font></td>
+ * <td><font size="-1">
+ * string</font></td>
+ *
+ * </tr>
+ * </tbody></table>
+ * @param paymentNotes Additional information about payment.
+ */
+ public void setPaymentNotes(String paymentNotes);
+
+ /**
+ * Additional information about payment.
+ *
+ * <table border="1" cellpadding="5" cellspacing="0" width="640">
+ * <tbody><tr valign="top">
+ * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
+ * <b><a name="payment_notes"></a>payment_notes</b></font></td>
+ * </tr>
+ * <tr valign="top">
+ *
+ * <td width="120"><font size="-1">
+ * <b>Details</b></font></td>
+ *
+ * <td><font size="-1">
+ * Additional instructions to explain
+ * a payment policy.</font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Example</b></font></td>
+ *
+ * <td><font size="-1"> <g:payment_notes>Cash only for local orders.</g:payment_notes></font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Attribute of</b></font></td>
+ * <td><font size="-1">
+ *
+ * Events,
+ * Housing, Products, Services, Travel, Vehicles</font></td>
+ * </tr>
+ *
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Content type</b></font></td>
+ * <td><font size="-1">
+ * string</font></td>
+ *
+ * </tr>
+ * </tbody></table>
+ *
+ *
+ * @return Additional information about payment.
+ */
+ public String getPaymentNotes();
+
+ /**
+ * Price of the event.
+ *
+ *
+ * <table border="1" cellpadding="5" cellspacing="0" width="640">
+ * <tbody><tr valign="top">
+ *
+ * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
+ * <b><a name="price"></a>price</b></font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ *
+ * <b>Details</b></font></td>
+ * <td><font size="-1"> Prices can be a single price, 0
+ * (free), or blank if not applicable. Numerice values only. When used
+ * as a sub-attribute of <shipping>, the value included reflects the price
+ * of shipping.</font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Example</b></font></td>
+ *
+ * <td><font size="-1">
+ * <em>Acceptable:</em><br>
+ * <g:price>5.95</g:price><br>
+ *
+ * <g:price>0</g:price><br>
+ * <em>Not acceptable:</em><br>
+ *
+ * <g:price>5,95</g:price><br>
+ * <g:price>5.00 – 10.00</g:price><br>
+ *
+ * <g:price>100 or best offer</g:price><br>
+ * <g:price>free</g:price></font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Attribute of</b></font></td>
+ *
+ * <td><font size="-1">
+ * Events,
+ * Housing, Products, Services, Travel, Vehicles</font></td>
+ * </tr>
+ *
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Content type</b></font></td>
+ * <td valign="top"><font size="-1">floatUnit</font></td>
+ *
+ * </tr>
+ * </tbody></table>
+ * @param price Price of the event.
+ */
+ public void setPrice(FloatUnit price);
+
+ /**
+ * Price of the event.
+ *
+ *
+ * <table border="1" cellpadding="5" cellspacing="0" width="640">
+ * <tbody><tr valign="top">
+ *
+ * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
+ * <b><a name="price"></a>price</b></font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ *
+ * <b>Details</b></font></td>
+ * <td><font size="-1"> Prices can be a single price, 0
+ * (free), or blank if not applicable. Numerice values only. When used
+ * as a sub-attribute of <shipping>, the value included reflects the price
+ * of shipping.</font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Example</b></font></td>
+ *
+ * <td><font size="-1">
+ * <em>Acceptable:</em><br>
+ * <g:price>5.95</g:price><br>
+ *
+ * <g:price>0</g:price><br>
+ * <em>Not acceptable:</em><br>
+ *
+ * <g:price>5,95</g:price><br>
+ * <g:price>5.00 – 10.00</g:price><br>
+ *
+ * <g:price>100 or best offer</g:price><br>
+ * <g:price>free</g:price></font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Attribute of</b></font></td>
+ *
+ * <td><font size="-1">
+ * Events,
+ * Housing, Products, Services, Travel, Vehicles</font></td>
+ * </tr>
+ *
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Content type</b></font></td>
+ * <td valign="top"><font size="-1">floatUnit</font></td>
+ *
+ * </tr>
+ * </tbody></table>
+ * @return Price of the event.
+ */
+ public FloatUnit getPrice();
+
+ /**
+ * Price qualifier for the even cost.
+ *
+ *
+ * <table border="1" cellpadding="5" cellspacing="0" width="640">
+ * <tbody><tr valign="top">
+ *
+ * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="price_type"></a>price_type</b></font></td>
+ * </tr>
+ * <tr valign="top">
+ *
+ * <td width="120"><font size="-1"><b>Details</b></font></td>
+ * <td><font size="-1">The type of pricing for the
+ * item. Acceptable values are "negotiable," or "starting." The default is
+ * "starting"</font></td>
+ * </tr>
+ * <tr valign="top">
+ *
+ * <td width="120"><font size="-1"><b>Example</b></font></td>
+ * <td><font size="-1"><em>Acceptable:</em><br>
+ * <g:price_type>starting</g:price_type><br>
+ * <em>Not acceptable:</em><br>
+ * <g:price_type>100 OBO</g:price_type></font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Attribute of</b></font></td>
+ * <td><font size="-1">
+ * Events,
+ * Housing, Products, Services, Travel, Vehicles</font></td>
+ * </tr>
+ *
+ * <tr valign="top">
+ *
+ * <td width="120"><font size="-1">
+ * <b>Content type</b></font></td>
+ * <td><font size="-1">
+ * priceTypeEnumeration</font></td>
+ * </tr>
+ * </tbody></table>
+ * @param priceType Price qualifier for the even cost.
+ */
+ public void setPriceType(PriceTypeEnumeration priceType);
+
+ /**
+ * Price qualifier for the even cost.
+ *
+ *
+ * <table border="1" cellpadding="5" cellspacing="0" width="640">
+ * <tbody><tr valign="top">
+ *
+ * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="price_type"></a>price_type</b></font></td>
+ * </tr>
+ * <tr valign="top">
+ *
+ * <td width="120"><font size="-1"><b>Details</b></font></td>
+ * <td><font size="-1">The type of pricing for the
+ * item. Acceptable values are "negotiable," or "starting." The default is
+ * "starting"</font></td>
+ * </tr>
+ * <tr valign="top">
+ *
+ * <td width="120"><font size="-1"><b>Example</b></font></td>
+ * <td><font size="-1"><em>Acceptable:</em><br>
+ * <g:price_type>starting</g:price_type><br>
+ * <em>Not acceptable:</em><br>
+ * <g:price_type>100 OBO</g:price_type></font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Attribute of</b></font></td>
+ * <td><font size="-1">
+ * Events,
+ * Housing, Products, Services, Travel, Vehicles</font></td>
+ * </tr>
+ *
+ * <tr valign="top">
+ *
+ * <td width="120"><font size="-1">
+ * <b>Content type</b></font></td>
+ * <td><font size="-1">
+ * priceTypeEnumeration</font></td>
+ * </tr>
+ * </tbody></table>
+ * @return Price qualifier for the even cost.
+ */
+ public PriceTypeEnumeration getPriceType();
+
+ /**
+ * Quantity available.
+ *
+ * <table border="1" cellpadding="5" cellspacing="0" width="640">
+ * <tbody><tr valign="top">
+ *
+ * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
+ * <b><a name="quantity"></a>quantity</b></font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Details</b></font></td>
+ * <td><font size="-1"> The number of units available for purchase. This
+ * attribute can be left blank if you have a large quantity or if it is not
+ * applicable. </font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ *
+ * <td width="120"><font size="-1">
+ * <b>Example</b></font></td>
+ * <td><font size="-1">
+ * <em>Acceptable:</em><br>
+ * <g:quantity>18</g:quantity><br>
+ *
+ * <g:quantity>0</g:quantity><br>
+ *
+ * <em>Not acceptable:</em><br>
+ * <g:quantity>out
+ * of stock</g:quantity></font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ *
+ * <b>Attribute of</b></font></td>
+ *
+ * <td><font size="-1">
+ * Events, Products,
+ * Services, Travel, Vehicles</font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Content type</b></font></td>
+ *
+ * <td><font size="-1">
+ *
+ * integer</font></td>
+ * </tr>
+ * </tbody></table>
+ * @param quantity Quantity available.
+ */
+ public void setQuantity(Integer quantity);
+
+ /**
+ * Quantity available.
+ *
+ * <table border="1" cellpadding="5" cellspacing="0" width="640">
+ * <tbody><tr valign="top">
+ *
+ * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
+ * <b><a name="quantity"></a>quantity</b></font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Details</b></font></td>
+ * <td><font size="-1"> The number of units available for purchase. This
+ * attribute can be left blank if you have a large quantity or if it is not
+ * applicable. </font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ *
+ * <td width="120"><font size="-1">
+ * <b>Example</b></font></td>
+ * <td><font size="-1">
+ * <em>Acceptable:</em><br>
+ * <g:quantity>18</g:quantity><br>
+ *
+ * <g:quantity>0</g:quantity><br>
+ *
+ * <em>Not acceptable:</em><br>
+ * <g:quantity>out
+ * of stock</g:quantity></font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ *
+ * <b>Attribute of</b></font></td>
+ *
+ * <td><font size="-1">
+ * Events, Products,
+ * Services, Travel, Vehicles</font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Content type</b></font></td>
+ *
+ * <td><font size="-1">
+ *
+ * integer</font></td>
+ * </tr>
+ * </tbody></table>
+ * @return Quantity available.
+ */
+ public Integer getQuantity();
+
+ /**
+ * Shipping information related to the event.
+ *
+ *
+ * <table border="1" cellpadding="5" cellspacing="0" width="640">
+ * <tbody><tr valign="top">
+ * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
+ *
+ * <b><a name="shipping"></a>shipping</b></font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Details</b></font></td>
+ *
+ * <td><font size="-1">
+ * Shipping options available for an item. Up to 10
+ * shipping options can be included for each item. Three sub-attributes are
+ * included in the shipping attribute:<ul type="disc">
+ *
+ * <li>service = The type of service used to ship an item. Acceptable values are 'FedEx', 'UPS', 'DHL', 'Mail', and 'Other'</li>
+ * <li>country = The country an item will ship to. Only acceptable values are<b> </b>ISO 3166 country codes.</li>
+ * <li>price =
+ * the price of shipping.</li></ul></font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ *
+ * <b>Example</b></font></td>
+ * <td><font size="-1"> <g:shipping><br>
+ * <g:country>US</g:country><br>
+ *
+ * <g:service>UPS</g:shipping><br>
+ *
+ * <g:price>35.95</g:price><br>
+ * </g:shipping></font></td>
+ * </tr>
+ * <tr valign="top">
+ *
+ * <td width="120"><font size="-1">
+ * <b>Attribute of</b></font></td>
+ *
+ * <td><font size="-1">
+ * Products</font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ *
+ * <b>Content type</b></font></td>
+ * <td><font size="-1">
+ * shippingType</font></td>
+ *
+ * </tr>
+ * </tbody></table>
+ * @param shipping Shipping information related to the event.
+ */
+ public void setShipping(ShippingType[] shipping);
+
+ /**
+ * Shipping information related to the event.
+ *
+ *
+ * <table border="1" cellpadding="5" cellspacing="0" width="640">
+ * <tbody><tr valign="top">
+ * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
+ *
+ * <b><a name="shipping"></a>shipping</b></font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Details</b></font></td>
+ *
+ * <td><font size="-1">
+ * Shipping options available for an item. Up to 10
+ * shipping options can be included for each item. Three sub-attributes are
+ * included in the shipping attribute:<ul type="disc">
+ *
+ * <li>service = The type of service used to ship an item. Acceptable values are 'FedEx', 'UPS', 'DHL', 'Mail', and 'Other'</li>
+ * <li>country = The country an item will ship to. Only acceptable values are<b> </b>ISO 3166 country codes.</li>
+ * <li>price =
+ * the price of shipping.</li></ul></font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ *
+ * <b>Example</b></font></td>
+ * <td><font size="-1"> <g:shipping><br>
+ * <g:country>US</g:country><br>
+ *
+ * <g:service>UPS</g:shipping><br>
+ *
+ * <g:price>35.95</g:price><br>
+ * </g:shipping></font></td>
+ * </tr>
+ * <tr valign="top">
+ *
+ * <td width="120"><font size="-1">
+ * <b>Attribute of</b></font></td>
+ *
+ * <td><font size="-1">
+ * Products</font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ *
+ * <b>Content type</b></font></td>
+ * <td><font size="-1">
+ * shippingType</font></td>
+ *
+ * </tr>
+ * </tbody></table>
+ * @return Shipping information related to the event.
+ */
+ public ShippingType[] getShipping();
+
+ /**
+ * Tax rate associated with the event.
+ *
+ * <table border="1" cellpadding="5" cellspacing="0" width="640">
+ * <tbody><tr valign="top">
+ * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
+ * <b><a name="tax_percent"></a>tax_percent</b></font></td>
+ * </tr>
+ *
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ *
+ * <b>Details</b></font></td>
+ * <td><font size="-1">
+ * Tax rate as a percentage.</font></td>
+ * </tr>
+ * <tr valign="top">
+ *
+ * <td width="120"><font size="-1">
+ * <b>Example</b></font></td>
+ *
+ * <td><font size="-1"> <g:tax_percent>8.2<g:/tax_percent></font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ *
+ * <b>Attribute of</b></font></td>
+ * <td><font size="-1">
+ *
+ * Products, Events</font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Content type</b></font></td>
+ *
+ * <td><font size="-1">
+ * percentType</font></td>
+ *
+ * </tr>
+ * </tbody></table>
+ * @param taxPercent Tax rate associated with the event.
+ */
+ public void setTaxPercent(Float taxPercent);
+
+ /**
+ * Tax rate associated with the event.
+ *
+ * <table border="1" cellpadding="5" cellspacing="0" width="640">
+ * <tbody><tr valign="top">
+ * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
+ * <b><a name="tax_percent"></a>tax_percent</b></font></td>
+ * </tr>
+ *
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ *
+ * <b>Details</b></font></td>
+ * <td><font size="-1">
+ * Tax rate as a percentage.</font></td>
+ * </tr>
+ * <tr valign="top">
+ *
+ * <td width="120"><font size="-1">
+ * <b>Example</b></font></td>
+ *
+ * <td><font size="-1"> <g:tax_percent>8.2<g:/tax_percent></font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ *
+ * <b>Attribute of</b></font></td>
+ * <td><font size="-1">
+ *
+ * Products, Events</font></td>
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Content type</b></font></td>
+ *
+ * <td><font size="-1">
+ * percentType</font></td>
+ *
+ * </tr>
+ * </tbody></table>
+ * @return Tax rate associated with the event.
+ */
+ public Float getTaxPercent();
+
+ /**
+ * Region where tax applies.
+ *
+ *
+ *
+ * <table border="1" cellpadding="5" cellspacing="0" width="640">
+ * <tbody><tr valign="top">
+ * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
+ *
+ * <b><a name="tax_region"></a>tax_region</b></font></td>
+ * </tr>
+ *
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Details</b></font></td>
+ * <td><font size="-1">
+ * Geographical region a tax rate
+ * applies to.</font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ *
+ * <b>Example</b></font></td>
+ * <td><font size="-1"> <g:tax_region>California</g:tax_region></font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Attribute of</b></font></td>
+ *
+ * <td><font size="-1">
+ * Product,
+ * Events,</font></td>
+ * </tr>
+ *
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Content type</b></font></td>
+ * <td><font size="-1">string</font></td>
+ *
+ * </tr>
+ * </tbody></table>
+ * @param taxRegion Region where tax applies.
+ */
+ public void setTaxRegion(String taxRegion);
+
+ /**
+ * Region where tax applies.
+ *
+ *
+ *
+ * <table border="1" cellpadding="5" cellspacing="0" width="640">
+ * <tbody><tr valign="top">
+ * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
+ *
+ * <b><a name="tax_region"></a>tax_region</b></font></td>
+ * </tr>
+ *
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Details</b></font></td>
+ * <td><font size="-1">
+ * Geographical region a tax rate
+ * applies to.</font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ *
+ * <b>Example</b></font></td>
+ * <td><font size="-1"> <g:tax_region>California</g:tax_region></font></td>
+ *
+ * </tr>
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Attribute of</b></font></td>
+ *
+ * <td><font size="-1">
+ * Product,
+ * Events,</font></td>
+ * </tr>
+ *
+ * <tr valign="top">
+ * <td width="120"><font size="-1">
+ * <b>Content type</b></font></td>
+ * <td><font size="-1">string</font></td>
+ *
+ * </tr>
+ * </tbody></table>
+ * @return Region where tax applies.
+ */
+ public String getTaxRegion();
+}