public abstract class TypeAwareProfileValidator extends AbstractProfileValidator
| Constructor and Description |
|---|
TypeAwareProfileValidator() |
| Modifier and Type | Method and Description |
|---|---|
String |
getResourceType() |
boolean |
handle(eu.dnetlib.enabling.tools.OpaqueResource resource,
RegistrationPhase phase)
True if this validator will handle this profile, false otherwise.
|
void |
setResourceType(String resourceType) |
getPhase, setPhaseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacceptpublic boolean handle(eu.dnetlib.enabling.tools.OpaqueResource resource,
RegistrationPhase phase)
ProfileValidatorhandle in interface ProfileValidatorhandle in class AbstractProfileValidatorpublic void setResourceType(String resourceType)
public String getResourceType()
Copyright © 2017. All rights reserved.