|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.j2ca.extension.emd.discovery.properties.WBIPropertyTypeImpl
Field Summary | |
---|---|
protected static int |
BOOLEAN_OBJECT
|
protected static int |
BYTE_OBJECT
|
protected static int |
CHAR_OBJECT
|
protected java.lang.Object |
defaultValue
The default value for the property |
protected boolean |
defaultValueDerived
Indicates whether the default value of the property is derived from other property values |
protected static int |
DOUBLE_OBJECT
|
protected boolean |
expert
Indicates whether the property is an expert property or not. |
protected static int |
FLOAT_OBJECT
|
protected boolean |
hidden
Indicates whether the property is hidden or not. |
protected static int |
INT_OBJECT
|
protected static int |
LONG_OBJECT
|
protected static int |
OBJECT
|
protected boolean |
primitive
|
protected WBIPropertyChangeSupport |
propertyChanges
|
protected int |
propertyTypeIdentifier
|
protected boolean |
readOnly
Indicates whether the property is read only or not. |
protected boolean |
required
|
protected boolean |
sensitive
|
protected static int |
STRING
|
protected java.lang.Class |
type
The Java type of the property |
protected java.lang.String[] |
validStringValues
|
protected java.lang.Object[] |
validValues
The set of valid values for the property |
protected boolean |
validValuesEditable
Flag indicating if the valid values are final, or editable. |
Constructor Summary | |
---|---|
WBIPropertyTypeImpl(java.lang.Class propertyType,
WBIPropertyChangeSupport propertyChanges)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
java.lang.Object |
getDefaultValue()
|
int |
getPropertyTypeIdentifier()
|
java.lang.Class |
getType()
|
java.lang.Object[] |
getValidValues()
|
java.lang.String[] |
getValidValuesAsStrings()
|
boolean |
isDefaultValueDerived()
|
boolean |
isExpert()
|
boolean |
isHidden()
|
boolean |
isPrimitive()
|
boolean |
isReadOnly()
|
boolean |
isRequired()
|
boolean |
isSensitive()
|
boolean |
isValidValuesEditable()
|
void |
setDefaultValue(java.lang.Object defaultValue)
|
void |
setDefaultValueDerived(boolean defaultValueDerived)
|
void |
setExpert(boolean expert)
|
void |
setHidden(boolean hidden)
|
void |
setPrimitive(boolean primitive)
|
void |
setReadOnly(boolean readOnly)
|
void |
setRequired(boolean required)
|
void |
setSensitive(boolean sensitive)
|
void |
setValidValues(java.lang.Object[] values)
Sets the set of valid values for the property. |
void |
setValidValuesEditable(boolean editable)
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final int BOOLEAN_OBJECT
protected static final int BYTE_OBJECT
protected static final int CHAR_OBJECT
protected static final int DOUBLE_OBJECT
protected static final int FLOAT_OBJECT
protected static final int INT_OBJECT
protected static final int LONG_OBJECT
protected static final int OBJECT
protected static final int STRING
protected java.lang.Object defaultValue
protected boolean defaultValueDerived
protected boolean expert
protected boolean hidden
protected boolean primitive
protected WBIPropertyChangeSupport propertyChanges
protected int propertyTypeIdentifier
protected boolean readOnly
protected boolean required
protected boolean sensitive
protected java.lang.Class type
protected java.lang.String[] validStringValues
protected java.lang.Object[] validValues
protected boolean validValuesEditable
Constructor Detail |
public WBIPropertyTypeImpl(java.lang.Class propertyType, WBIPropertyChangeSupport propertyChanges) throws commonj.connector.metadata.MetadataException
Method Detail |
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
Object.clone()
public java.lang.Object getDefaultValue()
getDefaultValue
in interface commonj.connector.metadata.discovery.properties.PropertyType
com.ibm.propertygroup.api.IPropertyType#getDefaultValue()
public int getPropertyTypeIdentifier()
public java.lang.Class getType()
getType
in interface commonj.connector.metadata.discovery.properties.PropertyType
com.ibm.propertygroup.api.IPropertyType#getType()
public java.lang.Object[] getValidValues()
getValidValues
in interface commonj.connector.metadata.discovery.properties.PropertyType
com.ibm.propertygroup.api.IPropertyType#getValidValues()
public java.lang.String[] getValidValuesAsStrings()
getValidValuesAsStrings
in interface commonj.connector.metadata.discovery.properties.PropertyType
com.ibm.propertygroup.api.IPropertyType#getValidValuesAsStrings()
public boolean isDefaultValueDerived()
com.ibm.propertygroup.api.IPropertyType#isDefaultValueDerived()
public boolean isExpert()
isExpert
in interface commonj.connector.metadata.discovery.properties.PropertyType
com.ibm.propertygroup.api.IPropertyType#isExpert()
public boolean isHidden()
isHidden
in interface commonj.connector.metadata.discovery.properties.PropertyType
com.ibm.propertygroup.api.IPropertyType#isHidden()
public boolean isPrimitive()
isPrimitive
in interface commonj.connector.metadata.discovery.properties.PropertyType
com.ibm.propertygroup.api.IPropertyType#isPrimitive()
public boolean isReadOnly()
isReadOnly
in interface commonj.connector.metadata.discovery.properties.PropertyType
com.ibm.propertygroup.api.IPropertyType#isReadOnly()
public boolean isRequired()
isRequired
in interface commonj.connector.metadata.discovery.properties.PropertyType
public boolean isSensitive()
isSensitive
in interface commonj.connector.metadata.discovery.properties.PropertyType
com.ibm.propertygroup.api.IPropertyType#isSensitive()
public boolean isValidValuesEditable()
isValidValuesEditable
in interface commonj.connector.metadata.discovery.properties.PropertyType
com.ibm.propertygroup.api.IPropertyType#isValidValuesEditable()
public void setDefaultValue(java.lang.Object defaultValue)
defaultValue
- The defaultValue to set.public void setDefaultValueDerived(boolean defaultValueDerived)
defaultValueDerived
- public void setExpert(boolean expert)
expert
- The expert to set.public void setHidden(boolean hidden)
hidden
- The hidden to set.public void setPrimitive(boolean primitive)
primitive
- The primitive to set.public void setReadOnly(boolean readOnly)
readOnly
- The readOnly to set.public void setRequired(boolean required)
required
- The required to set.public void setSensitive(boolean sensitive)
sensitive
- The sensitive to set.public void setValidValues(java.lang.Object[] values) throws commonj.connector.metadata.MetadataException
values
- -
the set of valid values
commonj.connector.metadata.MetadataException
- -
thrown if an error occurs. For example, if the set of valid
values are of a different Java type than the property.public void setValidValuesEditable(boolean editable)
editable
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |