|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ModelException | |
com.taursys.model | This package contains the model and value holder subcomponents which hold, parse and format values for Mapper XML components. |
com.taursys.swing | This package contains Mapper's Swing based components. |
com.taursys.xml | This package contains the core Mapper XML components and containers. |
Uses of ModelException in com.taursys.model |
Subclasses of ModelException in com.taursys.model | |
class |
ModelInvocationTargetException
ModelPropertyAccessorException which is caused by InvocationTargetExceptions. |
class |
ModelParseException
ModelExceptions encountered while parsing text value. |
class |
ModelPropertyAccessorException
ModelExceptions encountered while accessing properties. |
class |
MultiModelParseException
List of multiple ModelParseExceptions. |
class |
NotInListException
Exception generated when item is not in list. |
class |
SelectModelException
General Exception for problems encountered in DefaultSelectModel objects. |
class |
UnknownStateValueException
UnknownStateValueException is caused within Checkbox model by unknown state values. |
Methods in com.taursys.model that throw ModelException | |
java.lang.Object |
VOValueHolder.getPropertyValue(java.lang.String propertyName)
Returns the value of the given property in the obj. |
void |
VOValueHolder.setPropertyValue(java.lang.String propertyName,
java.lang.Object value)
Set the value for the given property in the obj. |
int |
VOValueHolder.getJavaDataType(java.lang.String propertyName)
Returns the java data type for the given property |
protected java.lang.Object |
VOValueHolder.getPropertyValue(java.lang.String propertyName,
java.lang.Object vo)
Get the value for the given property in the given obj. |
protected java.lang.Object[] |
VOValueHolder.getPropertyValues(java.lang.String[] propertyNames,
java.lang.Object vo)
Get the values for the given properties in the given obj. |
protected void |
VOValueHolder.setPropertyValues(java.lang.String propertyName,
java.lang.Object value,
java.lang.Object vo)
Set the values for the given properties in the given obj. |
protected void |
VOValueHolder.setPropertyValues(java.lang.String[] propertyNames,
java.lang.Object[] values,
java.lang.Object vo)
Set the values for the given properties in the given obj. |
protected PropertyAccessor |
VOValueHolder.getPropertyAccessor(java.lang.String propertyName)
Returns existing PropertyAccessor for given propertyName else creates new one. |
void |
VariantValueHolder.setPropertyValue(java.lang.String propertyName,
java.lang.Object newValue)
Sets the current value (propertyName is ignored). |
int |
VariantValueHolder.getJavaDataType(java.lang.String propertyName)
Returns the java data type (propertyName is ignored) |
java.lang.Object |
ValueHolder.getPropertyValue(java.lang.String propertyName)
Get the value of the given property in the valueObject. |
java.lang.Object[] |
ValueHolder.getPropertyValues(java.lang.String[] propertyNames)
Get the values for the given property names. |
void |
ValueHolder.setPropertyValue(java.lang.String propertyName,
java.lang.Object value)
Set the value of the given property in the valueObject. |
void |
ValueHolder.setPropertyValues(java.lang.String[] propertyNames,
java.lang.Object[] values)
Set the values for the given properties in the valueObject. |
int |
ValueHolder.getJavaDataType(java.lang.String propertyName)
Get the java data type for the given property |
java.lang.String |
TextModel.getText()
Returns the model value as a String (using Format if defined) |
void |
TextModel.setText(java.lang.String text)
Parses the given String (using Format if defined) and sets model value. |
java.util.Collection |
SelectModel.getDisplayOptionList()
Returns a Collection of the SelectModelOptions. |
java.lang.Object |
SelectModel.getSelectedItem()
Returns the currently selected item from the list. |
void |
SelectModel.setSelectedItem(java.lang.Object value)
Sets the current selection by searching through the list for the given object. |
protected void |
PropertyAccessor.setAccessorMethods()
Sets the javaDataType, readMethods and writeMethod properties. |
java.lang.Object |
PropertyAccessor.getPropertyValue(java.lang.Object valueObject)
Returns a property value from the valueObject based on the propertyName. |
void |
PropertyAccessor.setPropertyValue(java.lang.Object valueObject,
java.lang.Object value)
Sets a property of the valueObject to the given value based on the propertyName. |
protected java.lang.Object |
PropertyAccessor.invokeReadMethod(int i,
java.lang.Object target)
Invokes the i(th) read method on the given target and returns results. |
protected void |
PropertyAccessor.invokeWriteMethod(java.lang.Object target,
java.lang.Object value)
Invokes the write method on the given target. |
int |
ObjectValueHolder.getJavaDataType(java.lang.String propertyName)
Get javaDataType always returns DataTypes.TYPE_UNDEFINED (propertyName is ignored) |
java.lang.Object |
ObjectValueHolder.getPropertyValue(java.lang.String propertyName)
Get the internal value (propertyName is ignored). |
void |
ObjectValueHolder.setPropertyValue(java.lang.String propertyName,
java.lang.Object value)
Sets the internal object (propertyName is ignored). |
protected void |
ObjectValueHolder.setPropertyValues(java.lang.String propertyName,
java.lang.Object value,
java.lang.Object vo)
Unsupported operation has no effect. |
protected void |
ObjectValueHolder.setPropertyValues(java.lang.String[] propertyNames,
java.lang.Object[] values,
java.lang.Object vo)
Unsupported operation has no effect. |
protected java.lang.Object |
ObjectValueHolder.getPropertyValue(java.lang.String propertyName,
java.lang.Object vo)
Get the value for the given property in the given obj. |
protected java.lang.Object[] |
ObjectValueHolder.getPropertyValues(java.lang.String[] propertyNames,
java.lang.Object vo)
Get the values for the given properties in the given obj. |
java.lang.Object |
ObjectArrayValueHolder.getPropertyValue(java.lang.String propertyName)
Returns the current object in array (propertyName is ignored). |
void |
ObjectArrayValueHolder.setPropertyValue(java.lang.String propertyName,
java.lang.Object newValue)
Sets the current object in array (propertyName is ignored). |
int |
ObjectArrayValueHolder.getJavaDataType(java.lang.String propertyName)
Always returns DataTypes.TYPE_UNDEFINED (propertyName is ignored) |
java.lang.Object |
ListValueHolder.getPropertyValue(java.lang.String propertyName,
int row)
Returns the value of the given property in the valueObject of the given row. |
java.lang.Object[] |
ListValueHolder.getPropertyValues(java.lang.String[] propertyNames,
int index)
Get the values for the given properties in the valueObject at the given index. |
int |
ListValueHolder.indexOf(java.lang.String[] propertyNames,
java.lang.Object[] values)
Search through the items in the list for a match based on comparing the given properties/values. |
java.lang.String |
DefaultTextModel.getText()
Returns the valueHolder's propertyValue as a String value using Format if defined. |
void |
DefaultTextModel.setText(java.lang.String value)
Sets the valueHolder's propertyValue from the given String value to DataType using Format(if defined) to parse. |
java.lang.String |
DefaultSelectModel.getText()
Returns display value of current selection. |
void |
DefaultSelectModel.setText(java.lang.String value)
Sets the current selection by matching the given value to the list's display values. |
java.lang.Object |
DefaultSelectModel.getSelectedItem()
Returns the currently selected item from the list. |
void |
DefaultSelectModel.setSelectedItem(java.lang.Object value)
Sets the current selection by searching through the list for the given object. |
java.util.Collection |
DefaultSelectModel.getDisplayOptionList()
Returns a Collection of the SelectModelOptions. |
protected java.lang.String |
DefaultSelectModel.getCurrentPropertyValues()
|
protected boolean |
DefaultSelectModel.isCurrentMatch()
Compares the corresponding property values of the current list with valueHolder object. |
protected boolean |
DefaultSelectModel.isValueNull()
Returns true if all of the properties (propertyNames[]) are null. |
protected void |
DefaultSelectModel.copyValues()
Copies the corresponding values from the current listObject to the valueHolder object. |
protected void |
DefaultSelectModel.setNullValues()
Sets the propertyNames[] in the valueHolder object to null. |
java.lang.String |
DefaultCheckboxModel.getText()
Returns text/display value of current state. |
void |
DefaultCheckboxModel.setText(java.lang.String value)
Sets the current state by matching the given value to the selected or unselected values. |
void |
DefaultCheckboxModel.setSelected(boolean newSelected)
Sets the current state as selected(true) or unselected(false). |
boolean |
DefaultCheckboxModel.isSelected()
Gets the current state as selected(true) or unselected(false). |
java.lang.String |
CheckboxModel.getText()
Returns text/display value of current state. |
void |
CheckboxModel.setText(java.lang.String value)
Sets the current state by matching the given value to the selected or unselected values. |
void |
CheckboxModel.setSelected(boolean newSelected)
Sets the current state as selected(true) or unselected(false). |
boolean |
CheckboxModel.isSelected()
Gets the current state as selected(true) or unselected(false). |
abstract int |
AbstractValueHolder.getJavaDataType(java.lang.String propertyName)
Get the java data type for the given propertyName |
abstract java.lang.Object |
AbstractValueHolder.getPropertyValue(java.lang.String propertyName)
Get the value for the given property name. |
java.lang.Object[] |
AbstractValueHolder.getPropertyValues(java.lang.String[] propertyNames)
Get the values for the given property names. |
abstract void |
AbstractValueHolder.setPropertyValue(java.lang.String propertyName,
java.lang.Object value)
Set the named property's value to the given value. |
void |
AbstractValueHolder.setPropertyValues(java.lang.String[] propertyNames,
java.lang.Object[] values)
Set the the named property's values to the given values This method also sets the multiplePropertiesChanging to true while it is updating properties. |
protected void |
AbstractValueHolder.checkArrays(java.lang.String[] propertyNames,
java.lang.Object[] values)
Check to ensure arrays are not null and same size |
int |
AbstractListValueHolder.indexOf(java.lang.String[] propertyNames,
java.lang.Object[] values)
Search through the items in the list for a match based on comparing the given properties/values. |
java.lang.Object[] |
AbstractListValueHolder.getPropertyValues(java.lang.String[] propertyNames,
int index)
Get the values for the given properties in the valueObject at the given index. |
java.lang.Object |
AbstractListValueHolder.getPropertyValue(java.lang.String propertyName,
int index)
Returns the value of the given property in the valueObject of the given index. |
void |
AbstractListValueHolder.setPropertyValues(java.lang.String[] propertyNames,
java.lang.Object[] values,
int index)
Set the values for the given properties in the valueObject. |
java.lang.Object |
AbstractCollectionValueHolder.getPropertyValue(java.lang.String propertyName)
Get the value of the given property in the valueObject. |
java.lang.Object[] |
AbstractCollectionValueHolder.getPropertyValues(java.lang.String[] propertyNames)
Get the values for the given property names. |
void |
AbstractCollectionValueHolder.setPropertyValue(java.lang.String propertyName,
java.lang.Object value)
Set the value of the given property in the valueObject. |
void |
AbstractCollectionValueHolder.setPropertyValues(java.lang.String[] propertyNames,
java.lang.Object[] values)
Set the values for the given properties in the valueObject. |
int |
AbstractCollectionValueHolder.getJavaDataType(java.lang.String propertyName)
Get the java data type for the given property |
Constructors in com.taursys.model that throw ModelException | |
PropertyAccessor(java.lang.Class valueObjectClass,
java.lang.String propertyName)
|
Uses of ModelException in com.taursys.swing |
Methods in com.taursys.swing that throw ModelException | |
void |
MDocument.storeValue()
Stores Document value in TextModel |
Uses of ModelException in com.taursys.xml |
Methods in com.taursys.xml that throw ModelException | |
java.lang.String |
SelectField.getText()
Returns the model value as a String (using Format if defined). |
void |
SelectField.setText(java.lang.String text)
Sets the model value from the given String (using Format if defined). |
java.lang.Object |
SelectField.getSelection()
Gets the current selection from the Model. |
void |
SelectField.setSelection(java.lang.Object value)
Sets the current selection from the Model. |
java.lang.String |
Parameter.getText()
Returns the model value as a String (using Format if defined). |
void |
Parameter.setText(java.lang.String text)
Sets the model value from the given String (using Format if defined). |
java.lang.Object |
Parameter.getValue()
Returns the value of within the ValueHolder of the Model. |
void |
Parameter.setValue(java.lang.Object value)
Sets the value within the ValueHolder of the Model. |
java.lang.String |
ElementDelegate.getAttributeText(java.lang.String attributeName)
|
void |
ElementDelegate.setAttributeText(java.lang.String attributeName,
java.lang.String value)
|
java.lang.Object |
ElementDelegate.getAttributeValue(java.lang.String attributeName)
|
void |
ElementDelegate.setAttributeValue(java.lang.String attributeName,
java.lang.Object value)
|
java.lang.String |
ElementDelegate.getTextNodeText()
|
void |
ElementDelegate.setTextNodeText(java.lang.String value)
|
java.lang.Object |
ElementDelegate.getTextNodeValue()
|
void |
ElementDelegate.setTextNodeValue(java.lang.Object value)
|
java.lang.String |
Element.getAttributeText(java.lang.String attributeName)
Gets an Attribute's text value by name or null if it does not exist |
void |
Element.setAttributeText(java.lang.String attributeName,
java.lang.String value)
Sets an Attribute's text value by name or does nothing if it does not exist. |
java.lang.Object |
Element.getAttributeValue(java.lang.String attributeName)
Gets an Attribute's Object value by name or null if it does not exist |
void |
Element.setAttributeValue(java.lang.String attributeName,
java.lang.Object value)
Sets an Attribute's Object value by name or does nothing if it does not exist. |
java.lang.String |
Element.getTextNodeText()
Gets the TextNode's text value or null if it does not exist |
void |
Element.setTextNodeText(java.lang.String value)
Sets the TextNode's text value or does nothing if it does not exist. |
java.lang.Object |
Element.getTextNodeValue()
Gets the TextNode's Object value or null if it does not exist |
void |
Element.setTextNodeValue(java.lang.Object value)
Sets the TextNode's Object value or does nothing if it does not exist. |
java.lang.String |
DocumentElement.getAttributeText(java.lang.String attributeName)
|
java.lang.Object |
DocumentElement.getAttributeValue(java.lang.String attributeName)
|
void |
DocumentElement.setAttributeText(java.lang.String attributeName,
java.lang.String value)
|
void |
DocumentElement.setAttributeValue(java.lang.String attributeName,
java.lang.Object value)
|
java.lang.String |
DocumentElement.getTextNodeText()
|
java.lang.Object |
DocumentElement.getTextNodeValue()
|
void |
DocumentElement.setTextNodeText(java.lang.String value)
|
void |
DocumentElement.setTextNodeValue(java.lang.Object value)
|
java.lang.String |
CheckboxField.getText()
Returns the model value as a String (using Format if defined). |
void |
CheckboxField.setText(java.lang.String text)
Sets the model value from the given String (using Format if defined). |
boolean |
CheckboxField.isSelected()
Gets the current selected state from the Model. |
void |
CheckboxField.setSelected(boolean newSelected)
Sets the current state as selected(true) or unselected(false) for the model. |
java.lang.String |
Button.getAttributeText(java.lang.String attributeName)
|
java.lang.Object |
Button.getAttributeValue(java.lang.String attributeName)
|
void |
Button.setAttributeText(java.lang.String attributeName,
java.lang.String value)
|
void |
Button.setAttributeValue(java.lang.String attributeName,
java.lang.Object value)
|
java.lang.String |
Button.getTextNodeText()
|
java.lang.Object |
Button.getTextNodeValue()
|
void |
Button.setTextNodeText(java.lang.String value)
|
void |
Button.setTextNodeValue(java.lang.Object value)
|
java.lang.String |
AbstractField.getAttributeText(java.lang.String attributeName)
|
java.lang.Object |
AbstractField.getAttributeValue(java.lang.String attributeName)
|
void |
AbstractField.setAttributeText(java.lang.String attributeName,
java.lang.String value)
|
void |
AbstractField.setAttributeValue(java.lang.String attributeName,
java.lang.Object value)
|
java.lang.String |
AbstractField.getTextNodeText()
|
java.lang.Object |
AbstractField.getTextNodeValue()
|
void |
AbstractField.setTextNodeText(java.lang.String value)
|
void |
AbstractField.setTextNodeValue(java.lang.Object value)
|
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |