/*
 * $Header: /home/cvspublic/jakarta-slide/src/stores/org/apache/slide/store/ojb/peer/SequencePeer.java,v 1.3 2005/01/23 13:57:27 cvillegas Exp $
 * $Revision: 1.3 $
 * $Date: 2005/01/23 13:57:27 $
 *
 * ====================================================================
 *
 * Copyright 1999-2002 The Apache Software Foundation
 *
 * Licensed 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.
 *
 */
package org.apache.slide.store.ojb.peer;

/**
 * @ojb.class table="${table.prefix}SEQUENCE"
 *
 */
public class SequencePeer {
    
    /**
     * @ojb.field column="NAME"
     *            length="255"
     *            primarykey="true"
     */
    private String name;
    
    /**
     * @ojb.field column="NEXT_VALUE"
     */
    private long nextValue;

    
    /**
     * @return Returns the name.
     */
    public String getName() {
        return name;
    }
    /**
     * @param name The name to set.
     */
    public void setName(String name) {
        this.name = name;
    }
    /**
     * @return Returns the nextValue.
     */
    public long getNextValue() {
        return nextValue;
    }
    /**
     * @param nextValue The nextValue to set.
     */
    public void setNextValue(long nextValue) {
        this.nextValue = nextValue;
    }
}
