LanEventPropertyKey.java 767 Bytes
package fi.insomnia.bortal.model;

public enum LanEventPropertyKey {
    EVENT_LOGO(Type.DATA, null),
    INVITEMAIL_SUBJECT(Type.TEXT, "Invite from Eventportal"),
    INVITEMAIL_CONTENT(Type.TEXT, "You have been invited to a Event by {1}. You can register to event intranet at {0}"),
    PORTAL_EMAIL_ADDRESS(Type.TEXT, "portal@tuhto.fi"),
    PORTAL_EMAIL_NAME(Type.TEXT, "Event portal"), ;

    private enum Type {
        TEXT, DATE, DATA
    };

    private final String defaultvalue;
    private final Type type;

    private LanEventPropertyKey(Type t, String def)
    {
        this.type = t;
        defaultvalue = def;
    }

    public String getDefaultvalue() {
        return defaultvalue;
    }

    public Type getType() {
        return type;
    }
}