//# 0 errors, 144 messages
//#
/*
    //#StaticTemplate.java:1:1: class: org.apache.roller.weblogger.pojos.StaticTemplate
    //#StaticTemplate.java:1:1: method: org.apache.roller.weblogger.pojos.StaticTemplate.org.apache.roller.weblogger.pojos.StaticTemplate__static_init
 * Licensed to the Apache Software Foundation (ASF) under one or more
 *  contributor license agreements.  The ASF licenses this file to You
 * under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.  For additional information regarding
 * copyright in this work, please see the NOTICE file in the top level
 * directory of this distribution.
 */

package org.apache.roller.weblogger.pojos;

import java.io.Serializable;
import java.util.Date;


/**
 * Represents a simple static Template.
 *
 * This template is not persisted or managed in any way, this class is here
 * mainly as a wrapper so that we can represent our static template files as
 * an object.
 */
public class StaticTemplate implements Template, Serializable {
    
    private String id = null;
    private String name = null;
    private String description = null;
    private Date lastModified = new Date();
    private String templateLanguage = null;
    private String  outputContentType = null;
    
    
    public StaticTemplate(String id, String lang) {
    //#StaticTemplate.java:42: method: void org.apache.roller.weblogger.pojos.StaticTemplate.org.apache.roller.weblogger.pojos.StaticTemplate(String, String)
    //#input(void org.apache.roller.weblogger.pojos.StaticTemplate(String, String)): id
    //#input(void org.apache.roller.weblogger.pojos.StaticTemplate(String, String)): lang
    //#input(void org.apache.roller.weblogger.pojos.StaticTemplate(String, String)): this
    //#output(void org.apache.roller.weblogger.pojos.StaticTemplate(String, String)): new Date(StaticTemplate#1) num objects
    //#output(void org.apache.roller.weblogger.pojos.StaticTemplate(String, String)): this.description
    //#output(void org.apache.roller.weblogger.pojos.StaticTemplate(String, String)): this.id
    //#output(void org.apache.roller.weblogger.pojos.StaticTemplate(String, String)): this.lastModified
    //#output(void org.apache.roller.weblogger.pojos.StaticTemplate(String, String)): this.name
    //#output(void org.apache.roller.weblogger.pojos.StaticTemplate(String, String)): this.outputContentType
    //#output(void org.apache.roller.weblogger.pojos.StaticTemplate(String, String)): this.templateLanguage
    //#new obj(void org.apache.roller.weblogger.pojos.StaticTemplate(String, String)): new Date(StaticTemplate#1)
    //#post(void org.apache.roller.weblogger.pojos.StaticTemplate(String, String)): this.description == id
    //#post(void org.apache.roller.weblogger.pojos.StaticTemplate(String, String)): init'ed(this.description)
    //#post(void org.apache.roller.weblogger.pojos.StaticTemplate(String, String)): this.id == this.description
    //#post(void org.apache.roller.weblogger.pojos.StaticTemplate(String, String)): this.name == this.description
    //#post(void org.apache.roller.weblogger.pojos.StaticTemplate(String, String)): this.lastModified == &new Date(StaticTemplate#1)
    //#post(void org.apache.roller.weblogger.pojos.StaticTemplate(String, String)): this.outputContentType == null
    //#post(void org.apache.roller.weblogger.pojos.StaticTemplate(String, String)): this.templateLanguage == lang
    //#post(void org.apache.roller.weblogger.pojos.StaticTemplate(String, String)): init'ed(this.templateLanguage)
    //#post(void org.apache.roller.weblogger.pojos.StaticTemplate(String, String)): new Date(StaticTemplate#1) num objects == 1
        this.id = id;
        this.name = id;
        this.description = id;
        this.templateLanguage = lang;
    }
    //#StaticTemplate.java:47: end of method: void org.apache.roller.weblogger.pojos.StaticTemplate.org.apache.roller.weblogger.pojos.StaticTemplate(String, String)
    
    
    public String getId() {
        return id;
    //#StaticTemplate.java:51: method: String org.apache.roller.weblogger.pojos.StaticTemplate.getId()
    //#input(String getId()): this
    //#input(String getId()): this.id
    //#output(String getId()): return_value
    //#pre[2] (String getId()): init'ed(this.id)
    //#post(String getId()): return_value == this.id
    //#post(String getId()): init'ed(return_value)
    //#StaticTemplate.java:51: end of method: String org.apache.roller.weblogger.pojos.StaticTemplate.getId()
    }

    public void setId(String id) {
        this.id = id;
    //#StaticTemplate.java:55: method: void org.apache.roller.weblogger.pojos.StaticTemplate.setId(String)
    //#input(void setId(String)): id
    //#input(void setId(String)): this
    //#output(void setId(String)): this.id
    //#post(void setId(String)): this.id == id
    //#post(void setId(String)): init'ed(this.id)
    }
    //#StaticTemplate.java:56: end of method: void org.apache.roller.weblogger.pojos.StaticTemplate.setId(String)

    public String getName() {
        return name;
    //#StaticTemplate.java:59: method: String org.apache.roller.weblogger.pojos.StaticTemplate.getName()
    //#input(String getName()): this
    //#input(String getName()): this.name
    //#output(String getName()): return_value
    //#pre[2] (String getName()): init'ed(this.name)
    //#post(String getName()): return_value == this.name
    //#post(String getName()): init'ed(return_value)
    //#StaticTemplate.java:59: end of method: String org.apache.roller.weblogger.pojos.StaticTemplate.getName()
    }

    public void setName(String name) {
        this.name = name;
    //#StaticTemplate.java:63: method: void org.apache.roller.weblogger.pojos.StaticTemplate.setName(String)
    //#input(void setName(String)): name
    //#input(void setName(String)): this
    //#output(void setName(String)): this.name
    //#post(void setName(String)): this.name == name
    //#post(void setName(String)): init'ed(this.name)
    }
    //#StaticTemplate.java:64: end of method: void org.apache.roller.weblogger.pojos.StaticTemplate.setName(String)

    public String getDescription() {
        return description;
    //#StaticTemplate.java:67: method: String org.apache.roller.weblogger.pojos.StaticTemplate.getDescription()
    //#input(String getDescription()): this
    //#input(String getDescription()): this.description
    //#output(String getDescription()): return_value
    //#pre[2] (String getDescription()): init'ed(this.description)
    //#post(String getDescription()): return_value == this.description
    //#post(String getDescription()): init'ed(return_value)
    //#StaticTemplate.java:67: end of method: String org.apache.roller.weblogger.pojos.StaticTemplate.getDescription()
    }

    public void setDescription(String description) {
        this.description = description;
    //#StaticTemplate.java:71: method: void org.apache.roller.weblogger.pojos.StaticTemplate.setDescription(String)
    //#input(void setDescription(String)): description
    //#input(void setDescription(String)): this
    //#output(void setDescription(String)): this.description
    //#post(void setDescription(String)): this.description == description
    //#post(void setDescription(String)): init'ed(this.description)
    }
    //#StaticTemplate.java:72: end of method: void org.apache.roller.weblogger.pojos.StaticTemplate.setDescription(String)

    public Date getLastModified() {
        return lastModified;
    //#StaticTemplate.java:75: method: Date org.apache.roller.weblogger.pojos.StaticTemplate.getLastModified()
    //#input(Date getLastModified()): this
    //#input(Date getLastModified()): this.lastModified
    //#output(Date getLastModified()): return_value
    //#pre[2] (Date getLastModified()): init'ed(this.lastModified)
    //#post(Date getLastModified()): return_value == this.lastModified
    //#post(Date getLastModified()): init'ed(return_value)
    //#StaticTemplate.java:75: end of method: Date org.apache.roller.weblogger.pojos.StaticTemplate.getLastModified()
    }

    public void setLastModified(Date lastModified) {
        this.lastModified = lastModified;
    //#StaticTemplate.java:79: method: void org.apache.roller.weblogger.pojos.StaticTemplate.setLastModified(Date)
    //#input(void setLastModified(Date)): lastModified
    //#input(void setLastModified(Date)): this
    //#output(void setLastModified(Date)): this.lastModified
    //#post(void setLastModified(Date)): this.lastModified == lastModified
    //#post(void setLastModified(Date)): init'ed(this.lastModified)
    }
    //#StaticTemplate.java:80: end of method: void org.apache.roller.weblogger.pojos.StaticTemplate.setLastModified(Date)

    public String getTemplateLanguage() {
        return templateLanguage;
    //#StaticTemplate.java:83: method: String org.apache.roller.weblogger.pojos.StaticTemplate.getTemplateLanguage()
    //#input(String getTemplateLanguage()): this
    //#input(String getTemplateLanguage()): this.templateLanguage
    //#output(String getTemplateLanguage()): return_value
    //#pre[2] (String getTemplateLanguage()): init'ed(this.templateLanguage)
    //#post(String getTemplateLanguage()): return_value == this.templateLanguage
    //#post(String getTemplateLanguage()): init'ed(return_value)
    //#StaticTemplate.java:83: end of method: String org.apache.roller.weblogger.pojos.StaticTemplate.getTemplateLanguage()
    }

    public void setTemplateLanguage(String templateLanguage) {
        this.templateLanguage = templateLanguage;
    //#StaticTemplate.java:87: method: void org.apache.roller.weblogger.pojos.StaticTemplate.setTemplateLanguage(String)
    //#input(void setTemplateLanguage(String)): templateLanguage
    //#input(void setTemplateLanguage(String)): this
    //#output(void setTemplateLanguage(String)): this.templateLanguage
    //#post(void setTemplateLanguage(String)): this.templateLanguage == templateLanguage
    //#post(void setTemplateLanguage(String)): init'ed(this.templateLanguage)
    }
    //#StaticTemplate.java:88: end of method: void org.apache.roller.weblogger.pojos.StaticTemplate.setTemplateLanguage(String)
    
    public String getOutputContentType() {
        return outputContentType;
    //#StaticTemplate.java:91: method: String org.apache.roller.weblogger.pojos.StaticTemplate.getOutputContentType()
    //#input(String getOutputContentType()): this
    //#input(String getOutputContentType()): this.outputContentType
    //#output(String getOutputContentType()): return_value
    //#pre[2] (String getOutputContentType()): init'ed(this.outputContentType)
    //#post(String getOutputContentType()): return_value == this.outputContentType
    //#post(String getOutputContentType()): init'ed(return_value)
    //#StaticTemplate.java:91: end of method: String org.apache.roller.weblogger.pojos.StaticTemplate.getOutputContentType()
    }

    public void setOutputContentType(String outputContentType) {
        this.outputContentType = outputContentType;
    //#StaticTemplate.java:95: method: void org.apache.roller.weblogger.pojos.StaticTemplate.setOutputContentType(String)
    //#input(void setOutputContentType(String)): outputContentType
    //#input(void setOutputContentType(String)): this
    //#output(void setOutputContentType(String)): this.outputContentType
    //#post(void setOutputContentType(String)): this.outputContentType == outputContentType
    //#post(void setOutputContentType(String)): init'ed(this.outputContentType)
    }
    //#StaticTemplate.java:96: end of method: void org.apache.roller.weblogger.pojos.StaticTemplate.setOutputContentType(String)
    
}
    //#output(org.apache.roller.weblogger.pojos.StaticTemplate__static_init): __Descendant_Table[org/apache/roller/weblogger/pojos/StaticTemplate]
    //#output(org.apache.roller.weblogger.pojos.StaticTemplate__static_init): __Dispatch_Table.getDescription()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.pojos.StaticTemplate__static_init): __Dispatch_Table.getId()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.pojos.StaticTemplate__static_init): __Dispatch_Table.getLastModified()Ljava/util/Date;
    //#output(org.apache.roller.weblogger.pojos.StaticTemplate__static_init): __Dispatch_Table.getName()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.pojos.StaticTemplate__static_init): __Dispatch_Table.getOutputContentType()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.pojos.StaticTemplate__static_init): __Dispatch_Table.getTemplateLanguage()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.pojos.StaticTemplate__static_init): __Dispatch_Table.setDescription(Ljava/lang/String;)V
    //#output(org.apache.roller.weblogger.pojos.StaticTemplate__static_init): __Dispatch_Table.setId(Ljava/lang/String;)V
    //#output(org.apache.roller.weblogger.pojos.StaticTemplate__static_init): __Dispatch_Table.setLastModified(Ljava/util/Date;)V
    //#output(org.apache.roller.weblogger.pojos.StaticTemplate__static_init): __Dispatch_Table.setName(Ljava/lang/String;)V
    //#output(org.apache.roller.weblogger.pojos.StaticTemplate__static_init): __Dispatch_Table.setOutputContentType(Ljava/lang/String;)V
    //#output(org.apache.roller.weblogger.pojos.StaticTemplate__static_init): __Dispatch_Table.setTemplateLanguage(Ljava/lang/String;)V
    //#output(org.apache.roller.weblogger.pojos.StaticTemplate__static_init): org/apache/roller/weblogger/pojos/Template.__Descendant_Table[org/apache/roller/weblogger/pojos/StaticTemplate]
    //#post(org.apache.roller.weblogger.pojos.StaticTemplate__static_init): __Descendant_Table[org/apache/roller/weblogger/pojos/StaticTemplate] == &__Dispatch_Table
    //#post(org.apache.roller.weblogger.pojos.StaticTemplate__static_init): org/apache/roller/weblogger/pojos/Template.__Descendant_Table[org/apache/roller/weblogger/pojos/StaticTemplate] == &__Dispatch_Table
    //#post(org.apache.roller.weblogger.pojos.StaticTemplate__static_init): __Dispatch_Table.getDescription()Ljava/lang/String; == &getDescription
    //#post(org.apache.roller.weblogger.pojos.StaticTemplate__static_init): __Dispatch_Table.getId()Ljava/lang/String; == &getId
    //#post(org.apache.roller.weblogger.pojos.StaticTemplate__static_init): __Dispatch_Table.getLastModified()Ljava/util/Date; == &getLastModified
    //#post(org.apache.roller.weblogger.pojos.StaticTemplate__static_init): __Dispatch_Table.getName()Ljava/lang/String; == &getName
    //#post(org.apache.roller.weblogger.pojos.StaticTemplate__static_init): __Dispatch_Table.getOutputContentType()Ljava/lang/String; == &getOutputContentType
    //#post(org.apache.roller.weblogger.pojos.StaticTemplate__static_init): __Dispatch_Table.getTemplateLanguage()Ljava/lang/String; == &getTemplateLanguage
    //#post(org.apache.roller.weblogger.pojos.StaticTemplate__static_init): __Dispatch_Table.setDescription(Ljava/lang/String;)V == &setDescription
    //#post(org.apache.roller.weblogger.pojos.StaticTemplate__static_init): __Dispatch_Table.setId(Ljava/lang/String;)V == &setId
    //#post(org.apache.roller.weblogger.pojos.StaticTemplate__static_init): __Dispatch_Table.setLastModified(Ljava/util/Date;)V == &setLastModified
    //#post(org.apache.roller.weblogger.pojos.StaticTemplate__static_init): __Dispatch_Table.setName(Ljava/lang/String;)V == &setName
    //#post(org.apache.roller.weblogger.pojos.StaticTemplate__static_init): __Dispatch_Table.setOutputContentType(Ljava/lang/String;)V == &setOutputContentType
    //#post(org.apache.roller.weblogger.pojos.StaticTemplate__static_init): __Dispatch_Table.setTemplateLanguage(Ljava/lang/String;)V == &setTemplateLanguage
    //#StaticTemplate.java:: end of method: org.apache.roller.weblogger.pojos.StaticTemplate.org.apache.roller.weblogger.pojos.StaticTemplate__static_init
    //#StaticTemplate.java:: end of class: org.apache.roller.weblogger.pojos.StaticTemplate
