public class IlrDTPropertyHelper
extends java.lang.Object
implements ilog.rules.dt.model.IlrDTProperties
IlrDTModel and its elements.| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getActionSetComment(IlrDTActionSet as)
Returns the comment of an action set.
|
java.lang.String |
getDefaultParameterName(IlrDTExpressionSentence exprSentence,
int index)
Deprecated.
use getDefaultParameterTitle()
|
static java.lang.String |
getDefaultParameterTitle(IlrDTExpressionDefinition expr,
int index)
Returns the default name generated for a parameter of a definition
expression.
|
static java.lang.String |
getDefinitionSubTitle(IlrDTDefinition definition,
int index)
Returns the title of the index parameter of the given definition.
|
static java.lang.String |
getDefinitionTitle(IlrDTDefinition definition)
Returns the title of a definition of an
IlrDTModel. |
static java.lang.String |
getDefinitionTitle(IlrDTDefinition definition,
boolean useDefault)
Returns the title of a definition of an
IlrDTModel. |
static java.lang.String |
getParameterName(IlrDTExpressionSentence exprSentence,
int index)
Deprecated.
use getDefaultParameterTitle(IlrDTExpressionDefinition expr, int index)
|
static java.lang.String |
getParameterTitle(IlrDTExpressionDefinition expr,
int index)
Returns the title assigned to the index parameter of the given expression definition.
|
static java.lang.String |
getPartitionTitle(IlrDTPartition partition,
boolean useDefault) |
static boolean |
isDefinitionVisible(IlrDTDefinition definition)
Returns
true if the action definition is visible,
false otherwise. |
static void |
setActionSetComment(IlrDTActionSet as,
java.lang.String comment)
Changes the comment of an action set.
|
static void |
setDefinitionTitle(IlrDTDefinition definition,
java.lang.String title)
Changes the title of a definition for a given locale.
|
static void |
setDefinitionVisible(IlrDTDefinition definition,
boolean v)
Changes the status of visibility of an action definition.
|
static void |
setParameterName(IlrDTExpressionSentence exprSentence,
int index,
java.lang.String name)
Deprecated.
use setParameterTitle(IlrDTExpressionDefinition expr, int index, String title)
|
static void |
setParameterTitle(IlrDTExpressionDefinition expr,
int index,
java.lang.String title)
Assign a title to the index parameter of the given Expression Definition.
|
static void |
setPartitionTitle(IlrDTPartition partition,
java.lang.String title)
Changes the title of a partition for a given locale.
|
public static java.lang.String getPartitionTitle(IlrDTPartition partition, boolean useDefault)
public static void setPartitionTitle(IlrDTPartition partition, java.lang.String title)
partition - The partition to be named.title - The new title of the partition.public static java.lang.String getDefinitionTitle(IlrDTDefinition definition)
IlrDTModel. Returns the
title of a column in a table graphic representation.definition - A definition instance.public static java.lang.String getDefinitionTitle(IlrDTDefinition definition, boolean useDefault)
IlrDTModel. Returns the
title of a column in a table graphic representation. If none has been set
and useDefault is true a default title is returneddefinition - A definition instance.useDefault - public static void setDefinitionTitle(IlrDTDefinition definition, java.lang.String title)
definition - The definition to be named.title - The new title of the definition.public static java.lang.String getActionSetComment(IlrDTActionSet as)
as - The action set.public static void setActionSetComment(IlrDTActionSet as, java.lang.String comment)
as - The action set.comment - The new comment.public static java.lang.String getDefaultParameterTitle(IlrDTExpressionDefinition expr, int index)
expr - The expression of the definition.index - The position of the parameter.public java.lang.String getDefaultParameterName(IlrDTExpressionSentence exprSentence, int index)
exprSentence - The expression sentence of the definition.index - The position of the parameter.public static java.lang.String getParameterName(IlrDTExpressionSentence exprSentence, int index)
exprSentence - The expression of the definition.index - The position of the parameter.public static java.lang.String getDefinitionSubTitle(IlrDTDefinition definition, int index)
definition - The definition.index - The position of the parameter for which we want to retrieve a title.public static java.lang.String getParameterTitle(IlrDTExpressionDefinition expr, int index)
expr - The expression of the definition.index - The position of the parameter.public static void setParameterTitle(IlrDTExpressionDefinition expr, int index, java.lang.String title)
expr - The expression definition.index - The position of the parameter.title - The new title assigned to the parameter.public static void setParameterName(IlrDTExpressionSentence exprSentence, int index, java.lang.String name)
exprSentence - The expression sentence of the definition.index - The position of the parameter.name - The new name of the parameter.public static boolean isDefinitionVisible(IlrDTDefinition definition)
true if the action definition is visible,
false otherwise.definition - The action definition.false
otherwise.public static void setDefinitionVisible(IlrDTDefinition definition, boolean v)
definition - The action definition.v - The new status of visibility.© Copyright IBM Corp. 1987, 2017