public class PFieldSpecFactory extends Object
PFieldSpecFactory
is a class used internally by the BAS framework
to generate a PFieldSpecification
from a String
description
passed in from the client side of an application. The PFieldSpecification
is used to specify the fields to include in an flist.Constructor and Description |
---|
PFieldSpecFactory() |
Modifier and Type | Method and Description |
---|---|
static PDataFieldSpecification |
createDataSpec(String description) |
static PFieldSpecification |
createSpec(Field field) |
static PFieldSpecification |
createSpec(Field field,
int elem) |
static PFieldSpecification |
createSpec(String description) |
public static PDataFieldSpecification createDataSpec(String description) throws PBadFieldDescriptionException
description
- a String
that describes the fieldPBadFieldDescriptionException
- thrown when a field description
fails to describe the right kind of
field (or fails to provide any field)
for the intended operation.public static PFieldSpecification createSpec(Field field) throws PBadFieldDescriptionException
field
- a Field
objectPBadFieldDescriptionException
- thrown when a field description
fails to describe the right kind of
field (or fails to provide any field)
for the intended operation.public static PFieldSpecification createSpec(Field field, int elem) throws PBadFieldDescriptionException
field
- a Field
objectelem
- the field's positionPBadFieldDescriptionException
- thrown when a field description
fails to describe the right kind of
field (or fails to provide any field)
for the intended operation.public static PFieldSpecification createSpec(String description) throws PBadFieldDescriptionException
description
- a String
that describes a
fieldPBadFieldDescriptionException
- thrown when a field description
fails to describe the right kind of
field (or fails to provide any field)
for the intended operation.Copyright © 2003, 2023, Oracle and/or its affiliates.