org.nakedobjects.noa.annotations.MaskAnnotation Maven / Gradle / Ivy
The newest version!
package org.nakedobjects.noa.annotations;
import org.nakedobjects.noa.adapter.Naked;
/**
* Not yet implemented by any viewer.
*/
public class MaskAnnotation extends AbstractSingleStringValueAnnotation implements Constraint {
public MaskAnnotation(final String value) {
super(PROPERTIES_AND_PARAMETERS, value);
}
/**
* Not yet implemented, so always returns false.
*/
public boolean violatedBy(
Naked argNaked) {
return false;
}
public RuntimeException createExceptionFor(
String id,
Naked argNaked) {
throw new UnsupportedOperationException("Not implemented");
}
}