begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|/*  * Licensed to the Apache Software Foundation (ASF) under one  * or more contributor license agreements.  See the NOTICE file  * distributed with this work for additional information  * regarding copyright ownership.  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  *<p>  * http://www.apache.org/licenses/LICENSE-2.0  *<p>  * 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.  */
end_comment

begin_package
package|package
name|org
operator|.
name|apache
operator|.
name|hadoop
operator|.
name|hive
operator|.
name|metastore
operator|.
name|model
package|;
end_package

begin_class
specifier|public
class|class
name|MISchema
block|{
specifier|private
name|int
name|schemaType
decl_stmt|;
specifier|private
name|String
name|name
decl_stmt|;
specifier|private
name|MDatabase
name|db
decl_stmt|;
specifier|private
name|int
name|compatibility
decl_stmt|;
specifier|private
name|int
name|validationLevel
decl_stmt|;
specifier|private
name|boolean
name|canEvolve
decl_stmt|;
specifier|private
name|String
name|schemaGroup
decl_stmt|;
specifier|private
name|String
name|description
decl_stmt|;
specifier|public
name|MISchema
parameter_list|(
name|int
name|schemaType
parameter_list|,
name|String
name|name
parameter_list|,
name|MDatabase
name|db
parameter_list|,
name|int
name|compatibility
parameter_list|,
name|int
name|validationLevel
parameter_list|,
name|boolean
name|canEvolve
parameter_list|,
name|String
name|schemaGroup
parameter_list|,
name|String
name|description
parameter_list|)
block|{
name|this
operator|.
name|schemaType
operator|=
name|schemaType
expr_stmt|;
name|this
operator|.
name|name
operator|=
name|name
expr_stmt|;
name|this
operator|.
name|db
operator|=
name|db
expr_stmt|;
name|this
operator|.
name|compatibility
operator|=
name|compatibility
expr_stmt|;
name|this
operator|.
name|validationLevel
operator|=
name|validationLevel
expr_stmt|;
name|this
operator|.
name|canEvolve
operator|=
name|canEvolve
expr_stmt|;
name|this
operator|.
name|schemaGroup
operator|=
name|schemaGroup
expr_stmt|;
name|this
operator|.
name|description
operator|=
name|description
expr_stmt|;
block|}
specifier|public
name|int
name|getSchemaType
parameter_list|()
block|{
return|return
name|schemaType
return|;
block|}
specifier|public
name|void
name|setSchemaType
parameter_list|(
name|int
name|schemaType
parameter_list|)
block|{
name|this
operator|.
name|schemaType
operator|=
name|schemaType
expr_stmt|;
block|}
specifier|public
name|String
name|getName
parameter_list|()
block|{
return|return
name|name
return|;
block|}
specifier|public
name|void
name|setName
parameter_list|(
name|String
name|name
parameter_list|)
block|{
name|this
operator|.
name|name
operator|=
name|name
expr_stmt|;
block|}
specifier|public
name|MDatabase
name|getDb
parameter_list|()
block|{
return|return
name|db
return|;
block|}
specifier|public
name|MISchema
name|setDb
parameter_list|(
name|MDatabase
name|db
parameter_list|)
block|{
name|this
operator|.
name|db
operator|=
name|db
expr_stmt|;
return|return
name|this
return|;
block|}
specifier|public
name|int
name|getCompatibility
parameter_list|()
block|{
return|return
name|compatibility
return|;
block|}
specifier|public
name|void
name|setCompatibility
parameter_list|(
name|int
name|compatibility
parameter_list|)
block|{
name|this
operator|.
name|compatibility
operator|=
name|compatibility
expr_stmt|;
block|}
specifier|public
name|int
name|getValidationLevel
parameter_list|()
block|{
return|return
name|validationLevel
return|;
block|}
specifier|public
name|void
name|setValidationLevel
parameter_list|(
name|int
name|validationLevel
parameter_list|)
block|{
name|this
operator|.
name|validationLevel
operator|=
name|validationLevel
expr_stmt|;
block|}
specifier|public
name|boolean
name|getCanEvolve
parameter_list|()
block|{
return|return
name|canEvolve
return|;
block|}
specifier|public
name|void
name|setCanEvolve
parameter_list|(
name|boolean
name|canEvolve
parameter_list|)
block|{
name|this
operator|.
name|canEvolve
operator|=
name|canEvolve
expr_stmt|;
block|}
specifier|public
name|String
name|getSchemaGroup
parameter_list|()
block|{
return|return
name|schemaGroup
return|;
block|}
specifier|public
name|void
name|setSchemaGroup
parameter_list|(
name|String
name|schemaGroup
parameter_list|)
block|{
name|this
operator|.
name|schemaGroup
operator|=
name|schemaGroup
expr_stmt|;
block|}
specifier|public
name|String
name|getDescription
parameter_list|()
block|{
return|return
name|description
return|;
block|}
specifier|public
name|void
name|setDescription
parameter_list|(
name|String
name|description
parameter_list|)
block|{
name|this
operator|.
name|description
operator|=
name|description
expr_stmt|;
block|}
block|}
end_class

end_unit

