public class

PropertyTypePath

extends Object
implements IPropertyTypePath
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.properties.impl.PropertyTypePath

Class Overview

Path (custom string) property type.

Summary

Public Methods
static PropertyTypePath create(String def)
static PropertyTypePath create()
Define a path property that defaults to the empty string.
boolean equals(Object obj)
String getDefault()
Get the default value.
int getMaxLength()
Get the maximum allowed string length.
int getMinLength()
Get the minimum allowed string length.
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.IPropertyTypeString

Public Methods

public static PropertyTypePath create (String def)

public static PropertyTypePath create ()

Define a path property that defaults to the empty string.

public boolean equals (Object obj)

public String getDefault ()

Get the default value.

Returns
  • the default value, cannot be null

public int getMaxLength ()

Get the maximum allowed string length.

Returns
  • the maximum length

public int getMinLength ()

Get the minimum allowed string length.

Returns
  • the minimum length

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