public class BigDecimalArgument extends ArgumentContent
Constructor and Description |
---|
BigDecimalArgument(java.lang.String name)
creates a big decimal argument with the given name (note: precision and scale
are not precised)
|
BigDecimalArgument(java.lang.String name,
java.lang.String label)
creates a big decimal argument with the given name (note: precision and scale
are not precised)
|
Modifier and Type | Method and Description |
---|---|
ArgumentContent |
generateCopy(java.lang.String newname)
generates a deep copy of the argument with a new name
|
java.lang.String |
getGenericDataEltName() |
java.util.ArrayList<java.lang.String> |
getImports() |
DataObjectDefinition |
getMasterObject()
This method is used to assess if a security argument is used in a manner
compatible with security rules
|
java.lang.String |
getPreciseDataEltName() |
java.lang.String |
getPreciseDataEltTypeName() |
java.lang.String |
getType() |
java.lang.String |
initblank() |
boolean |
needDefinitionForInit() |
void |
writeImports(SourceGenerator sg,
Module module)
writes to a java class the imports necessary for automatic generation of
actions using this parameter
|
getDisplaylabel, getPreciseDataEltTypeNameWithArgument, isOptional, isSecurityrelevant, setDisplaylabel, setOptional
changeName, cleanName, equals, getName
public BigDecimalArgument(java.lang.String name)
name
- name of the argumentpublic BigDecimalArgument(java.lang.String name, java.lang.String label)
name
- name of the argumentlabel
- label of the argumentpublic java.lang.String getType()
getType
in class ArgumentContent
public ArgumentContent generateCopy(java.lang.String newname)
ArgumentContent
generateCopy
in class ArgumentContent
newname
- new namepublic java.lang.String getGenericDataEltName()
getGenericDataEltName
in class ArgumentContent
public java.lang.String getPreciseDataEltTypeName()
getPreciseDataEltTypeName
in class ArgumentContent
public boolean needDefinitionForInit()
needDefinitionForInit
in class ArgumentContent
public java.lang.String getPreciseDataEltName()
getPreciseDataEltName
in class ArgumentContent
public void writeImports(SourceGenerator sg, Module module) throws java.io.IOException
ArgumentContent
writeImports
in class ArgumentContent
sg
- source generatormodule
- parent modulejava.io.IOException
- if any error is encountered writing to a filepublic java.util.ArrayList<java.lang.String> getImports()
getImports
in class ArgumentContent
public java.lang.String initblank()
initblank
in class ArgumentContent
public DataObjectDefinition getMasterObject()
ArgumentContent
getMasterObject
in class ArgumentContent