Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
955e63e
commit c9e74ab
Showing
12 changed files
with
574 additions
and
0 deletions.
There are no files selected for viewing
51 changes: 51 additions & 0 deletions
51
src/main/java/net/fortuna/ical4j/extensions/property/Categories.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
package net.fortuna.ical4j.extensions.property; | ||
|
||
import net.fortuna.ical4j.model.*; | ||
|
||
/** | ||
* Created by fortuna on 11/09/15. | ||
*/ | ||
public class Categories extends Property { | ||
|
||
private static final long serialVersionUID = 1L; | ||
|
||
public static final String PROPERTY_NAME = "CATEGORIES"; | ||
|
||
private String value; | ||
|
||
public Categories() { | ||
super(PROPERTY_NAME, PropertyFactoryImpl.getInstance()); | ||
} | ||
|
||
public Categories(ParameterList params, String value) { | ||
super(PROPERTY_NAME, params, PropertyFactoryImpl.getInstance()); | ||
setValue(value); | ||
} | ||
|
||
@Override | ||
public void setValue(String aValue) { | ||
this.value = aValue; | ||
} | ||
|
||
@Override | ||
public void validate() throws ValidationException { | ||
|
||
} | ||
|
||
@Override | ||
public String getValue() { | ||
return value; | ||
} | ||
|
||
public static class Factory extends Content.Factory implements PropertyFactory<Categories> { | ||
|
||
public Categories createProperty() { | ||
return new Categories(); | ||
} | ||
|
||
public Categories createProperty(ParameterList parameters, String value) { | ||
Categories property = new Categories(parameters, value); | ||
return property; | ||
} | ||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
src/main/java/net/fortuna/ical4j/extensions/property/Color.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
package net.fortuna.ical4j.extensions.property; | ||
|
||
import net.fortuna.ical4j.model.*; | ||
|
||
/** | ||
* Created by fortuna on 11/09/15. | ||
*/ | ||
public class Color extends Property { | ||
|
||
private static final long serialVersionUID = 1L; | ||
|
||
public static final String PROPERTY_NAME = "COLOR"; | ||
|
||
private String value; | ||
|
||
public Color() { | ||
super(PROPERTY_NAME, PropertyFactoryImpl.getInstance()); | ||
} | ||
|
||
public Color(ParameterList params, String value) { | ||
super(PROPERTY_NAME, params, PropertyFactoryImpl.getInstance()); | ||
setValue(value); | ||
} | ||
|
||
@Override | ||
public void setValue(String aValue) { | ||
this.value = aValue; | ||
} | ||
|
||
@Override | ||
public void validate() throws ValidationException { | ||
|
||
} | ||
|
||
@Override | ||
public String getValue() { | ||
return value; | ||
} | ||
|
||
public static class Factory extends Content.Factory implements PropertyFactory<Color> { | ||
|
||
public Color createProperty() { | ||
return new Color(); | ||
} | ||
|
||
public Color createProperty(ParameterList parameters, String value) { | ||
Color property = new Color(parameters, value); | ||
return property; | ||
} | ||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
src/main/java/net/fortuna/ical4j/extensions/property/Conference.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
package net.fortuna.ical4j.extensions.property; | ||
|
||
import net.fortuna.ical4j.model.*; | ||
|
||
/** | ||
* Created by fortuna on 11/09/15. | ||
*/ | ||
public class Conference extends Property { | ||
|
||
private static final long serialVersionUID = 1L; | ||
|
||
public static final String PROPERTY_NAME = "CONFERENCE"; | ||
|
||
private String value; | ||
|
||
public Conference() { | ||
super(PROPERTY_NAME, PropertyFactoryImpl.getInstance()); | ||
} | ||
|
||
public Conference(ParameterList params, String value) { | ||
super(PROPERTY_NAME, params, PropertyFactoryImpl.getInstance()); | ||
setValue(value); | ||
} | ||
|
||
@Override | ||
public void setValue(String aValue) { | ||
this.value = aValue; | ||
} | ||
|
||
@Override | ||
public void validate() throws ValidationException { | ||
|
||
} | ||
|
||
@Override | ||
public String getValue() { | ||
return value; | ||
} | ||
|
||
public static class Factory extends Content.Factory implements PropertyFactory<Conference> { | ||
|
||
public Conference createProperty() { | ||
return new Conference(); | ||
} | ||
|
||
public Conference createProperty(ParameterList parameters, String value) { | ||
Conference property = new Conference(parameters, value); | ||
return property; | ||
} | ||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
src/main/java/net/fortuna/ical4j/extensions/property/Description.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
package net.fortuna.ical4j.extensions.property; | ||
|
||
import net.fortuna.ical4j.model.*; | ||
|
||
/** | ||
* Created by fortuna on 11/09/15. | ||
*/ | ||
public class Description extends Property { | ||
|
||
private static final long serialVersionUID = 1L; | ||
|
||
public static final String PROPERTY_NAME = "DESCRIPTION"; | ||
|
||
private String value; | ||
|
||
public Description() { | ||
super(PROPERTY_NAME, PropertyFactoryImpl.getInstance()); | ||
} | ||
|
||
public Description(ParameterList params, String value) { | ||
super(PROPERTY_NAME, params, PropertyFactoryImpl.getInstance()); | ||
setValue(value); | ||
} | ||
|
||
@Override | ||
public void setValue(String aValue) { | ||
this.value = aValue; | ||
} | ||
|
||
@Override | ||
public void validate() throws ValidationException { | ||
|
||
} | ||
|
||
@Override | ||
public String getValue() { | ||
return value; | ||
} | ||
|
||
public static class Factory extends Content.Factory implements PropertyFactory<Description> { | ||
|
||
public Description createProperty() { | ||
return new Description(); | ||
} | ||
|
||
public Description createProperty(ParameterList parameters, String value) { | ||
Description property = new Description(parameters, value); | ||
return property; | ||
} | ||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
src/main/java/net/fortuna/ical4j/extensions/property/Image.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
package net.fortuna.ical4j.extensions.property; | ||
|
||
import net.fortuna.ical4j.model.*; | ||
|
||
/** | ||
* Created by fortuna on 11/09/15. | ||
*/ | ||
public class Image extends Property { | ||
|
||
private static final long serialVersionUID = 1L; | ||
|
||
public static final String PROPERTY_NAME = "IMAGE"; | ||
|
||
private String value; | ||
|
||
public Image() { | ||
super(PROPERTY_NAME, PropertyFactoryImpl.getInstance()); | ||
} | ||
|
||
public Image(ParameterList params, String value) { | ||
super(PROPERTY_NAME, params, PropertyFactoryImpl.getInstance()); | ||
setValue(value); | ||
} | ||
|
||
@Override | ||
public void setValue(String aValue) { | ||
this.value = aValue; | ||
} | ||
|
||
@Override | ||
public void validate() throws ValidationException { | ||
|
||
} | ||
|
||
@Override | ||
public String getValue() { | ||
return value; | ||
} | ||
|
||
public static class Factory extends Content.Factory implements PropertyFactory<Image> { | ||
|
||
public Image createProperty() { | ||
return new Image(); | ||
} | ||
|
||
public Image createProperty(ParameterList parameters, String value) { | ||
Image property = new Image(parameters, value); | ||
return property; | ||
} | ||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
src/main/java/net/fortuna/ical4j/extensions/property/LastModified.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
package net.fortuna.ical4j.extensions.property; | ||
|
||
import net.fortuna.ical4j.model.*; | ||
|
||
/** | ||
* Created by fortuna on 11/09/15. | ||
*/ | ||
public class LastModified extends Property { | ||
|
||
private static final long serialVersionUID = 1L; | ||
|
||
public static final String PROPERTY_NAME = "LAST-MODIFIED"; | ||
|
||
private String value; | ||
|
||
public LastModified() { | ||
super(PROPERTY_NAME, PropertyFactoryImpl.getInstance()); | ||
} | ||
|
||
public LastModified(ParameterList params, String value) { | ||
super(PROPERTY_NAME, params, PropertyFactoryImpl.getInstance()); | ||
setValue(value); | ||
} | ||
|
||
@Override | ||
public void setValue(String aValue) { | ||
this.value = aValue; | ||
} | ||
|
||
@Override | ||
public void validate() throws ValidationException { | ||
|
||
} | ||
|
||
@Override | ||
public String getValue() { | ||
return value; | ||
} | ||
|
||
public static class Factory extends Content.Factory implements PropertyFactory<LastModified> { | ||
|
||
public LastModified createProperty() { | ||
return new LastModified(); | ||
} | ||
|
||
public LastModified createProperty(ParameterList parameters, String value) { | ||
LastModified property = new LastModified(parameters, value); | ||
return property; | ||
} | ||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
src/main/java/net/fortuna/ical4j/extensions/property/Name.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
package net.fortuna.ical4j.extensions.property; | ||
|
||
import net.fortuna.ical4j.model.*; | ||
|
||
/** | ||
* Created by fortuna on 11/09/15. | ||
*/ | ||
public class Name extends Property { | ||
|
||
private static final long serialVersionUID = 1L; | ||
|
||
public static final String PROPERTY_NAME = "NAME"; | ||
|
||
private String value; | ||
|
||
public Name() { | ||
super(PROPERTY_NAME, PropertyFactoryImpl.getInstance()); | ||
} | ||
|
||
public Name(ParameterList params, String value) { | ||
super(PROPERTY_NAME, params, PropertyFactoryImpl.getInstance()); | ||
setValue(value); | ||
} | ||
|
||
@Override | ||
public void setValue(String aValue) { | ||
this.value = aValue; | ||
} | ||
|
||
@Override | ||
public void validate() throws ValidationException { | ||
|
||
} | ||
|
||
@Override | ||
public String getValue() { | ||
return value; | ||
} | ||
|
||
public static class Factory extends Content.Factory implements PropertyFactory<Name> { | ||
|
||
public Name createProperty() { | ||
return new Name(); | ||
} | ||
|
||
public Name createProperty(ParameterList parameters, String value) { | ||
Name property = new Name(parameters, value); | ||
return property; | ||
} | ||
} | ||
} |
Oops, something went wrong.