|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.exceptions.i18n.AbstractMessageBean de.smartics.properties.api.core.app.AbstractBaseMessageBean de.smartics.properties.api.core.domain.PropertyMessageBean de.smartics.properties.api.core.domain.PropertyDescriptorMessageBean de.smartics.properties.api.core.domain.PropertyValueChangeMessageBean
public class PropertyValueChangeMessageBean
Provides context information for errors concerning a failed change of a property value.
Field Summary |
---|
Fields inherited from class de.smartics.exceptions.i18n.AbstractMessageBean |
---|
code, localizedInfo |
Constructor Summary | |
---|---|
PropertyValueChangeMessageBean(PropertyCode code, PropertyDescriptor propertyDescriptor, Object currentValue, Object rejectedValue) Default constructor. |
Method Summary | |
---|---|
Serializable |
getCurrentValue() Returns the current value of the property that has not been changed. |
Serializable |
getRejectedValue() Returns the value the property was requested to change to but has been rejected. |
Methods inherited from class de.smartics.properties.api.core.domain.PropertyDescriptorMessageBean |
---|
getPropertyDescriptor |
Methods inherited from class de.smartics.properties.api.core.domain.PropertyMessageBean |
---|
getPropertyKey |
Methods inherited from class de.smartics.exceptions.i18n.AbstractMessageBean |
---|
getCause, getCauseTrail, getCauseTrail, getClassLoader, getCode, getLocalizedInfo, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedTextMessage, getLocalizedTextMessage, getLocalizedTextMessage, getMessage, getMessage, getMessage, getMessages, getMessages, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PropertyValueChangeMessageBean(PropertyCode code, PropertyDescriptor propertyDescriptor, Object currentValue, Object rejectedValue)
code
- the error or exception code of the exception.
propertyDescriptor
- the descriptor of the property raising the exception.
currentValue
- the current value of the property that has not been changed.
rejectedValue
- the value the property was requested to change to but has been rejected.
Method Detail |
---|
public final Serializable getCurrentValue()
public final Serializable getRejectedValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |