public interface

IPropertyType

com.pnfsoftware.jeb.core.properties.IPropertyType
Known Indirect Subclasses

Class Overview

Base interface for property types. Implementations provide default value for a given property type, as well as a validation method to validate a property against a type.

Summary

Public Methods
abstract Object getDefault()
Get the default value.
abstract String getName()
Get the type name.
abstract boolean validate(Object value)
Validate a property value.

Public Methods

public abstract Object getDefault ()

Get the default value.

Returns
  • the default value, cannot be null

public abstract String getName ()

Get the type name.

public abstract boolean validate (Object value)

Validate a property value.

Parameters
value the property value
Returns
  • true on success