PhoneInfo.java :  » Java-3D » openwonderland » org » jdesktop » wonderland » modules » phone » common » Java Open Source

Java Open Source » Java 3D » openwonderland 
openwonderland » org » jdesktop » wonderland » modules » phone » common » PhoneInfo.java
/**
 * Project Wonderland
 *
 * Copyright (c) 2004-2009, Sun Microsystems, Inc., All Rights Reserved
 *
 * Redistributions in source code form must reproduce the above
 * copyright and this condition.
 *
 * The contents of this file are subject to the GNU General Public
 * License, Version 2 (the "License"); you may not use this file
 * except in compliance with the License. A copy of the License is
 * available at http://www.opensource.org/licenses/gpl-license.php.
 *
 * Sun designates this particular file as subject to the "Classpath"
 * exception as provided by Sun in the License file that accompanied
 * this code.
 */
package org.jdesktop.wonderland.modules.phone.common;

import java.io.Serializable;

public class PhoneInfo implements Serializable {

    public boolean simulateCalls;
    public String phoneNumber;
    public String password;
    public String phoneLocation;
    public double zeroVolumeRadius;
    public double fullVolumeRadius;
    public boolean locked;
    public boolean keepUnlocked;

    public PhoneInfo() {
    }

    public PhoneInfo(boolean simulateCalls,
      String phoneNumber, String password, String phoneLocation,
      double zeroVolumeRadius, double fullVolumeRadius,
      boolean locked, boolean keepUnlocked) {

  this.simulateCalls = simulateCalls;
        this.phoneNumber = phoneNumber;
  this.password = password;
        this.phoneLocation = phoneLocation;
        this.zeroVolumeRadius = zeroVolumeRadius;
        this.fullVolumeRadius = fullVolumeRadius;
  this.locked = locked;
  this.keepUnlocked = keepUnlocked;
    }

}
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.