[Bedework-commit] bedework r1333 - in releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model: . property

svnadmin at bedework.org svnadmin at bedework.org
Thu Apr 12 00:11:30 EDT 2007


Author: douglm
Date: 2007-04-12 00:11:24 -0400 (Thu, 12 Apr 2007)
New Revision: 1333

Added:
   releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/LocationTypeList.java
   releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/Country.java
   releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/ExtendedAddress.java
   releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/Locality.java
   releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/LocationTypes.java
   releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/Name.java
   releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/Postalcode.java
   releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/Region.java
   releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/StreetAddress.java
   releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/Tel.java
Modified:
   releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/Parameter.java
Log:
More vvenue related stuff

Added: releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/LocationTypeList.java
===================================================================
--- releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/LocationTypeList.java	                        (rev 0)
+++ releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/LocationTypeList.java	2007-04-12 04:11:24 UTC (rev 1333)
@@ -0,0 +1,137 @@
+/*
+ * $Id: CategoryList.java,v 1.7 2005/07/20 13:08:20 fortuna Exp $ [23-Apr-2004]
+ *
+ * Copyright (c) 2004, Ben Fortuna
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ *  o Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ *  o Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ *  o Neither the name of Ben Fortuna nor the names of any other contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+package net.fortuna.ical4j.model;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+import java.util.StringTokenizer;
+
+/**
+ * Defines a list of iCalendar location types.
+ *
+ * @author Ben Fortuna
+ */
+public class LocationTypeList implements Serializable {
+
+    //private static final long serialVersionUID = 4387692697196974638L;
+
+    private List locationTypes;
+
+    /**
+     * Default constructor.
+     */
+    public LocationTypeList() {
+        locationTypes = new ArrayList();
+    }
+
+    /**
+     * Parses the specified string representation to create
+     * a list of categories.
+     * @param aValue a string representation of a list of
+     * categories
+     */
+    public LocationTypeList(final String aValue) {
+        locationTypes = new ArrayList();
+
+        for (StringTokenizer t = new StringTokenizer(aValue, ","); t
+                .hasMoreTokens();) {
+            locationTypes.add(t.nextToken());
+        }
+    }
+
+    /**
+     * @see java.util.AbstractCollection#toString()
+     */
+    public final String toString() {
+
+        StringBuffer b = new StringBuffer();
+
+        for (Iterator i = locationTypes.iterator(); i.hasNext();) {
+
+            b.append(i.next());
+
+            if (i.hasNext()) {
+                b.append(',');
+            }
+        }
+
+        return b.toString();
+    }
+
+    /**
+     * Add a location type to the list.
+     * @param category the category to add
+     * @return true
+     * @see List#add(java.lang.Object)
+     */
+    public final boolean add(final String locationType) {
+        return locationTypes.add(locationType);
+    }
+
+    /**
+     * @return boolean indicates if the list is empty
+     * @see List#isEmpty()
+     */
+    public final boolean isEmpty() {
+        return locationTypes.isEmpty();
+    }
+
+    /**
+     * @return an iterator
+     * @see List#iterator()
+     */
+    public final Iterator iterator() {
+        return locationTypes.iterator();
+    }
+
+    /**
+     * Remove a locationType from the list.
+     * @param category the category to remove
+     * @return true if the list contained the specified category
+     * @see List#remove(java.lang.Object)
+     */
+    public final boolean remove(final String locationType) {
+        return locationTypes.remove(locationType);
+    }
+
+    /**
+     * @return the number of categories in the list
+     * @see List#size()
+     */
+    public final int size() {
+        return locationTypes.size();
+    }
+}


Property changes on: releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/LocationTypeList.java
___________________________________________________________________
Name: svn:eol-style
   + LF

Modified: releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/Parameter.java
===================================================================
--- releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/Parameter.java	2007-04-12 03:44:29 UTC (rev 1332)
+++ releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/Parameter.java	2007-04-12 04:11:24 UTC (rev 1333)
@@ -47,6 +47,11 @@
 public abstract class Parameter extends Content {
 
     /**
+     * Region abbreviation.
+     */
+    public static final String ABBREV = "ABBREV";
+
+    /**
      * Alternate text representation.
      */
     public static final String ALTREP = "ALTREP";
@@ -137,6 +142,11 @@
     public static final String SENT_BY = "SENT-BY";
 
     /**
+     * Type.
+     */
+    public static final String TYPE = "TYPE";
+
+    /**
      * Reference to time zone object.
      */
     public static final String TZID = "TZID";
@@ -147,6 +157,11 @@
     public static final String VALUE = "VALUE";
 
     /**
+     * Reference to vvenue component
+     */
+    public static final String VVENUE = "VVENUE";
+
+    /**
      * Prefix to all experimental parameters.
      */
     public static final String EXPERIMENTAL_PREFIX = "X-";

Added: releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/Country.java
===================================================================
--- releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/Country.java	                        (rev 0)
+++ releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/Country.java	2007-04-12 04:11:24 UTC (rev 1333)
@@ -0,0 +1,111 @@
+/*
+ * $Id: TzName.java,v 1.8 2006/11/05 06:04:42 fortuna Exp $
+ *
+ * Created: [Apr 6, 2004]
+ *
+ * Copyright (c) 2004, Ben Fortuna
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ *  o Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ *  o Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ *  o Neither the name of Ben Fortuna nor the names of any other contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+package net.fortuna.ical4j.model.property;
+
+import net.fortuna.ical4j.model.Escapable;
+import net.fortuna.ical4j.model.Parameter;
+import net.fortuna.ical4j.model.ParameterList;
+import net.fortuna.ical4j.model.Property;
+import net.fortuna.ical4j.model.ValidationException;
+import net.fortuna.ical4j.util.ParameterValidator;
+
+/**
+ * Defines a REGION iCalendar component property.
+ * @author benf
+ * @author Mike Douglass
+ */
+public class Country extends Property implements Escapable {
+
+    //private static final long serialVersionUID = -6930099834219160086L;
+
+    private String value;
+
+    /**
+     * Default constructor.
+     */
+    public Country() {
+        super(COUNTRY);
+    }
+
+    /**
+     * @param aValue a value string for this component
+     */
+    public Country(final String aValue) {
+        super(COUNTRY);
+        setValue(aValue);
+    }
+
+    /**
+     * @param aList a list of parameters for this component
+     * @param aValue a value string for this component
+     */
+    public Country(final ParameterList aList, final String aValue) {
+        super(COUNTRY, aList);
+        setValue(aValue);
+    }
+
+    /**
+     * @see net.fortuna.ical4j.model.Property#validate()
+     */
+    public final void validate() throws ValidationException {
+
+        /*
+         * ; the following are optional, ; but MUST NOT occur more than once (";" abbrev
+         */
+        ParameterValidator.getInstance().assertOneOrLess(Parameter.ABBREV,
+                getParameters());
+
+        /*
+         * ; the following is optional, ; and MAY occur more than once (";" xparam)
+         */
+    }
+
+    /*
+     * (non-Javadoc)
+     * @see net.fortuna.ical4j.model.Property#setValue(java.lang.String)
+     */
+    public final void setValue(final String aValue) {
+        this.value = aValue;
+    }
+
+    /*
+     * (non-Javadoc)
+     * @see net.fortuna.ical4j.model.Property#getValue()
+     */
+    public final String getValue() {
+        return value;
+    }
+}


Property changes on: releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/Country.java
___________________________________________________________________
Name: svn:eol-style
   + LF

Added: releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/ExtendedAddress.java
===================================================================
--- releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/ExtendedAddress.java	                        (rev 0)
+++ releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/ExtendedAddress.java	2007-04-12 04:11:24 UTC (rev 1333)
@@ -0,0 +1,103 @@
+/*
+ * $Id: TzName.java,v 1.8 2006/11/05 06:04:42 fortuna Exp $
+ *
+ * Created: [Apr 6, 2004]
+ *
+ * Copyright (c) 2004, Ben Fortuna
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ *  o Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ *  o Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ *  o Neither the name of Ben Fortuna nor the names of any other contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+package net.fortuna.ical4j.model.property;
+
+import net.fortuna.ical4j.model.Escapable;
+import net.fortuna.ical4j.model.ParameterList;
+import net.fortuna.ical4j.model.Property;
+import net.fortuna.ical4j.model.ValidationException;
+
+/**
+ * Defines a EXTENDED_ADDRESS iCalendar component property.
+ * @author benf
+ * @author Mike Douglass
+ */
+public class ExtendedAddress extends Property implements Escapable {
+
+    //private static final long serialVersionUID = -6930099834219160086L;
+
+    private String value;
+
+    /**
+     * Default constructor.
+     */
+    public ExtendedAddress() {
+        super(EXTENDED_ADDRESS);
+    }
+
+    /**
+     * @param aValue a value string for this component
+     */
+    public ExtendedAddress(final String aValue) {
+        super(EXTENDED_ADDRESS);
+        setValue(aValue);
+    }
+
+    /**
+     * @param aList a list of parameters for this component
+     * @param aValue a value string for this component
+     */
+    public ExtendedAddress(final ParameterList aList, final String aValue) {
+        super(EXTENDED_ADDRESS, aList);
+        setValue(aValue);
+    }
+
+    /**
+     * @see net.fortuna.ical4j.model.Property#validate()
+     */
+    public final void validate() throws ValidationException {
+
+        /*
+         * ; the following is optional, ; and MAY occur more than once (";" xparam)
+         */
+    }
+
+    /*
+     * (non-Javadoc)
+     * @see net.fortuna.ical4j.model.Property#setValue(java.lang.String)
+     */
+    public final void setValue(final String aValue) {
+        this.value = aValue;
+    }
+
+    /*
+     * (non-Javadoc)
+     * @see net.fortuna.ical4j.model.Property#getValue()
+     */
+    public final String getValue() {
+        return value;
+    }
+}


Property changes on: releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/ExtendedAddress.java
___________________________________________________________________
Name: svn:eol-style
   + LF

Added: releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/Locality.java
===================================================================
--- releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/Locality.java	                        (rev 0)
+++ releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/Locality.java	2007-04-12 04:11:24 UTC (rev 1333)
@@ -0,0 +1,103 @@
+/*
+ * $Id: TzName.java,v 1.8 2006/11/05 06:04:42 fortuna Exp $
+ *
+ * Created: [Apr 6, 2004]
+ *
+ * Copyright (c) 2004, Ben Fortuna
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ *  o Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ *  o Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ *  o Neither the name of Ben Fortuna nor the names of any other contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+package net.fortuna.ical4j.model.property;
+
+import net.fortuna.ical4j.model.Escapable;
+import net.fortuna.ical4j.model.ParameterList;
+import net.fortuna.ical4j.model.Property;
+import net.fortuna.ical4j.model.ValidationException;
+
+/**
+ * Defines a LOCALITY iCalendar component property.
+ * @author benf
+ * @author Mike Douglass
+ */
+public class Locality extends Property implements Escapable {
+
+    //private static final long serialVersionUID = -6930099834219160086L;
+
+    private String value;
+
+    /**
+     * Default constructor.
+     */
+    public Locality() {
+        super(LOCALITY);
+    }
+
+    /**
+     * @param aValue a value string for this component
+     */
+    public Locality(final String aValue) {
+        super(LOCALITY);
+        setValue(aValue);
+    }
+
+    /**
+     * @param aList a list of parameters for this component
+     * @param aValue a value string for this component
+     */
+    public Locality(final ParameterList aList, final String aValue) {
+        super(LOCALITY, aList);
+        setValue(aValue);
+    }
+
+    /**
+     * @see net.fortuna.ical4j.model.Property#validate()
+     */
+    public final void validate() throws ValidationException {
+
+        /*
+         * ; the following is optional, ; and MAY occur more than once (";" xparam)
+         */
+    }
+
+    /*
+     * (non-Javadoc)
+     * @see net.fortuna.ical4j.model.Property#setValue(java.lang.String)
+     */
+    public final void setValue(final String aValue) {
+        this.value = aValue;
+    }
+
+    /*
+     * (non-Javadoc)
+     * @see net.fortuna.ical4j.model.Property#getValue()
+     */
+    public final String getValue() {
+        return value;
+    }
+}


Property changes on: releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/Locality.java
___________________________________________________________________
Name: svn:eol-style
   + LF

Added: releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/LocationTypes.java
===================================================================
--- releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/LocationTypes.java	                        (rev 0)
+++ releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/LocationTypes.java	2007-04-12 04:11:24 UTC (rev 1333)
@@ -0,0 +1,135 @@
+/*
+ * $Id: Categories.java,v 1.8 2006/11/05 06:04:43 fortuna Exp $
+ *
+ * Created: [Apr 6, 2004]
+ *
+ * Copyright (c) 2004, Ben Fortuna
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ *  o Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ *  o Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ *  o Neither the name of Ben Fortuna nor the names of any other contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+package net.fortuna.ical4j.model.property;
+
+import net.fortuna.ical4j.model.LocationTypeList;
+import net.fortuna.ical4j.model.Parameter;
+import net.fortuna.ical4j.model.ParameterList;
+import net.fortuna.ical4j.model.Property;
+import net.fortuna.ical4j.model.ValidationException;
+import net.fortuna.ical4j.util.ParameterValidator;
+
+/**
+ * Defines a LOCATION_TYPE iCalendar component property.
+ * @author benf
+ */
+public class LocationTypes extends Property {
+
+    //private static final long serialVersionUID = -7769987073466681634L;
+
+    private LocationTypeList locationTypes;
+
+    /**
+     * Default constructor.
+     */
+    public LocationTypes() {
+        super(LOCATION_TYPE);
+        locationTypes = new LocationTypeList();
+    }
+
+    /**
+     * @param aValue a value string for this component
+     */
+    public LocationTypes(final String aValue) {
+        super(LOCATION_TYPE);
+        setValue(aValue);
+    }
+
+    /**
+     * @param aList a list of parameters for this component
+     * @param aValue a value string for this component
+     */
+    public LocationTypes(final ParameterList aList, final String aValue) {
+        super(LOCATION_TYPE, aList);
+        setValue(aValue);
+    }
+
+    /**
+     * @param cList a list of locationTypes
+     */
+    public LocationTypes(final LocationTypeList cList) {
+        super(LOCATION_TYPE);
+        locationTypes = cList;
+    }
+
+    /**
+     * @param aList a list of parameters for this component
+     * @param cList a list of locationTypes
+     */
+    public LocationTypes(final ParameterList aList, final LocationTypeList cList) {
+        super(LOCATION_TYPE, aList);
+        locationTypes = cList;
+    }
+
+    /*
+     * (non-Javadoc)
+     * @see net.fortuna.ical4j.model.Property#setValue(java.lang.String)
+     */
+    public final void setValue(final String aValue) {
+        locationTypes = new LocationTypeList(aValue);
+    }
+
+    /**
+     * @see net.fortuna.ical4j.model.Property#validate()
+     */
+    public final void validate() throws ValidationException {
+
+        /*
+         * ; the following is optional, ; but MUST NOT occur more than once (";" languageparam ) /
+         */
+        ParameterValidator.getInstance().assertOneOrLess(Parameter.LANGUAGE,
+                getParameters());
+
+        /*
+         * ; the following is optional, ; and MAY occur more than once (";" xparam)
+         */
+    }
+
+    /**
+     * @return Returns the locationTypes.
+     */
+    public final LocationTypeList getLocationTypes() {
+        return locationTypes;
+    }
+
+    /*
+     * (non-Javadoc)
+     * @see net.fortuna.ical4j.model.Property#getValue()
+     */
+    public final String getValue() {
+        return getLocationTypes().toString();
+    }
+}


Property changes on: releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/LocationTypes.java
___________________________________________________________________
Name: svn:eol-style
   + LF

Added: releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/Name.java
===================================================================
--- releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/Name.java	                        (rev 0)
+++ releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/Name.java	2007-04-12 04:11:24 UTC (rev 1333)
@@ -0,0 +1,103 @@
+/*
+ * $Id: TzName.java,v 1.8 2006/11/05 06:04:42 fortuna Exp $
+ *
+ * Created: [Apr 6, 2004]
+ *
+ * Copyright (c) 2004, Ben Fortuna
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ *  o Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ *  o Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ *  o Neither the name of Ben Fortuna nor the names of any other contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+package net.fortuna.ical4j.model.property;
+
+import net.fortuna.ical4j.model.Escapable;
+import net.fortuna.ical4j.model.ParameterList;
+import net.fortuna.ical4j.model.Property;
+import net.fortuna.ical4j.model.ValidationException;
+
+/**
+ * Defines a NAME iCalendar component property.
+ * @author benf
+ * @author Mike Douglass
+ */
+public class Name extends Property implements Escapable {
+
+    private static final long serialVersionUID = -6930099834219160086L;
+
+    private String value;
+
+    /**
+     * Default constructor.
+     */
+    public Name() {
+        super(NAME);
+    }
+
+    /**
+     * @param aValue a value string for this component
+     */
+    public Name(final String aValue) {
+        super(NAME);
+        setValue(aValue);
+    }
+
+    /**
+     * @param aList a list of parameters for this component
+     * @param aValue a value string for this component
+     */
+    public Name(final ParameterList aList, final String aValue) {
+        super(NAME, aList);
+        setValue(aValue);
+    }
+
+    /**
+     * @see net.fortuna.ical4j.model.Property#validate()
+     */
+    public final void validate() throws ValidationException {
+
+        /*
+         * ; the following is optional, ; and MAY occur more than once (";" xparam)
+         */
+    }
+
+    /*
+     * (non-Javadoc)
+     * @see net.fortuna.ical4j.model.Property#setValue(java.lang.String)
+     */
+    public final void setValue(final String aValue) {
+        this.value = aValue;
+    }
+
+    /*
+     * (non-Javadoc)
+     * @see net.fortuna.ical4j.model.Property#getValue()
+     */
+    public final String getValue() {
+        return value;
+    }
+}


Property changes on: releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/Name.java
___________________________________________________________________
Name: svn:eol-style
   + LF

Added: releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/Postalcode.java
===================================================================
--- releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/Postalcode.java	                        (rev 0)
+++ releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/Postalcode.java	2007-04-12 04:11:24 UTC (rev 1333)
@@ -0,0 +1,103 @@
+/*
+ * $Id: TzName.java,v 1.8 2006/11/05 06:04:42 fortuna Exp $
+ *
+ * Created: [Apr 6, 2004]
+ *
+ * Copyright (c) 2004, Ben Fortuna
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ *  o Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ *  o Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ *  o Neither the name of Ben Fortuna nor the names of any other contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+package net.fortuna.ical4j.model.property;
+
+import net.fortuna.ical4j.model.Escapable;
+import net.fortuna.ical4j.model.ParameterList;
+import net.fortuna.ical4j.model.Property;
+import net.fortuna.ical4j.model.ValidationException;
+
+/**
+ * Defines a POSTALCODE iCalendar component property.
+ * @author benf
+ * @author Mike Douglass
+ */
+public class Postalcode extends Property implements Escapable {
+
+    //private static final long serialVersionUID = -6930099834219160086L;
+
+    private String value;
+
+    /**
+     * Default constructor.
+     */
+    public Postalcode() {
+        super(POSTALCODE);
+    }
+
+    /**
+     * @param aValue a value string for this component
+     */
+    public Postalcode(final String aValue) {
+        super(POSTALCODE);
+        setValue(aValue);
+    }
+
+    /**
+     * @param aList a list of parameters for this component
+     * @param aValue a value string for this component
+     */
+    public Postalcode(final ParameterList aList, final String aValue) {
+        super(POSTALCODE, aList);
+        setValue(aValue);
+    }
+
+    /**
+     * @see net.fortuna.ical4j.model.Property#validate()
+     */
+    public final void validate() throws ValidationException {
+
+        /*
+         * ; the following is optional, ; and MAY occur more than once (";" xparam)
+         */
+    }
+
+    /*
+     * (non-Javadoc)
+     * @see net.fortuna.ical4j.model.Property#setValue(java.lang.String)
+     */
+    public final void setValue(final String aValue) {
+        this.value = aValue;
+    }
+
+    /*
+     * (non-Javadoc)
+     * @see net.fortuna.ical4j.model.Property#getValue()
+     */
+    public final String getValue() {
+        return value;
+    }
+}


Property changes on: releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/Postalcode.java
___________________________________________________________________
Name: svn:eol-style
   + LF

Added: releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/Region.java
===================================================================
--- releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/Region.java	                        (rev 0)
+++ releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/Region.java	2007-04-12 04:11:24 UTC (rev 1333)
@@ -0,0 +1,111 @@
+/*
+ * $Id: TzName.java,v 1.8 2006/11/05 06:04:42 fortuna Exp $
+ *
+ * Created: [Apr 6, 2004]
+ *
+ * Copyright (c) 2004, Ben Fortuna
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ *  o Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ *  o Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ *  o Neither the name of Ben Fortuna nor the names of any other contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+package net.fortuna.ical4j.model.property;
+
+import net.fortuna.ical4j.model.Escapable;
+import net.fortuna.ical4j.model.Parameter;
+import net.fortuna.ical4j.model.ParameterList;
+import net.fortuna.ical4j.model.Property;
+import net.fortuna.ical4j.model.ValidationException;
+import net.fortuna.ical4j.util.ParameterValidator;
+
+/**
+ * Defines a REGION iCalendar component property.
+ * @author benf
+ * @author Mike Douglass
+ */
+public class Region extends Property implements Escapable {
+
+    //private static final long serialVersionUID = -6930099834219160086L;
+
+    private String value;
+
+    /**
+     * Default constructor.
+     */
+    public Region() {
+        super(REGION);
+    }
+
+    /**
+     * @param aValue a value string for this component
+     */
+    public Region(final String aValue) {
+        super(REGION);
+        setValue(aValue);
+    }
+
+    /**
+     * @param aList a list of parameters for this component
+     * @param aValue a value string for this component
+     */
+    public Region(final ParameterList aList, final String aValue) {
+        super(REGION, aList);
+        setValue(aValue);
+    }
+
+    /**
+     * @see net.fortuna.ical4j.model.Property#validate()
+     */
+    public final void validate() throws ValidationException {
+
+        /*
+         * ; the following are optional, ; but MUST NOT occur more than once (";" abbrev
+         */
+        ParameterValidator.getInstance().assertOneOrLess(Parameter.ABBREV,
+                getParameters());
+
+        /*
+         * ; the following is optional, ; and MAY occur more than once (";" xparam)
+         */
+    }
+
+    /*
+     * (non-Javadoc)
+     * @see net.fortuna.ical4j.model.Property#setValue(java.lang.String)
+     */
+    public final void setValue(final String aValue) {
+        this.value = aValue;
+    }
+
+    /*
+     * (non-Javadoc)
+     * @see net.fortuna.ical4j.model.Property#getValue()
+     */
+    public final String getValue() {
+        return value;
+    }
+}


Property changes on: releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/Region.java
___________________________________________________________________
Name: svn:eol-style
   + LF

Added: releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/StreetAddress.java
===================================================================
--- releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/StreetAddress.java	                        (rev 0)
+++ releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/StreetAddress.java	2007-04-12 04:11:24 UTC (rev 1333)
@@ -0,0 +1,103 @@
+/*
+ * $Id: TzName.java,v 1.8 2006/11/05 06:04:42 fortuna Exp $
+ *
+ * Created: [Apr 6, 2004]
+ *
+ * Copyright (c) 2004, Ben Fortuna
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ *  o Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ *  o Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ *  o Neither the name of Ben Fortuna nor the names of any other contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+package net.fortuna.ical4j.model.property;
+
+import net.fortuna.ical4j.model.Escapable;
+import net.fortuna.ical4j.model.ParameterList;
+import net.fortuna.ical4j.model.Property;
+import net.fortuna.ical4j.model.ValidationException;
+
+/**
+ * Defines a STREET_ADDRESS iCalendar component property.
+ * @author benf
+ * @author Mike Douglass
+ */
+public class StreetAddress extends Property implements Escapable {
+
+    //private static final long serialVersionUID = -6930099834219160086L;
+
+    private String value;
+
+    /**
+     * Default constructor.
+     */
+    public StreetAddress() {
+        super(STREET_ADDRESS);
+    }
+
+    /**
+     * @param aValue a value string for this component
+     */
+    public StreetAddress(final String aValue) {
+        super(STREET_ADDRESS);
+        setValue(aValue);
+    }
+
+    /**
+     * @param aList a list of parameters for this component
+     * @param aValue a value string for this component
+     */
+    public StreetAddress(final ParameterList aList, final String aValue) {
+        super(STREET_ADDRESS, aList);
+        setValue(aValue);
+    }
+
+    /**
+     * @see net.fortuna.ical4j.model.Property#validate()
+     */
+    public final void validate() throws ValidationException {
+
+        /*
+         * ; the following is optional, ; and MAY occur more than once (";" xparam)
+         */
+    }
+
+    /*
+     * (non-Javadoc)
+     * @see net.fortuna.ical4j.model.Property#setValue(java.lang.String)
+     */
+    public final void setValue(final String aValue) {
+        this.value = aValue;
+    }
+
+    /*
+     * (non-Javadoc)
+     * @see net.fortuna.ical4j.model.Property#getValue()
+     */
+    public final String getValue() {
+        return value;
+    }
+}


Property changes on: releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/StreetAddress.java
___________________________________________________________________
Name: svn:eol-style
   + LF

Added: releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/Tel.java
===================================================================
--- releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/Tel.java	                        (rev 0)
+++ releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/Tel.java	2007-04-12 04:11:24 UTC (rev 1333)
@@ -0,0 +1,111 @@
+/*
+ * $Id: TzName.java,v 1.8 2006/11/05 06:04:42 fortuna Exp $
+ *
+ * Created: [Apr 6, 2004]
+ *
+ * Copyright (c) 2004, Ben Fortuna
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ *  o Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ *  o Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ *  o Neither the name of Ben Fortuna nor the names of any other contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+package net.fortuna.ical4j.model.property;
+
+import net.fortuna.ical4j.model.Escapable;
+import net.fortuna.ical4j.model.Parameter;
+import net.fortuna.ical4j.model.ParameterList;
+import net.fortuna.ical4j.model.Property;
+import net.fortuna.ical4j.model.ValidationException;
+import net.fortuna.ical4j.util.ParameterValidator;
+
+/**
+ * Defines a TEL iCalendar component property.
+ * @author benf
+ * @author Mike Douglass
+ */
+public class Tel extends Property implements Escapable {
+
+    //private static final long serialVersionUID = -6930099834219160086L;
+
+    private String value;
+
+    /**
+     * Default constructor.
+     */
+    public Tel() {
+        super(TEL);
+    }
+
+    /**
+     * @param aValue a value string for this component
+     */
+    public Tel(final String aValue) {
+        super(TEL);
+        setValue(aValue);
+    }
+
+    /**
+     * @param aList a list of parameters for this component
+     * @param aValue a value string for this component
+     */
+    public Tel(final ParameterList aList, final String aValue) {
+        super(TEL, aList);
+        setValue(aValue);
+    }
+
+    /**
+     * @see net.fortuna.ical4j.model.Property#validate()
+     */
+    public final void validate() throws ValidationException {
+
+        /*
+         * ; the following are optional, ; but MUST NOT occur more than once (";" abbrev
+         */
+        ParameterValidator.getInstance().assertOneOrLess(Parameter.TYPE,
+                getParameters());
+
+        /*
+         * ; the following is optional, ; and MAY occur more than once (";" xparam)
+         */
+    }
+
+    /*
+     * (non-Javadoc)
+     * @see net.fortuna.ical4j.model.Property#setValue(java.lang.String)
+     */
+    public final void setValue(final String aValue) {
+        this.value = aValue;
+    }
+
+    /*
+     * (non-Javadoc)
+     * @see net.fortuna.ical4j.model.Property#getValue()
+     */
+    public final String getValue() {
+        return value;
+    }
+}


Property changes on: releases/external/ical4j-1.0-beta1-bedework-3.3/net/fortuna/ical4j/model/property/Tel.java
___________________________________________________________________
Name: svn:eol-style
   + LF



More information about the Bedework-commit mailing list