subscriptiontype.java
来自「一个java写的加密算法」· Java 代码 · 共 44 行
JAVA
44 行
/* * Copyright 2004-2005 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */package samples.ejb.cmp.cmpcustomer.ejb.customer;import java.io.Serializable;/** * This is a dependent value class. * * @author Qingqing Ouyang * @version 1.0 */public class SubscriptionType implements Serializable { private String type; public static final SubscriptionType MAGAZINE = new SubscriptionType("Magazine"); public static final SubscriptionType JOURNAL = new SubscriptionType("Journal"); public static final SubscriptionType NEWS_PAPER = new SubscriptionType("News Paper"); public static final SubscriptionType OTHER = new SubscriptionType("Other"); private SubscriptionType (String type) { this.type = type; } public String getType() { return type; } public String toString() { return type; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?