public final class

PropertyTypeBoolean

extends Object
implements IPropertyTypeBoolean
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.properties.impl.PropertyTypeBoolean

Class Overview

Boolean property type.

Summary

Public Methods
Object afterRead(IPropertyDefinition def, Object value)
Post-processing to be done after reading a value.
static PropertyTypeBoolean create(Boolean def)
static PropertyTypeBoolean create()
Define a boolean property that defaults to 'false'
boolean equals(Object obj)
Boolean getDefault()
Get the default value.
String getName()
Get the type name.
int hashCode()
String toString()
boolean validate(Object value)
Validate a property value.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.pnfsoftware.jeb.core.properties.IPropertyType
From interface com.pnfsoftware.jeb.core.properties.IPropertyTypeBoolean

Public Methods

public Object afterRead (IPropertyDefinition def, Object value)

Post-processing to be done after reading a value. This method should only be called after a successful call to validate(Object).

Parameters
value must not be null

public static PropertyTypeBoolean create (Boolean def)

public static PropertyTypeBoolean create ()

Define a boolean property that defaults to 'false'

Returns
  • the property type

public boolean equals (Object obj)

public Boolean getDefault ()

Get the default value.

Returns
  • the default value, cannot be null

public String getName ()

Get the type name.

public int hashCode ()

public String toString ()

public boolean validate (Object value)

Validate a property value.

Parameters
value the property value
Returns
  • true on success