Customer.java :  » XML » jibx-1.2.1 » org » jibx » starter2 » Java Open Source

Java Open Source » XML » jibx 1.2.1 
jibx 1.2.1 » org » jibx » starter2 » Customer.java

package org.jibx.starter2;

import java.util.List;

/**
 * Customer information.
 */
public class Customer
{
    private long m_customerNumber;
    
    /** Personal name. */
    private String m_firstName;
    
    /** Family name. */
    private String m_lastName;
    
    /** Middle name(s), if any. */
    private List m_middleNames;

    public long getCustomerNumber() {
        return m_customerNumber;
    }

    public void setCustomerNumber(long customerId) {
        m_customerNumber = customerId;
    }

    public String getFirstName() {
        return m_firstName;
    }

    public void setFirstName(String firstName) {
        m_firstName = firstName;
    }

    public String getLastName() {
        return m_lastName;
    }

    public void setLastName(String lastName) {
        m_lastName = lastName;
    }
    
    public List getMiddleNames() {
        return m_middleNames;
    }
    
    public void setMiddleNames(List middleNames) {
        m_middleNames = middleNames;
    }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.