⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 simverificationinfo.java

📁 Sun公司Dream项目
💻 JAVA
字号:
/*
 * The contents of this file are subject to the terms
 * of the Common Development and Distribution License
 * (the "License").  You may not use this file except
 * in compliance with the License.
 *
 * You can obtain a copy of the license at
 * http://www.opensource.org/licenses/cddl1.php
 * See the License for the specific language governing
 * permissions and limitations under the License.
 *
 * When distributing Covered Code, include this CDDL
 * HEADER in each file and include the License file at
 * http://www.opensource.org/licenses/cddl1.php.  If 
 * applicable, add the following below this CDDL HEADER, 
 * with the fields enclosed by brackets "[]" replaced 
 * with your own identifying information: 
 * Portions Copyright [yyyy]
 * [name of copyright owner]
 */ 

/*
 * $(@)SIMVerificationInfo.java $Revision: 1.2 $ $Date: 2006/07/24 21:58:59 $
 * 
 * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
 */
/*
 * SIMVerificationInfo.java
 *
 * Created on October 18, 2005, 4:13 PM
 *
 * To change this template, choose Tools | Options and locate the template under
 * the Source Creation and Management node. Right-click the template and choose
 * Open. You can then make changes to the template in the Source Editor.
 */

package com.sun.sjc.idtv.vod.shared.data;

public class SIMVerificationInfo {
    
    
    String simNumber;
      String uID;
      RightsInfo[] rightsInfo;
      String phone;
      String msg;
      String sviLicenseServerURL;
      String sviLicenseSignature;
      private boolean simVerified = false;
      private boolean sviSMSSendSucceeded = true;
            
            
    
    
    /** Creates a new instance of SIMVerificationInfo */
    public SIMVerificationInfo() {
                
        
    }
    public SIMVerificationInfo(String UsrsimNumber,
      String UsruID,
      RightsInfo[] UsrrightsInfo,
      String Usrphone,
      String Usrmsg,
      String licenseServerURL,
      String signature)
    {
        this.phone = Usrphone;
        this.msg = Usrmsg;
        this.simNumber = UsrsimNumber;
        this.rightsInfo = UsrrightsInfo;
        this.uID = UsruID;
        if (licenseServerURL != null && ! "".equals(licenseServerURL.trim())) {
			sviLicenseServerURL = licenseServerURL;        	
        } else {
        	sviLicenseServerURL = null;
        }
        
		if (signature != null && ! "".equals(signature.trim())) {
			sviLicenseSignature = signature;			
		} else {
			sviLicenseSignature = null;			
		}
    }
    
    public void setVerified(boolean verified) {
    	
    	this.simVerified = verified;
    }

	/**
	 * Check the status of verification process.
	 * @return
	 */
    public boolean isVerified() {
    	return simVerified;
    }

	/**
	 * Returns the SIM number.
	 * @return String representing the SIM number.
	 */		
	public String getSIM() {
		return simNumber;
	}

	/**
	 * Returns the UID.
	 * @return String representing the UID.
        */
        public String getUID() {
                return uID;
	}

	/**
	 * Returns the LicenseInfo object.
	 * @return LicenseInfo
	 */
	public RightsInfo[] getrightsInfo() {
		return rightsInfo;
	}
	
	/**
	 * Returns the Phone Number.
	 * @return String representing the phone number.
	 */
	public String getPhone() {
		return phone;
	}

	/**
	 * Returns the message to be sent via SMS. 
	 * @return
	 */	
	public String getMessage() {
		return msg;
	}
        public void setSMSMessage(String Msg) {
		msg = msg;
	}
        public String getLicenseServerURL() {
		return sviLicenseServerURL;
	}
        public String getSignature() {
		return sviLicenseSignature;
	}
        public boolean getSMSSendSuccess() {
		return sviSMSSendSucceeded;
	}

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -