jbpm-form-modeler-api 6.1.0-SNAPSHOT

org.jbpm.formModeler.core.processing
Interface PropertyDefinition


public interface PropertyDefinition

Helper class to get information about a java POJO


Field Summary
static String PROP_IDENTIFIER
           
static String PROP_RELATION
           
static String[] PROPERTY_FLAGS
           
 
Method Summary
 String getId()
          Property definition id, that is a combination of class and attributes
 Map getPropertyAttributes()
           
 Class getPropertyClass()
          Property class
 String getPropertyClassName()
           
 boolean is(String propFlag)
          Given a flag name, determine if this property definition has it on.
 boolean isIdentifier()
           
 boolean isRequired()
          Determines if current property can be not null
 

Field Detail

PROP_IDENTIFIER

static final String PROP_IDENTIFIER
See Also:
Constant Field Values

PROP_RELATION

static final String PROP_RELATION
See Also:
Constant Field Values

PROPERTY_FLAGS

static final String[] PROPERTY_FLAGS
Method Detail

getPropertyClass

Class getPropertyClass()
Property class

Returns:
the property class

getPropertyClassName

String getPropertyClassName()
Returns:
a class name representation for this property definition

getId

String getId()
Property definition id, that is a combination of class and attributes

Returns:
Property definition id

getPropertyAttributes

Map getPropertyAttributes()

isIdentifier

boolean isIdentifier()

is

boolean is(String propFlag)
Given a flag name, determine if this property definition has it on.

Parameters:
propFlag - flag name, one of PROPERTY_FLAGS
Returns:

isRequired

boolean isRequired()
Determines if current property can be not null

Returns:
true if current property can be not null

jbpm-form-modeler-api 6.1.0-SNAPSHOT

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.