📄 conceptstrmodel.java
字号:
/* * $Id: ConceptModel.java,v 1.5.4.5 2001/03/15 00:25:03 gmurray Exp $ * Copyright 2001 Sun Microsystems, Inc. All rights reserved. * Copyright 2001 Sun Microsystems, Inc. Tous droits r閟erv閟. */package org.impact.stars.conceptmd.conceptstr.model;import java.util.Collection;import java.io.*;import org.impact.stars.util.Debug;//import org.impact.stars.conceptmd.concept.model.ConceptModel;/** * This class provides methods to view and modify account * information for a particular account. */public class ConceptstrModel implements java.io.Serializable { protected String conceptstrId; private String name; private String description; private String projectID; private Collection conceptlist; public ConceptstrModel(String conceptstrId, String name, String description, String projectID, Collection conceptlist) { this.conceptstrId = conceptstrId; this.name = name; this.description = description; this.projectID = projectID; this.conceptlist = conceptlist; } /** * Class constructor with no arguments, used by the web tier. */ public ConceptstrModel() {} // get and set methods for the instance variables public String getConceptstrID() { return conceptstrId; } public void setConceptstrID(String cstrId) { this.conceptstrId = cstrId; } public String getName() { return name; } public String getprojectID() { return projectID; } public String getDescription() { return description; } public Collection getConceptlist(){ return conceptlist; }/* public String toString() { String ret = null; ret = "userId = " + userId + "\n"; ret += "status = " + status + "\n"; ret += "contact info = " + info.toString() + "\n"; return ret; }*/ /** shallow copy */ public void copy(ConceptstrModel other) { this.conceptstrId = other.conceptstrId; this.name = other.name; this.description = other.description; this.projectID = other.projectID; this.conceptlist = other.conceptlist; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -