ConstraintViolation
type by switching
their Receiver
implementations to use
Receiver.onConstraintViolation(java.util.Set)
instead of
Receiver.onViolation(java.util.Set)
.@Deprecated
public interface Violation
ConstraintViolation
.Modifier and Type | Method and Description |
---|---|
BaseProxy |
getInvalidProxy()
Deprecated.
If the ConstraintViolation occurred while validating a object, this method
will return a BaseProxy that contains the invalid values.
|
java.lang.String |
getMessage()
Deprecated.
Returns the message associated with this
Violation . |
BaseProxy |
getOriginalProxy()
Deprecated.
If the ConstraintViolation occurred while validating a value object that
originated from the server, this method will return a BaseProxy that
contains the original values.
|
java.lang.String |
getPath()
Deprecated.
Returns the path associated with this
Violation . |
EntityProxyId<?> |
getProxyId()
Deprecated.
Returns the proxy id associated with this
Violation if the object
associated with the violation is an EntityProxy . |
BaseProxy getInvalidProxy()
java.lang.String getMessage()
Violation
.BaseProxy getOriginalProxy()
null
if the
BaseProxy was created on the client.java.lang.String getPath()
Violation
.EntityProxyId<?> getProxyId()
Violation
if the object
associated with the violation is an EntityProxy
.EntityProxyId
instance or null
if the object is
a ValueProxy.