com.cafesoft.cams.access
Interface ResourcePatternInfo


public interface ResourcePatternInfo

The ResourcePatternInfo interface represents metadata for a ResourcePattern. ResourcePatternInfo contains a list of FieldInfo instances: one for each discrete field within the ResourcePattern. Each field may have its own rules for matching ResourceRequests.


Method Summary
 FieldInfo[] getFieldInfo()
          Get information about ResourcePattern fields.
 FieldInfo getFieldInfo(String fieldName)
          Get information about a specific ResourcePattern field.
 ResourcePatternValidationRule getResourcePatternValidationRule()
          Get the ResourcePatternValidationRule.
 

Method Detail

getResourcePatternValidationRule

public ResourcePatternValidationRule getResourcePatternValidationRule()
Get the ResourcePatternValidationRule.

Returns:
the ResourcePatternValidationRule if one exists, false otherwise.

getFieldInfo

public FieldInfo[] getFieldInfo()
Get information about ResourcePattern fields.

Returns:
an array of FieldInfo objects: one for each discrete field within the ResourcePattern.

getFieldInfo

public FieldInfo getFieldInfo(String fieldName)
Get information about a specific ResourcePattern field.

Parameters:
fieldName - the name of the Field.
Returns:
the corresponding FieldInfo containing metadata about the ResourcePattern Field or null if no Field by that name.


Generated on 10:40:31 AM September 10, 2003, © 1996-2003 Cafésoft LLC. All rights reserved.