public class ObjectMapping extends Object implements Serializable, ILogging
| Constructor and Description |
|---|
ObjectMapping(String object,
String resource)
Constructor for an object mapping using the .
|
| Modifier and Type | Method and Description |
|---|---|
List<ValidationDefinition> |
getDefinitions()
Returns a list of validation definitions for the default validation set.
|
List<ValidationDefinition> |
getDefinitions(String set)
Returns a list of ValidationDefinition objects for the specified validation set.
|
String |
getObject()
Returns the object identifier that was set
(typically the fully-qualified class name of the object to validate).
|
boolean |
hasDefinitions(String set)
If the specified validation set exists, returns True, otherwise returns False.
|
void |
setObject(String object)
Sets the object identifier that was set
(typically the fully-qualified class name of the object to validate).
|
public ObjectMapping(String object, String resource)
String - objectString - resourcepublic boolean hasDefinitions(String set)
String - setpublic List<ValidationDefinition> getDefinitions()
public List<ValidationDefinition> getDefinitions(String set)
String - setpublic String getObject()
public void setObject(String object)
String - objectCopyright © 2012. All Rights Reserved.