001: /*
002: * BEGIN_HEADER - DO NOT EDIT
003: *
004: * The contents of this file are subject to the terms
005: * of the Common Development and Distribution License
006: * (the "License"). You may not use this file except
007: * in compliance with the License.
008: *
009: * You can obtain a copy of the license at
010: * https://open-esb.dev.java.net/public/CDDLv1.0.html.
011: * See the License for the specific language governing
012: * permissions and limitations under the License.
013: *
014: * When distributing Covered Code, include this CDDL
015: * HEADER in each file and include the License file at
016: * https://open-esb.dev.java.net/public/CDDLv1.0.html.
017: * If applicable add the following below this CDDL HEADER,
018: * with the fields enclosed by brackets "[]" replaced with
019: * your own identifying information: Portions Copyright
020: * [year] [name of copyright owner]
021: */
022:
023: /*
024: * @(#)DisplayInformation.java
025: * Copyright 2004-2007 Sun Microsystems, Inc. All Rights Reserved.
026: *
027: * END_HEADER - DO NOT EDIT
028: */
029: package com.sun.jbi.ui.runtime;
030:
031: import java.io.Serializable;
032:
033: /**
034: * @author graj
035: *
036: */
037: public class DisplayInformation implements Serializable {
038:
039: String attributeName;
040:
041: String displayName;
042:
043: String displayDescription;
044:
045: boolean isPasswordField;
046:
047: String defaultValue;
048:
049: /**
050: *
051: */
052: public DisplayInformation() {
053: // TODO Auto-generated constructor stub
054: }
055:
056: /**
057: * @param attributeName
058: * @param displayName
059: * @param displayDescription
060: * @param isPasswordField
061: * @param defaultValue
062: */
063: public DisplayInformation(String attributeName, String displayName,
064: String displayDescription, boolean isPasswordField) {
065: super ();
066: this .attributeName = attributeName;
067: this .displayName = displayName;
068: this .displayDescription = displayDescription;
069: this .isPasswordField = isPasswordField;
070: }
071:
072: /**
073: * @return the attributeName
074: */
075: public String getAttributeName() {
076: return attributeName;
077: }
078:
079: /**
080: * @param attributeName
081: * the attributeName to set
082: */
083: public void setAttributeName(String attributeName) {
084: this .attributeName = attributeName;
085: }
086:
087: /**
088: * @return the defaultValue
089: */
090: public String getDefaultValue() {
091: return defaultValue;
092: }
093:
094: /**
095: * @param defaultValue
096: * the defaultValue to set
097: */
098: public void setDefaultValue(String defaultValue) {
099: this .defaultValue = defaultValue;
100: }
101:
102: /**
103: * @return the displayDescription
104: */
105: public String getDisplayDescription() {
106: return displayDescription;
107: }
108:
109: /**
110: * @param displayDescription
111: * the displayDescription to set
112: */
113: public void setDisplayDescription(String displayDescription) {
114: this .displayDescription = displayDescription;
115: }
116:
117: /**
118: * @return the displayName
119: */
120: public String getDisplayName() {
121: return displayName;
122: }
123:
124: /**
125: * @param displayName
126: * the displayName to set
127: */
128: public void setDisplayName(String displayName) {
129: this .displayName = displayName;
130: }
131:
132: /**
133: * @return the isPasswordField
134: */
135: public boolean isPasswordField() {
136: return isPasswordField;
137: }
138:
139: /**
140: * @param isPasswordField
141: * the isPasswordField to set
142: */
143: public void setPasswordField(boolean isPasswordField) {
144: this .isPasswordField = isPasswordField;
145: }
146:
147: public void dump() {
148: System.out.println("////////////////////////////");
149: System.out.println("// attributeName: " + attributeName);
150: System.out.println("// displayName: " + displayName);
151: System.out.println("// displayDescription: "
152: + displayDescription);
153: System.out.println("// isPasswordField: " + isPasswordField);
154: System.out.println("// defaultValue: " + defaultValue);
155: System.out.println("////////////////////////////");
156: System.out.println("");
157: }
158:
159: /**
160: * @param args
161: */
162: public static void main(String[] args) {
163: // TODO Auto-generated method stub
164:
165: }
166:
167: }
|