All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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");
    }


}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy