|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.mdm.index.objects.validation.UserReferenceDescriptor
| Constructor Summary | |
UserReferenceDescriptor(java.lang.String module)
Creates a new instance of ReferenceDescriptor |
|
UserReferenceDescriptor(java.lang.String module,
UserCodeRegistry userCodeRegistry)
Creates a new instance of ReferenceDescriptor |
|
| Method Summary | |
java.lang.String |
getModule()
Get the module name of this ReferenceDescriptor |
boolean |
isValidCode(java.lang.String code)
Check if the sepcified value is a valid code |
void |
validate(ObjectField field,
boolean newObject)
Validate a ObjectField |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UserReferenceDescriptor(java.lang.String module)
module - module name
public UserReferenceDescriptor(java.lang.String module,
UserCodeRegistry userCodeRegistry)
module - module name| Method Detail |
public java.lang.String getModule()
public boolean isValidCode(java.lang.String code)
code - code value
public void validate(ObjectField field,
boolean newObject)
throws ValidationException
validate in interface FieldValidatorfield - an object fieldnewObject - a new object
ValidationException - InvalidReferencedCode
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Sun Microsystems, Inc.