public interface ModelTarget
extends oracle.fmwplatform.util.validation.ValidationParticipant
| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
ModelTarget.ModelTargetType  | 
| Modifier and Type | Field and Description | 
|---|---|
static String | 
ALL_NAMES_WILDCARD
Target name wildcard character. 
 | 
static String | 
ID_PREFIX
Prefix to identify an ID value. 
 | 
static String | 
NAME_PREFIX
Prefix to identify a name value. 
 | 
static String | 
VALIDATE_MODEL_PROPERTY
Property key used to identify the environment model in the validation process. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
<T> T | 
getContainerFromModel(EnvironmentModel model)
Return the model object of the target container. 
 | 
String | 
getContainerName()
Return the name (or id) of the target's container. 
 | 
ModelTarget.ModelTargetType | 
getContainerType()
Return the type of the target's container. 
 | 
<T> T | 
getSingleTargetFromModel(EnvironmentModel model)
Return a single model object which should be targeted. 
 | 
String | 
getTargetName()
Return the name (or id) of the target object. 
 | 
<T> List<T> | 
getTargetsFromModel(EnvironmentModel model)
Return a list of model objects which should be targeted. 
 | 
ModelTarget.ModelTargetType | 
getTargetType()
Return the type of the target. 
 | 
boolean | 
isAllNamesWildcard(String name)
Examine the passed name and determine if it is a wildcard representing all names for the type. 
 | 
String | 
toCompactString()
Returns a compact string representation of the object in JSON format. 
 | 
static final String ALL_NAMES_WILDCARD
static final String ID_PREFIX
static final String NAME_PREFIX
static final String VALIDATE_MODEL_PROPERTY
String getTargetName()
String getContainerName()
ModelTarget.ModelTargetType getTargetType()
ModelTarget.ModelTargetType getContainerType()
boolean isAllNamesWildcard(String name)
name - the name to be examined.<T> List<T> getTargetsFromModel(EnvironmentModel model) throws FMWEnvSpecException
T - type derived by compiler from the assignment statement.model - the environment model.FMWEnvSpecException - if an error occurs.<T> T getSingleTargetFromModel(EnvironmentModel model) throws FMWEnvSpecException
T - type derived by compiler from the assignment statement.model - the environment model.FMWEnvSpecException - if an error occurs.<T> T getContainerFromModel(EnvironmentModel model) throws FMWEnvSpecException
T - type derived by compiler from the assignment statement.model - the environment model.FMWEnvSpecException - if an error occurs.String toCompactString()