|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectportlets.compoze.groupware.ConnectionProperty
This class represents a connection property.
Field Summary | |
static int |
TYPE_PASSWORD
This represents a 'password' type. |
static int |
TYPE_TEXT
This represents a 'text' type. |
Constructor Summary | |
ConnectionProperty(ConnectionProperty connProp)
Constructor. |
|
ConnectionProperty(java.lang.String sKey,
java.lang.String sProperty,
int iType)
Constructor. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Checks for equality. |
java.lang.String |
getDescriptionKey()
Gets the i18n resource 'description' key. |
java.lang.String |
getHelperKey()
Gets the i18n resource 'helper' key. |
java.lang.String |
getLabelKey()
Gets the i18n resource 'label' key. |
java.lang.String |
getNameKey()
Gets the i18n resource 'name' key. |
java.lang.String |
getProperty()
Gets the property. |
int |
getType()
Gets the type. |
boolean |
isModifiable()
Checks if the property is modifiable. |
boolean |
isRequired()
Checks if the property is required. |
java.lang.String |
toString()
Returns the string representation of the object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int TYPE_TEXT
public static final int TYPE_PASSWORD
Constructor Detail |
public ConnectionProperty(ConnectionProperty connProp)
connProp
- the connection propertypublic ConnectionProperty(java.lang.String sKey, java.lang.String sProperty, int iType)
sKey
- the i18n resources key (may not be null
or empty)sProperty
- the property (may not be null
or empty)iType
- the property type (see TYPE_
constants)Method Detail |
public java.lang.String getProperty()
public java.lang.String getNameKey()
public java.lang.String getLabelKey()
public java.lang.String getDescriptionKey()
public java.lang.String getHelperKey()
public int getType()
TYPE_
constants)public boolean isModifiable()
true
if the property is modifiable; false
otherwisepublic boolean isRequired()
true
if the property is required; false
otherwisepublic boolean equals(java.lang.Object o)
o
- the object to check
true
if this object has the same property as the argument; false
otherwisegetProperty()
public java.lang.String toString()
|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |