//# 0 errors, 309 messages
//#
/*
    //#TemplateEditBean.java:1:1: class: org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean
    //#TemplateEditBean.java:1:1: method: org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__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.ui.struts2.editor;

import java.util.Locale;
import org.apache.roller.weblogger.WebloggerException;
import org.apache.roller.weblogger.pojos.WeblogTemplate;


/**
 * Form bean for TemplateEdit action.
 */
public class TemplateEditBean {
    //#TemplateEditBean.java:29: method: void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean()
    //#input(void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean()): java.lang.Boolean.TRUE
    //#input(void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean()): this
    //#output(void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean()): this.autoContentType
    //#output(void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean()): this.contents
    //#output(void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean()): this.description
    //#output(void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean()): this.hidden
    //#output(void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean()): this.id
    //#output(void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean()): this.link
    //#output(void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean()): this.manualContentType
    //#output(void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean()): this.name
    //#output(void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean()): this.navbar
    //#output(void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean()): this.templateLanguage
    //#presumption(void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean()): init'ed(java.lang.Boolean.TRUE)
    //#post(void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean()): this.autoContentType == java.lang.Boolean.TRUE
    //#post(void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean()): (soft) init'ed(this.autoContentType)
    //#post(void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean()): this.contents == null
    //#post(void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean()): this.description == null
    //#post(void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean()): this.id == null
    //#post(void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean()): this.link == null
    //#post(void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean()): this.manualContentType == null
    //#post(void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean()): this.name == null
    //#post(void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean()): this.templateLanguage == null
    //#post(void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean()): this.hidden == 0
    //#post(void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean()): this.navbar == 0
    
    private String id = null;
    private String name = null;
    private String description = null;
    private String link = null;
    private String contents = null;
    private String templateLanguage = null;
    private boolean navbar= false;
    private boolean hidden = false;
    private Boolean autoContentType = Boolean.TRUE;
    private String manualContentType = null;
    //#TemplateEditBean.java:40: end of method: void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean()
    
    
    public String getId() {
        return this.id;
    //#TemplateEditBean.java:44: method: String org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.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)
    //#TemplateEditBean.java:44: end of method: String org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.getId()
    }
    
    public void setId( String id ) {
        this.id = id;
    //#TemplateEditBean.java:48: method: void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.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)
    }
    //#TemplateEditBean.java:49: end of method: void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.setId(String)
    
    public String getName() {
        return this.name;
    //#TemplateEditBean.java:52: method: String org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.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)
    //#TemplateEditBean.java:52: end of method: String org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.getName()
    }
    
    public void setName( String name ) {
        this.name = name;
    //#TemplateEditBean.java:56: method: void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.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)
    }
    //#TemplateEditBean.java:57: end of method: void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.setName(String)
    
    public String getDescription() {
        return this.description;
    //#TemplateEditBean.java:60: method: String org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.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)
    //#TemplateEditBean.java:60: end of method: String org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.getDescription()
    }
    
    public void setDescription( String description ) {
        this.description = description;
    //#TemplateEditBean.java:64: method: void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.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)
    }
    //#TemplateEditBean.java:65: end of method: void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.setDescription(String)
    
    public String getLink() {
        return this.link;
    //#TemplateEditBean.java:68: method: String org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.getLink()
    //#input(String getLink()): this
    //#input(String getLink()): this.link
    //#output(String getLink()): return_value
    //#pre[2] (String getLink()): init'ed(this.link)
    //#post(String getLink()): return_value == this.link
    //#post(String getLink()): init'ed(return_value)
    //#TemplateEditBean.java:68: end of method: String org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.getLink()
    }
    
    public void setLink( String link ) {
        this.link = link;
    //#TemplateEditBean.java:72: method: void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.setLink(String)
    //#input(void setLink(String)): link
    //#input(void setLink(String)): this
    //#output(void setLink(String)): this.link
    //#post(void setLink(String)): this.link == link
    //#post(void setLink(String)): init'ed(this.link)
    }
    //#TemplateEditBean.java:73: end of method: void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.setLink(String)
    
    public String getContents() {
        return this.contents;
    //#TemplateEditBean.java:76: method: String org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.getContents()
    //#input(String getContents()): this
    //#input(String getContents()): this.contents
    //#output(String getContents()): return_value
    //#pre[2] (String getContents()): init'ed(this.contents)
    //#post(String getContents()): return_value == this.contents
    //#post(String getContents()): init'ed(return_value)
    //#TemplateEditBean.java:76: end of method: String org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.getContents()
    }
    
    public void setContents( String contents ) {
        this.contents = contents;
    //#TemplateEditBean.java:80: method: void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.setContents(String)
    //#input(void setContents(String)): contents
    //#input(void setContents(String)): this
    //#output(void setContents(String)): this.contents
    //#post(void setContents(String)): this.contents == contents
    //#post(void setContents(String)): init'ed(this.contents)
    }
    //#TemplateEditBean.java:81: end of method: void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.setContents(String)
    
    public String getTemplateLanguage() {
        return this.templateLanguage;
    //#TemplateEditBean.java:84: method: String org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.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)
    //#TemplateEditBean.java:84: end of method: String org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.getTemplateLanguage()
    }
    
    public void setTemplateLanguage( String templateLanguage ) {
        this.templateLanguage = templateLanguage;
    //#TemplateEditBean.java:88: method: void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.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)
    }
    //#TemplateEditBean.java:89: end of method: void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.setTemplateLanguage(String)
    
    public boolean isNavbar() {
        return this.navbar;
    //#TemplateEditBean.java:92: method: bool org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.isNavbar()
    //#input(bool isNavbar()): this
    //#input(bool isNavbar()): this.navbar
    //#output(bool isNavbar()): return_value
    //#pre[2] (bool isNavbar()): init'ed(this.navbar)
    //#post(bool isNavbar()): return_value == this.navbar
    //#post(bool isNavbar()): init'ed(return_value)
    //#TemplateEditBean.java:92: end of method: bool org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.isNavbar()
    }
    
    public void setNavbar( boolean navbar ) {
        this.navbar = navbar;
    //#TemplateEditBean.java:96: method: void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.setNavbar(bool)
    //#input(void setNavbar(bool)): navbar
    //#input(void setNavbar(bool)): this
    //#output(void setNavbar(bool)): this.navbar
    //#post(void setNavbar(bool)): this.navbar == navbar
    //#post(void setNavbar(bool)): init'ed(this.navbar)
    }
    //#TemplateEditBean.java:97: end of method: void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.setNavbar(bool)
    
    public boolean isHidden() {
        return this.hidden;
    //#TemplateEditBean.java:100: method: bool org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.isHidden()
    //#input(bool isHidden()): this
    //#input(bool isHidden()): this.hidden
    //#output(bool isHidden()): return_value
    //#pre[2] (bool isHidden()): init'ed(this.hidden)
    //#post(bool isHidden()): return_value == this.hidden
    //#post(bool isHidden()): init'ed(return_value)
    //#TemplateEditBean.java:100: end of method: bool org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.isHidden()
    }
    
    public void setHidden( boolean hidden ) {
        this.hidden = hidden;
    //#TemplateEditBean.java:104: method: void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.setHidden(bool)
    //#input(void setHidden(bool)): hidden
    //#input(void setHidden(bool)): this
    //#output(void setHidden(bool)): this.hidden
    //#post(void setHidden(bool)): this.hidden == hidden
    //#post(void setHidden(bool)): init'ed(this.hidden)
    }
    //#TemplateEditBean.java:105: end of method: void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.setHidden(bool)
    
    public Boolean getAutoContentType() {
        return autoContentType;
    //#TemplateEditBean.java:108: method: Boolean org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.getAutoContentType()
    //#input(Boolean getAutoContentType()): this
    //#input(Boolean getAutoContentType()): this.autoContentType
    //#output(Boolean getAutoContentType()): return_value
    //#pre[2] (Boolean getAutoContentType()): init'ed(this.autoContentType)
    //#post(Boolean getAutoContentType()): return_value == this.autoContentType
    //#post(Boolean getAutoContentType()): init'ed(return_value)
    //#TemplateEditBean.java:108: end of method: Boolean org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.getAutoContentType()
    }
    
    public void setAutoContentType(Boolean autoContentType) {
        this.autoContentType = autoContentType;
    //#TemplateEditBean.java:112: method: void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.setAutoContentType(Boolean)
    //#input(void setAutoContentType(Boolean)): autoContentType
    //#input(void setAutoContentType(Boolean)): this
    //#output(void setAutoContentType(Boolean)): this.autoContentType
    //#post(void setAutoContentType(Boolean)): this.autoContentType == autoContentType
    //#post(void setAutoContentType(Boolean)): init'ed(this.autoContentType)
    }
    //#TemplateEditBean.java:113: end of method: void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.setAutoContentType(Boolean)
    
    public String getManualContentType() {
        return manualContentType;
    //#TemplateEditBean.java:116: method: String org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.getManualContentType()
    //#input(String getManualContentType()): this
    //#input(String getManualContentType()): this.manualContentType
    //#output(String getManualContentType()): return_value
    //#pre[2] (String getManualContentType()): init'ed(this.manualContentType)
    //#post(String getManualContentType()): return_value == this.manualContentType
    //#post(String getManualContentType()): init'ed(return_value)
    //#TemplateEditBean.java:116: end of method: String org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.getManualContentType()
    }
    
    public void setManualContentType(String manualContentType) {
        this.manualContentType = manualContentType;
    //#TemplateEditBean.java:120: method: void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.setManualContentType(String)
    //#input(void setManualContentType(String)): manualContentType
    //#input(void setManualContentType(String)): this
    //#output(void setManualContentType(String)): this.manualContentType
    //#post(void setManualContentType(String)): this.manualContentType == manualContentType
    //#post(void setManualContentType(String)): init'ed(this.manualContentType)
    }
    //#TemplateEditBean.java:121: end of method: void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.setManualContentType(String)
    
    
    public void copyTo(WeblogTemplate dataHolder) {
        
        dataHolder.setContents(getContents());
    //#TemplateEditBean.java:126: method: void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.copyTo(WeblogTemplate)
    //#TemplateEditBean.java:126: Warning: method not available
    //#    -- call on void org.apache.roller.weblogger.pojos.WeblogTemplate:setContents(String)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean
    //#    method: void copyTo(WeblogTemplate)
    //#    unanalyzed callee: void org.apache.roller.weblogger.pojos.WeblogTemplate:setContents(String)
    //#input(void copyTo(WeblogTemplate)): __Descendant_Table[org/apache/roller/weblogger/ui/struts2/editor/TemplateEditBean]
    //#input(void copyTo(WeblogTemplate)): __Descendant_Table[others]
    //#input(void copyTo(WeblogTemplate)): __Dispatch_Table.getContents()Ljava/lang/String;
    //#input(void copyTo(WeblogTemplate)): __Dispatch_Table.getDescription()Ljava/lang/String;
    //#input(void copyTo(WeblogTemplate)): __Dispatch_Table.getLink()Ljava/lang/String;
    //#input(void copyTo(WeblogTemplate)): __Dispatch_Table.getName()Ljava/lang/String;
    //#input(void copyTo(WeblogTemplate)): __Dispatch_Table.getTemplateLanguage()Ljava/lang/String;
    //#input(void copyTo(WeblogTemplate)): __Dispatch_Table.isHidden()Z
    //#input(void copyTo(WeblogTemplate)): __Dispatch_Table.isNavbar()Z
    //#input(void copyTo(WeblogTemplate)): dataHolder
    //#input(void copyTo(WeblogTemplate)): this
    //#input(void copyTo(WeblogTemplate)): this.__Tag
    //#input(void copyTo(WeblogTemplate)): this.contents
    //#input(void copyTo(WeblogTemplate)): this.description
    //#input(void copyTo(WeblogTemplate)): this.hidden
    //#input(void copyTo(WeblogTemplate)): this.link
    //#input(void copyTo(WeblogTemplate)): this.name
    //#input(void copyTo(WeblogTemplate)): this.navbar
    //#input(void copyTo(WeblogTemplate)): this.templateLanguage
    //#pre[1] (void copyTo(WeblogTemplate)): dataHolder != null
    //#pre[3] (void copyTo(WeblogTemplate)): this.__Tag == org/apache/roller/weblogger/ui/struts2/editor/TemplateEditBean
    //#pre[4] (void copyTo(WeblogTemplate)): init'ed(this.contents)
    //#pre[5] (void copyTo(WeblogTemplate)): (soft) init'ed(this.description)
    //#pre[6] (void copyTo(WeblogTemplate)): (soft) init'ed(this.hidden)
    //#pre[7] (void copyTo(WeblogTemplate)): (soft) init'ed(this.link)
    //#pre[8] (void copyTo(WeblogTemplate)): (soft) init'ed(this.name)
    //#pre[9] (void copyTo(WeblogTemplate)): (soft) init'ed(this.navbar)
    //#pre[10] (void copyTo(WeblogTemplate)): (soft) init'ed(this.templateLanguage)
    //#test_vector(void copyTo(WeblogTemplate)): org.apache.roller.weblogger.pojos.WeblogTemplate:isCustom(...)@130: {0}, {1}
        
        // the rest of the template properties can only be modified when
        // dealing with a CUSTOM weblog template
        if(dataHolder.isCustom()) {
    //#TemplateEditBean.java:130: Warning: method not available
    //#    -- call on bool org.apache.roller.weblogger.pojos.WeblogTemplate:isCustom()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean
    //#    method: void copyTo(WeblogTemplate)
    //#    unanalyzed callee: bool org.apache.roller.weblogger.pojos.WeblogTemplate:isCustom()
            dataHolder.setName(getName());
    //#TemplateEditBean.java:131: Warning: method not available
    //#    -- call on void org.apache.roller.weblogger.pojos.WeblogTemplate:setName(String)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean
    //#    method: void copyTo(WeblogTemplate)
    //#    unanalyzed callee: void org.apache.roller.weblogger.pojos.WeblogTemplate:setName(String)
            dataHolder.setDescription(getDescription());
    //#TemplateEditBean.java:132: Warning: method not available
    //#    -- call on void org.apache.roller.weblogger.pojos.WeblogTemplate:setDescription(String)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean
    //#    method: void copyTo(WeblogTemplate)
    //#    unanalyzed callee: void org.apache.roller.weblogger.pojos.WeblogTemplate:setDescription(String)
            dataHolder.setLink(getLink());
    //#TemplateEditBean.java:133: Warning: method not available
    //#    -- call on void org.apache.roller.weblogger.pojos.WeblogTemplate:setLink(String)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean
    //#    method: void copyTo(WeblogTemplate)
    //#    unanalyzed callee: void org.apache.roller.weblogger.pojos.WeblogTemplate:setLink(String)
            dataHolder.setNavbar(isNavbar());
    //#TemplateEditBean.java:134: Warning: method not available
    //#    -- call on void org.apache.roller.weblogger.pojos.WeblogTemplate:setNavbar(bool)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean
    //#    method: void copyTo(WeblogTemplate)
    //#    unanalyzed callee: void org.apache.roller.weblogger.pojos.WeblogTemplate:setNavbar(bool)
            dataHolder.setHidden(isHidden());
    //#TemplateEditBean.java:135: Warning: method not available
    //#    -- call on void org.apache.roller.weblogger.pojos.WeblogTemplate:setHidden(bool)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean
    //#    method: void copyTo(WeblogTemplate)
    //#    unanalyzed callee: void org.apache.roller.weblogger.pojos.WeblogTemplate:setHidden(bool)
            dataHolder.setTemplateLanguage(getTemplateLanguage());
    //#TemplateEditBean.java:136: Warning: method not available
    //#    -- call on void org.apache.roller.weblogger.pojos.WeblogTemplate:setTemplateLanguage(String)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean
    //#    method: void copyTo(WeblogTemplate)
    //#    unanalyzed callee: void org.apache.roller.weblogger.pojos.WeblogTemplate:setTemplateLanguage(String)
        }
    }
    //#TemplateEditBean.java:138: end of method: void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.copyTo(WeblogTemplate)
    
    
    public void copyFrom(WeblogTemplate dataHolder) {
        
        this.id = dataHolder.getId();
    //#TemplateEditBean.java:143: method: void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.copyFrom(WeblogTemplate)
    //#TemplateEditBean.java:143: Warning: method not available
    //#    -- call on String org.apache.roller.weblogger.pojos.WeblogTemplate:getId()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean
    //#    method: void copyFrom(WeblogTemplate)
    //#    unanalyzed callee: String org.apache.roller.weblogger.pojos.WeblogTemplate:getId()
    //#input(void copyFrom(WeblogTemplate)): __Descendant_Table[org/apache/roller/weblogger/ui/struts2/editor/TemplateEditBean]
    //#input(void copyFrom(WeblogTemplate)): __Descendant_Table[others]
    //#input(void copyFrom(WeblogTemplate)): __Dispatch_Table.getManualContentType()Ljava/lang/String;
    //#input(void copyFrom(WeblogTemplate)): __Dispatch_Table.setAutoContentType(Ljava/lang/Boolean;)V
    //#input(void copyFrom(WeblogTemplate)): __Dispatch_Table.setManualContentType(Ljava/lang/String;)V
    //#input(void copyFrom(WeblogTemplate)): dataHolder
    //#input(void copyFrom(WeblogTemplate)): java.lang.Boolean.FALSE
    //#input(void copyFrom(WeblogTemplate)): this
    //#input(void copyFrom(WeblogTemplate)): this.__Tag
    //#output(void copyFrom(WeblogTemplate)): this.autoContentType
    //#output(void copyFrom(WeblogTemplate)): this.contents
    //#output(void copyFrom(WeblogTemplate)): this.description
    //#output(void copyFrom(WeblogTemplate)): this.hidden
    //#output(void copyFrom(WeblogTemplate)): this.id
    //#output(void copyFrom(WeblogTemplate)): this.link
    //#output(void copyFrom(WeblogTemplate)): this.manualContentType
    //#output(void copyFrom(WeblogTemplate)): this.name
    //#output(void copyFrom(WeblogTemplate)): this.navbar
    //#output(void copyFrom(WeblogTemplate)): this.templateLanguage
    //#pre[1] (void copyFrom(WeblogTemplate)): dataHolder != null
    //#pre[4] (void copyFrom(WeblogTemplate)): this.__Tag == org/apache/roller/weblogger/ui/struts2/editor/TemplateEditBean
    //#presumption(void copyFrom(WeblogTemplate)): init'ed(java.lang.Boolean.FALSE)
    //#post(void copyFrom(WeblogTemplate)): this.autoContentType == One-of{old this.autoContentType, java.lang.Boolean.FALSE}
    //#post(void copyFrom(WeblogTemplate)): init'ed(this.contents)
    //#post(void copyFrom(WeblogTemplate)): init'ed(this.description)
    //#post(void copyFrom(WeblogTemplate)): init'ed(this.hidden)
    //#post(void copyFrom(WeblogTemplate)): init'ed(this.id)
    //#post(void copyFrom(WeblogTemplate)): init'ed(this.link)
    //#post(void copyFrom(WeblogTemplate)): init'ed(this.manualContentType)
    //#post(void copyFrom(WeblogTemplate)): init'ed(this.name)
    //#post(void copyFrom(WeblogTemplate)): init'ed(this.navbar)
    //#post(void copyFrom(WeblogTemplate)): init'ed(this.templateLanguage)
    //#test_vector(void copyFrom(WeblogTemplate)): org.apache.roller.weblogger.pojos.WeblogTemplate:getOutputContentType(...)@152: Addr_Set{null}, Inverse{null}
        this.name = dataHolder.getName();
    //#TemplateEditBean.java:144: Warning: method not available
    //#    -- call on String org.apache.roller.weblogger.pojos.WeblogTemplate:getName()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean
    //#    method: void copyFrom(WeblogTemplate)
    //#    unanalyzed callee: String org.apache.roller.weblogger.pojos.WeblogTemplate:getName()
        this.description = dataHolder.getDescription();
    //#TemplateEditBean.java:145: Warning: method not available
    //#    -- call on String org.apache.roller.weblogger.pojos.WeblogTemplate:getDescription()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean
    //#    method: void copyFrom(WeblogTemplate)
    //#    unanalyzed callee: String org.apache.roller.weblogger.pojos.WeblogTemplate:getDescription()
        this.link = dataHolder.getLink();
    //#TemplateEditBean.java:146: Warning: method not available
    //#    -- call on String org.apache.roller.weblogger.pojos.WeblogTemplate:getLink()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean
    //#    method: void copyFrom(WeblogTemplate)
    //#    unanalyzed callee: String org.apache.roller.weblogger.pojos.WeblogTemplate:getLink()
        this.contents = dataHolder.getContents();
    //#TemplateEditBean.java:147: Warning: method not available
    //#    -- call on String org.apache.roller.weblogger.pojos.WeblogTemplate:getContents()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean
    //#    method: void copyFrom(WeblogTemplate)
    //#    unanalyzed callee: String org.apache.roller.weblogger.pojos.WeblogTemplate:getContents()
        this.navbar = dataHolder.isNavbar();
    //#TemplateEditBean.java:148: Warning: method not available
    //#    -- call on bool org.apache.roller.weblogger.pojos.WeblogTemplate:isNavbar()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean
    //#    method: void copyFrom(WeblogTemplate)
    //#    unanalyzed callee: bool org.apache.roller.weblogger.pojos.WeblogTemplate:isNavbar()
        this.hidden = dataHolder.isHidden();
    //#TemplateEditBean.java:149: Warning: method not available
    //#    -- call on bool org.apache.roller.weblogger.pojos.WeblogTemplate:isHidden()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean
    //#    method: void copyFrom(WeblogTemplate)
    //#    unanalyzed callee: bool org.apache.roller.weblogger.pojos.WeblogTemplate:isHidden()
        this.templateLanguage = dataHolder.getTemplateLanguage();
    //#TemplateEditBean.java:150: Warning: method not available
    //#    -- call on String org.apache.roller.weblogger.pojos.WeblogTemplate:getTemplateLanguage()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean
    //#    method: void copyFrom(WeblogTemplate)
    //#    unanalyzed callee: String org.apache.roller.weblogger.pojos.WeblogTemplate:getTemplateLanguage()
        
        setManualContentType(dataHolder.getOutputContentType());
    //#TemplateEditBean.java:152: Warning: method not available
    //#    -- call on String org.apache.roller.weblogger.pojos.WeblogTemplate:getOutputContentType()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean
    //#    method: void copyFrom(WeblogTemplate)
    //#    unanalyzed callee: String org.apache.roller.weblogger.pojos.WeblogTemplate:getOutputContentType()
        if(getManualContentType() != null) {
            setAutoContentType(Boolean.FALSE);
        }
    }
    //#TemplateEditBean.java:156: end of method: void org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.copyFrom(WeblogTemplate)
    
}
    //#output(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Descendant_Table[org/apache/roller/weblogger/ui/struts2/editor/TemplateEditBean]
    //#output(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.copyFrom(Lorg/apache/roller/weblogger/pojos/WeblogTemplate;)V
    //#output(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.copyTo(Lorg/apache/roller/weblogger/pojos/WeblogTemplate;)V
    //#output(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.getAutoContentType()Ljava/lang/Boolean;
    //#output(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.getContents()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.getDescription()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.getId()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.getLink()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.getManualContentType()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.getName()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.getTemplateLanguage()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.isHidden()Z
    //#output(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.isNavbar()Z
    //#output(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.setAutoContentType(Ljava/lang/Boolean;)V
    //#output(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.setContents(Ljava/lang/String;)V
    //#output(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.setDescription(Ljava/lang/String;)V
    //#output(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.setHidden(Z)V
    //#output(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.setId(Ljava/lang/String;)V
    //#output(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.setLink(Ljava/lang/String;)V
    //#output(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.setManualContentType(Ljava/lang/String;)V
    //#output(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.setName(Ljava/lang/String;)V
    //#output(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.setNavbar(Z)V
    //#output(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.setTemplateLanguage(Ljava/lang/String;)V
    //#post(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Descendant_Table[org/apache/roller/weblogger/ui/struts2/editor/TemplateEditBean] == &__Dispatch_Table
    //#post(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.copyFrom(Lorg/apache/roller/weblogger/pojos/WeblogTemplate;)V == &copyFrom
    //#post(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.copyTo(Lorg/apache/roller/weblogger/pojos/WeblogTemplate;)V == &copyTo
    //#post(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.getAutoContentType()Ljava/lang/Boolean; == &getAutoContentType
    //#post(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.getContents()Ljava/lang/String; == &getContents
    //#post(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.getDescription()Ljava/lang/String; == &getDescription
    //#post(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.getId()Ljava/lang/String; == &getId
    //#post(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.getLink()Ljava/lang/String; == &getLink
    //#post(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.getManualContentType()Ljava/lang/String; == &getManualContentType
    //#post(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.getName()Ljava/lang/String; == &getName
    //#post(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.getTemplateLanguage()Ljava/lang/String; == &getTemplateLanguage
    //#post(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.isHidden()Z == &isHidden
    //#post(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.isNavbar()Z == &isNavbar
    //#post(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.setAutoContentType(Ljava/lang/Boolean;)V == &setAutoContentType
    //#post(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.setContents(Ljava/lang/String;)V == &setContents
    //#post(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.setDescription(Ljava/lang/String;)V == &setDescription
    //#post(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.setHidden(Z)V == &setHidden
    //#post(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.setId(Ljava/lang/String;)V == &setId
    //#post(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.setLink(Ljava/lang/String;)V == &setLink
    //#post(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.setManualContentType(Ljava/lang/String;)V == &setManualContentType
    //#post(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.setName(Ljava/lang/String;)V == &setName
    //#post(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.setNavbar(Z)V == &setNavbar
    //#post(org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init): __Dispatch_Table.setTemplateLanguage(Ljava/lang/String;)V == &setTemplateLanguage
    //#TemplateEditBean.java:: end of method: org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean.org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean__static_init
    //#TemplateEditBean.java:: end of class: org.apache.roller.weblogger.ui.struts2.editor.TemplateEditBean
