//# 0 errors, 59 messages
//#
/*
    //#WeblogEntryTagWrapper.java:1:1: class: org.apache.roller.weblogger.pojos.wrapper.WeblogEntryTagWrapper
    //#WeblogEntryTagWrapper.java:1:1: method: org.apache.roller.weblogger.pojos.wrapper.WeblogEntryTagWrapper.org.apache.roller.weblogger.pojos.wrapper.WeblogEntryTagWrapper__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.wrapper;

import java.sql.Timestamp;
import org.apache.roller.weblogger.pojos.WeblogEntryTag;


/**
 * Pojo safety wrapper for WeblogEntryTag objects.
 */
public class WeblogEntryTagWrapper {
    
    // keep a reference to the wrapped pojo
    private final WeblogEntryTag pojo;
    
    
    // this is private so that we can force the use of the .wrap(pojo) method
    private WeblogEntryTagWrapper(WeblogEntryTag toWrap) {
    //#WeblogEntryTagWrapper.java:35: method: void org.apache.roller.weblogger.pojos.wrapper.WeblogEntryTagWrapper.org.apache.roller.weblogger.pojos.wrapper.WeblogEntryTagWrapper(WeblogEntryTag)
    //#input(void org.apache.roller.weblogger.pojos.wrapper.WeblogEntryTagWrapper(WeblogEntryTag)): this
    //#input(void org.apache.roller.weblogger.pojos.wrapper.WeblogEntryTagWrapper(WeblogEntryTag)): toWrap
    //#output(void org.apache.roller.weblogger.pojos.wrapper.WeblogEntryTagWrapper(WeblogEntryTag)): this.pojo
    //#post(void org.apache.roller.weblogger.pojos.wrapper.WeblogEntryTagWrapper(WeblogEntryTag)): this.pojo == toWrap
    //#post(void org.apache.roller.weblogger.pojos.wrapper.WeblogEntryTagWrapper(WeblogEntryTag)): init'ed(this.pojo)
        this.pojo = toWrap;
    }
    //#WeblogEntryTagWrapper.java:37: end of method: void org.apache.roller.weblogger.pojos.wrapper.WeblogEntryTagWrapper.org.apache.roller.weblogger.pojos.wrapper.WeblogEntryTagWrapper(WeblogEntryTag)
    
    
    // wrap the given pojo if it is not null
    public static WeblogEntryTagWrapper wrap(WeblogEntryTag toWrap) {
        if(toWrap != null)
    //#WeblogEntryTagWrapper.java:42: method: WeblogEntryTagWrapper org.apache.roller.weblogger.pojos.wrapper.WeblogEntryTagWrapper.wrap(WeblogEntryTag)
    //#input(WeblogEntryTagWrapper wrap(WeblogEntryTag)): toWrap
    //#output(WeblogEntryTagWrapper wrap(WeblogEntryTag)): new WeblogEntryTagWrapper(wrap#1) num objects
    //#output(WeblogEntryTagWrapper wrap(WeblogEntryTag)): new WeblogEntryTagWrapper(wrap#1).__Tag
    //#output(WeblogEntryTagWrapper wrap(WeblogEntryTag)): new WeblogEntryTagWrapper(wrap#1).pojo
    //#output(WeblogEntryTagWrapper wrap(WeblogEntryTag)): return_value
    //#new obj(WeblogEntryTagWrapper wrap(WeblogEntryTag)): new WeblogEntryTagWrapper(wrap#1)
    //#post(WeblogEntryTagWrapper wrap(WeblogEntryTag)): return_value == One-of{&new WeblogEntryTagWrapper(wrap#1), null}
    //#post(WeblogEntryTagWrapper wrap(WeblogEntryTag)): return_value in Addr_Set{null,&new WeblogEntryTagWrapper(wrap#1)}
    //#post(WeblogEntryTagWrapper wrap(WeblogEntryTag)): new WeblogEntryTagWrapper(wrap#1) num objects <= 1
    //#post(WeblogEntryTagWrapper wrap(WeblogEntryTag)): new WeblogEntryTagWrapper(wrap#1).__Tag == org/apache/roller/weblogger/pojos/wrapper/WeblogEntryTagWrapper
    //#post(WeblogEntryTagWrapper wrap(WeblogEntryTag)): new WeblogEntryTagWrapper(wrap#1).pojo == toWrap
    //#post(WeblogEntryTagWrapper wrap(WeblogEntryTag)): new WeblogEntryTagWrapper(wrap#1).pojo != null
    //#test_vector(WeblogEntryTagWrapper wrap(WeblogEntryTag)): toWrap: Addr_Set{null}, Inverse{null}
            return new WeblogEntryTagWrapper(toWrap);
        
        return null;
    //#WeblogEntryTagWrapper.java:45: end of method: WeblogEntryTagWrapper org.apache.roller.weblogger.pojos.wrapper.WeblogEntryTagWrapper.wrap(WeblogEntryTag)
    }
    
    // NOTE: removing for 4.0 because it is not necessary
//    public String getId() {
//        return this.pojo.getId();
//    }
    
    // NOTE: removing for 4.0 because it is not necessary
//    public WeblogWrapper getWeblog() {
//        return WeblogWrapper.wrap(this.pojo.getWeblog());
//    }
    
    // NOTE: removing for 4.0 because it is not necessary
//    public WeblogEntryWrapper getWeblogEntry() {
//        return WeblogEntryWrapper.wrap(this.pojo.getWeblogEntry());
//    }
    
    
    public UserWrapper getUser() {
        return UserWrapper.wrap(this.pojo.getUser());
    //#WeblogEntryTagWrapper.java:65: method: UserWrapper org.apache.roller.weblogger.pojos.wrapper.WeblogEntryTagWrapper.getUser()
    //#WeblogEntryTagWrapper.java:65: Warning: method not available
    //#    -- call on User org.apache.roller.weblogger.pojos.WeblogEntryTag:getUser()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.pojos.wrapper.WeblogEntryTagWrapper
    //#    method: UserWrapper getUser()
    //#    unanalyzed callee: User org.apache.roller.weblogger.pojos.WeblogEntryTag:getUser()
    //#WeblogEntryTagWrapper.java:65: Warning: method not available
    //#    -- call on UserWrapper org.apache.roller.weblogger.pojos.wrapper.UserWrapper:wrap(User)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.pojos.wrapper.WeblogEntryTagWrapper
    //#    method: UserWrapper getUser()
    //#    unanalyzed callee: UserWrapper org.apache.roller.weblogger.pojos.wrapper.UserWrapper:wrap(User)
    //#input(UserWrapper getUser()): this
    //#input(UserWrapper getUser()): this.pojo
    //#output(UserWrapper getUser()): return_value
    //#pre[2] (UserWrapper getUser()): this.pojo != null
    //#post(UserWrapper getUser()): init'ed(return_value)
    //#WeblogEntryTagWrapper.java:65: end of method: UserWrapper org.apache.roller.weblogger.pojos.wrapper.WeblogEntryTagWrapper.getUser()
    }
    
    
    public String getName() {
        return this.pojo.getName();
    //#WeblogEntryTagWrapper.java:70: method: String org.apache.roller.weblogger.pojos.wrapper.WeblogEntryTagWrapper.getName()
    //#WeblogEntryTagWrapper.java:70: Warning: method not available
    //#    -- call on String org.apache.roller.weblogger.pojos.WeblogEntryTag:getName()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.pojos.wrapper.WeblogEntryTagWrapper
    //#    method: String getName()
    //#    unanalyzed callee: String org.apache.roller.weblogger.pojos.WeblogEntryTag:getName()
    //#input(String getName()): this
    //#input(String getName()): this.pojo
    //#output(String getName()): return_value
    //#pre[2] (String getName()): this.pojo != null
    //#post(String getName()): init'ed(return_value)
    //#WeblogEntryTagWrapper.java:70: end of method: String org.apache.roller.weblogger.pojos.wrapper.WeblogEntryTagWrapper.getName()
    }
    
    
    public Timestamp getTime() {
        return this.pojo.getTime();
    //#WeblogEntryTagWrapper.java:75: method: Timestamp org.apache.roller.weblogger.pojos.wrapper.WeblogEntryTagWrapper.getTime()
    //#WeblogEntryTagWrapper.java:75: Warning: method not available
    //#    -- call on Timestamp org.apache.roller.weblogger.pojos.WeblogEntryTag:getTime()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.pojos.wrapper.WeblogEntryTagWrapper
    //#    method: Timestamp getTime()
    //#    unanalyzed callee: Timestamp org.apache.roller.weblogger.pojos.WeblogEntryTag:getTime()
    //#input(Timestamp getTime()): this
    //#input(Timestamp getTime()): this.pojo
    //#output(Timestamp getTime()): return_value
    //#pre[2] (Timestamp getTime()): this.pojo != null
    //#post(Timestamp getTime()): init'ed(return_value)
    //#WeblogEntryTagWrapper.java:75: end of method: Timestamp org.apache.roller.weblogger.pojos.wrapper.WeblogEntryTagWrapper.getTime()
    }
    
}
    //#output(org.apache.roller.weblogger.pojos.wrapper.WeblogEntryTagWrapper__static_init): __Descendant_Table[org/apache/roller/weblogger/pojos/wrapper/WeblogEntryTagWrapper]
    //#output(org.apache.roller.weblogger.pojos.wrapper.WeblogEntryTagWrapper__static_init): __Dispatch_Table.getName()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.pojos.wrapper.WeblogEntryTagWrapper__static_init): __Dispatch_Table.getTime()Ljava/sql/Timestamp;
    //#output(org.apache.roller.weblogger.pojos.wrapper.WeblogEntryTagWrapper__static_init): __Dispatch_Table.getUser()Lorg/apache/roller/weblogger/pojos/wrapper/UserWrapper;
    //#post(org.apache.roller.weblogger.pojos.wrapper.WeblogEntryTagWrapper__static_init): __Descendant_Table[org/apache/roller/weblogger/pojos/wrapper/WeblogEntryTagWrapper] == &__Dispatch_Table
    //#post(org.apache.roller.weblogger.pojos.wrapper.WeblogEntryTagWrapper__static_init): __Dispatch_Table.getName()Ljava/lang/String; == &getName
    //#post(org.apache.roller.weblogger.pojos.wrapper.WeblogEntryTagWrapper__static_init): __Dispatch_Table.getTime()Ljava/sql/Timestamp; == &getTime
    //#post(org.apache.roller.weblogger.pojos.wrapper.WeblogEntryTagWrapper__static_init): __Dispatch_Table.getUser()Lorg/apache/roller/weblogger/pojos/wrapper/UserWrapper; == &getUser
    //#WeblogEntryTagWrapper.java:: end of method: org.apache.roller.weblogger.pojos.wrapper.WeblogEntryTagWrapper.org.apache.roller.weblogger.pojos.wrapper.WeblogEntryTagWrapper__static_init
    //#WeblogEntryTagWrapper.java:: end of class: org.apache.roller.weblogger.pojos.wrapper.WeblogEntryTagWrapper
