net.fortuna.ical4j.extensions.property.Conference Maven / Gradle / Ivy
package net.fortuna.ical4j.extensions.property;
import net.fortuna.ical4j.model.*;
import net.fortuna.ical4j.validate.ValidationException;
/**
* 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 {
public Factory() {
super(PROPERTY_NAME);
}
public Conference createProperty() {
return new Conference();
}
public Conference createProperty(ParameterList parameters, String value) {
Conference property = new Conference(parameters, value);
return property;
}
}
}