OperationParameter defines the base of operation parameters. More...
Public Member Functions | |
String | getDescription () |
Returns the description of the element. | |
Class<?extends IAXLangElement > | getElementType () |
Returns the element type. | |
List< String > | getExtensions () |
Returns a list of valid file extensions for this parameter. | |
String | getID () |
Returns the identifier. | |
ParameterTypes | getParameterType () |
Returns the parameter type. | |
List< String > | getSelectionItems () |
Returns a list of free selection items for this parameter. | |
String | getSelectionParent () |
Returns the parent element of the selection. | |
Role | getSelectionRole () |
Returns the selection role. | |
String | getShort () |
Returns the short text for the element. | |
boolean | isMandatory () |
Returns if the parameter is mandatory. | |
OperationParameter (ParameterTypes newParameterType, String newID, String newShort) | |
Constructor, initializes the operation parameter. | |
OperationParameter (ParameterTypes newParameterType, String newID, String newShort, String newDescription, boolean isMandatory) | |
Constructor, initializes the operation parameter. | |
OperationParameter (ParameterTypes newParameterType, String newID) | |
Constructor, initializes the operation parameter. | |
OperationParameter (ParameterTypes newParameterType, String newID, String newShort, String newDescription) | |
Constructor, initializes the operation parameter. | |
void | setElementType (Class<?extends IAXLangElement > newElementType) |
Sets the element type. | |
void | setExtensions (String...newExtensions) |
Sets the valid file extensions for this parameter. | |
void | setSelectionItems (String...newSelectionItems) |
Sets the free selection items for this parameter. | |
void | setSelectionParent (String newParent) |
Sets the parent element of the selection. | |
void | setSelectionRole (Role newRole) |
Sets the selection role. | |
Private Member Functions | |
void | init (ParameterTypes newParameterType, String newID, String newShort, String newDescription, boolean isMandatory) |
Initializes the operation parameter. | |
Private Attributes | |
boolean | bMandatory = false |
mandatory parameter? | |
List< String > | lstExtensions = null |
file extensions (sorted, therefore a list) | |
List< String > | lstSelectionItems = null |
free selection items (sorted, therefore a list) | |
String | sDescription = null |
short description of the parameter | |
String | sID = null |
identifier of the parameter | |
String | sSelectionParent = null |
parent element of selections | |
String | sShort = null |
short text for the parameter | |
Class<?extends IAXLangElement > | theElementType = null |
element type | |
ParameterTypes | theParameterType |
type of the parameter | |
Role | theSelectionRole = null |
role of the selection |
OperationParameter defines the base of operation parameters.
de.fraunhofer.isst.axbench.api.operations.OperationParameter.OperationParameter | ( | ParameterTypes | newParameterType, | |
String | newID | |||
) |
Constructor, initializes the operation parameter.
newParameterType | type of the operation parameter | |
newID | identifier |
de.fraunhofer.isst.axbench.api.operations.OperationParameter.OperationParameter | ( | ParameterTypes | newParameterType, | |
String | newID, | |||
String | newShort | |||
) |
Constructor, initializes the operation parameter.
newParameterType | type of the operation parameter | |
newID | identifier | |
newShort | short text |
de.fraunhofer.isst.axbench.api.operations.OperationParameter.OperationParameter | ( | ParameterTypes | newParameterType, | |
String | newID, | |||
String | newShort, | |||
String | newDescription | |||
) |
Constructor, initializes the operation parameter.
newParameterType | type of the operation parameter | |
newID | identifier | |
newShort | short text | |
newDescription | short description |
de.fraunhofer.isst.axbench.api.operations.OperationParameter.OperationParameter | ( | ParameterTypes | newParameterType, | |
String | newID, | |||
String | newShort, | |||
String | newDescription, | |||
boolean | isMandatory | |||
) |
Constructor, initializes the operation parameter.
newParameterType | type of the operation parameter | |
newID | identifier | |
newShort | short text | |
newDescription | short description | |
isMandatory | mandatory? |
String de.fraunhofer.isst.axbench.api.operations.OperationParameter.getDescription | ( | ) |
Returns the description of the element.
null | if no description is defined |
Class<? extends IAXLangElement> de.fraunhofer.isst.axbench.api.operations.OperationParameter.getElementType | ( | ) |
Returns the element type.
{@link | IAXLangElement} if none was set |
List<String> de.fraunhofer.isst.axbench.api.operations.OperationParameter.getExtensions | ( | ) |
Returns a list of valid file extensions for this parameter.
The first extension is used as default extension.
empty | list if none defined |
String de.fraunhofer.isst.axbench.api.operations.OperationParameter.getID | ( | ) |
Returns the identifier.
ParameterTypes de.fraunhofer.isst.axbench.api.operations.OperationParameter.getParameterType | ( | ) |
Returns the parameter type.
List<String> de.fraunhofer.isst.axbench.api.operations.OperationParameter.getSelectionItems | ( | ) |
Returns a list of free selection items for this parameter.
empty | list if none defined |
String de.fraunhofer.isst.axbench.api.operations.OperationParameter.getSelectionParent | ( | ) |
Returns the parent element of the selection.
Role de.fraunhofer.isst.axbench.api.operations.OperationParameter.getSelectionRole | ( | ) |
Returns the selection role.
String de.fraunhofer.isst.axbench.api.operations.OperationParameter.getShort | ( | ) |
Returns the short text for the element.
null | if no short text is defined |
void de.fraunhofer.isst.axbench.api.operations.OperationParameter.init | ( | ParameterTypes | newParameterType, | |
String | newID, | |||
String | newShort, | |||
String | newDescription, | |||
boolean | isMandatory | |||
) | [private] |
Initializes the operation parameter.
newParameterType | type of the operation parameter | |
newID | identifier | |
newShort | short text | |
newDescription | short description | |
isMandatory | mandatory? |
boolean de.fraunhofer.isst.axbench.api.operations.OperationParameter.isMandatory | ( | ) |
Returns if the parameter is mandatory.
true | mandatory | |
false | optional |
void de.fraunhofer.isst.axbench.api.operations.OperationParameter.setElementType | ( | Class<?extends IAXLangElement > | newElementType | ) |
Sets the element type.
newElementType | element type |
void de.fraunhofer.isst.axbench.api.operations.OperationParameter.setExtensions | ( | String... | newExtensions | ) |
Sets the valid file extensions for this parameter.
newExtensions | list of valid file extensions |
void de.fraunhofer.isst.axbench.api.operations.OperationParameter.setSelectionItems | ( | String... | newSelectionItems | ) |
Sets the free selection items for this parameter.
newSelectionItems | list of free selection items |
void de.fraunhofer.isst.axbench.api.operations.OperationParameter.setSelectionParent | ( | String | newParent | ) |
Sets the parent element of the selection.
newParent | parent element of selection |
void de.fraunhofer.isst.axbench.api.operations.OperationParameter.setSelectionRole | ( | Role | newRole | ) |
Sets the selection role.
newRole | role of the selection |
boolean de.fraunhofer.isst.axbench.api.operations.OperationParameter.bMandatory = false [private] |
mandatory parameter?
List<String> de.fraunhofer.isst.axbench.api.operations.OperationParameter.lstExtensions = null [private] |
file extensions (sorted, therefore a list)
List<String> de.fraunhofer.isst.axbench.api.operations.OperationParameter.lstSelectionItems = null [private] |
free selection items (sorted, therefore a list)
String de.fraunhofer.isst.axbench.api.operations.OperationParameter.sDescription = null [private] |
short description of the parameter
String de.fraunhofer.isst.axbench.api.operations.OperationParameter.sID = null [private] |
identifier of the parameter
String de.fraunhofer.isst.axbench.api.operations.OperationParameter.sSelectionParent = null [private] |
parent element of selections
String de.fraunhofer.isst.axbench.api.operations.OperationParameter.sShort = null [private] |
short text for the parameter
Class<? extends IAXLangElement> de.fraunhofer.isst.axbench.api.operations.OperationParameter.theElementType = null [private] |
element type
ParameterTypes de.fraunhofer.isst.axbench.api.operations.OperationParameter.theParameterType [private] |
type of the parameter
Role de.fraunhofer.isst.axbench.api.operations.OperationParameter.theSelectionRole = null [private] |
role of the selection