// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: packimports(3) deadcode 

package net.fortuna.ical4j.model.property;

import net.fortuna.ical4j.model.*;
import net.fortuna.ical4j.util.ParameterValidator;

public class Description extends Property
{

    public Description()
    {
        super("DESCRIPTION");
        setEscapable(true);
    }

    public Description(String s)
    {
        super("DESCRIPTION");
        setValue(s);
        setEscapable(true);
    }

    public Description(ParameterList parameterlist, String s)
    {
        super("DESCRIPTION", parameterlist);
        setValue(s);
        setEscapable(true);
    }

    public final void validate()
        throws ValidationException
    {
        ParameterValidator.getInstance().validateOneOrLess("ALTREP", getParameters());
        ParameterValidator.getInstance().validateOneOrLess("LANGUAGE", getParameters());
    }

    public final void setValue(String s)
    {
        value = s;
    }

    public final String getValue()
    {
        return value;
    }

    private String value;
}
