Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractDatatype - Class in org.faktorips.datatype
-
Abstract super class for Datatype implementations.
- AbstractDatatype() - Constructor for class org.faktorips.datatype.AbstractDatatype
- AbstractDatatypeHelper - Class in org.faktorips.codegen.dthelpers
-
Abstract base class for datatype helpers.
- AbstractDatatypeHelper() - Constructor for class org.faktorips.codegen.dthelpers.AbstractDatatypeHelper
-
Constructs a new helper without initializing the datatype.
- AbstractDatatypeHelper(Datatype) - Constructor for class org.faktorips.codegen.dthelpers.AbstractDatatypeHelper
-
Constructs a new helper for the given datatype.
- AbstractPrimitiveDatatype - Class in org.faktorips.datatype
-
Abstract base class for datatypes representing a Java primtive like boolean.
- AbstractPrimitiveDatatype() - Constructor for class org.faktorips.datatype.AbstractPrimitiveDatatype
- AbstractPrimitiveDatatypeHelper - Class in org.faktorips.codegen.dthelpers
-
Abstract base class for all primitive datatypes.
- AbstractPrimitiveDatatypeHelper() - Constructor for class org.faktorips.codegen.dthelpers.AbstractPrimitiveDatatypeHelper
- AbstractPrimitiveDatatypeHelper(Datatype) - Constructor for class org.faktorips.codegen.dthelpers.AbstractPrimitiveDatatypeHelper
- AbstractSingleConversionCg - Class in org.faktorips.codegen.conversion
-
A ConversionGenerator that ...
- AbstractSingleConversionCg(Datatype, Datatype) - Constructor for class org.faktorips.codegen.conversion.AbstractSingleConversionCg
-
Creates a new ConversionGenerator that converts from Datatype from to Datatype to.
- AbstractTimeHelper - Class in org.faktorips.codegen.dthelpers
-
Abstract base class for helpers for time data types.
- AbstractTimeHelper() - Constructor for class org.faktorips.codegen.dthelpers.AbstractTimeHelper
- AbstractTimeHelper(Datatype) - Constructor for class org.faktorips.codegen.dthelpers.AbstractTimeHelper
- add(Class<?>) - Method in class org.faktorips.codegen.ImportDeclaration
-
Adds the class to the import list.
- add(String) - Method in class org.faktorips.codegen.ImportDeclaration
-
Adds the import specification to the list of imports.
- add(String[]) - Method in class org.faktorips.codegen.ImportDeclaration
-
Adds the import specifications to the list of imports.
- add(ImportDeclaration) - Method in class org.faktorips.codegen.ImportDeclaration
-
Adds all imports in the given import declaration to this declaration.
- add(SingleConversionCg<T>) - Method in class org.faktorips.codegen.ConversionCodeGenerator
- addImport(Class<?>) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Adds an import entry to the code fragment under construction.
- addImport(String) - Method in class org.faktorips.codegen.JavaCodeFragment
-
Adds an import entry to this code fragment.
- addImport(String) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Adds an import entry to the code fragment under construction.
- annotation(Class<?>, JavaCodeFragment) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Writes the annotation with the indicated parameters and a line separator. '@' character and a line feed will be automatically added.
- annotation(String[]) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Writes the annotations.
- annotation(String, String, String) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Writes the annotation with the indicated parameter of type String. '@' character will be automatically added.
- annotation(String, JavaCodeFragment) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Writes the annotation with the indicated parameters. '@' character and a line feed will be automatically added.
- annotationClassValueLn(String, String, String) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Writes the annotation for a class value. '@' character and a line feed will be automatically added.
- annotationLn(Class<?>...) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Writes each annotation with a line separator.
- annotationLn(Class<?>, String) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Writes the annotation with the indicated parameters and a line separator. '@' character and a line feed will be automatically added.
- annotationLn(Class<?>, String, String) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Writes the annotation with the indicated parameter of type String and adds a line separator. '@' character and a line feed will be automatically added.
- annotationLn(Class<?>, JavaCodeFragment) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Writes the annotation with the indicated parameters and a line separator. '@' character and a line feed will be automatically added.
- annotationLn(String) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Writes the annotation.
- annotationLn(String, String) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
- annotationLn(String, String, String) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Writes the annotation with the indicated parameter of type String. '@' character and a line feed will be automatically added.
- annotationLn(String, JavaCodeFragment) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Writes the annotation with the indicated parameters. '@' character and a line feed will be automatically added.
- AnyDatatype - Class in org.faktorips.datatype
-
A datatype that is used to represent any type of data, similiar to
java.lang.Object. - append(boolean) - Method in class org.faktorips.codegen.JavaCodeFragment
-
Transform the given boolean into a String and appends it to the source code.
- append(char) - Method in class org.faktorips.codegen.CodeFragment
-
Appends the given char to the source code.
- append(char) - Method in class org.faktorips.codegen.JavaCodeFragment
- append(char) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Appends the given char to the fragment's source code.
- append(int) - Method in class org.faktorips.codegen.JavaCodeFragment
-
Transform the given int into a String and appends it to the source code.
- append(int) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Appends the given int to the fragment's source code.
- append(String) - Method in class org.faktorips.codegen.CodeFragment
-
Appends the given String to the source code.
- append(String) - Method in class org.faktorips.codegen.JavaCodeFragment
- append(String) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Appends the given String to the fragment's source code.
- append(CodeFragment) - Method in class org.faktorips.codegen.CodeFragment
-
Appends the given fragment to his fragment and indents it properly.
- append(CodeFragment) - Method in class org.faktorips.codegen.JavaCodeFragment
-
Appends the given fragment to his fragment and indents it properly.
- append(JavaCodeFragment) - Method in class org.faktorips.codegen.JavaCodeFragment
-
Appends the given fragment to his fragment and indents it properly.
- append(JavaCodeFragment) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Appends the given fragment to the fragment under construction and indents it properly.
- appendClassName(Class<?>) - Method in class org.faktorips.codegen.JavaCodeFragment
-
Appends the unqualified class name to the source code and updates the import declaration (if necessary).
- appendClassName(Class<?>) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Appends the class' unqualified name to the source code and updates the import declaration (if necessary).
- appendClassName(String) - Method in class org.faktorips.codegen.JavaCodeFragment
-
Appends the unqualified class name to the source code and updates the import declaration (if necessary).
- appendClassName(String) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Appends the unqualified class name to the source code and updates the import declaration (if necessary).
- appendCloseBracket() - Method in class org.faktorips.codegen.JavaCodeFragment
-
Appends '}' to the source code and decreases the indentation level.
- appendGenerics(Class<?>...) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Appends the generic parameters to the builder: <class1, class2, ...>.
- appendGenerics(String...) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Appends the generic parameters to the builder: <className1, className2, ...>.
- appendInnerClassName(Class<?>) - Method in class org.faktorips.codegen.JavaCodeFragment
-
Appends the unqualified class name of an public inner class to the source code and updates the import declaration (if necessary).
- appendInnerClassName(String) - Method in class org.faktorips.codegen.JavaCodeFragment
-
Appends the unqualified class name of an public inner class to the source code and updates the import declaration (if necessary).
- appendJavaModifier(int) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Append the Java modifier translated to a String, e.g. for java.lang.reflect.Modifier.PUBLIC "public" is appended.
- appendJoin(List<JavaCodeFragment>, String) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
- appendJoined(Iterable<?>) - Method in class org.faktorips.codegen.CodeFragment
-
Appends the given
Iterable's content converted to String and separated by ", " to the source code. - appendJoined(Iterable<?>) - Method in class org.faktorips.codegen.JavaCodeFragment
- appendJoined(Object[]) - Method in class org.faktorips.codegen.CodeFragment
-
Appends the given array's content converted to String and separated by ", " to the source code.
- appendJoined(Object[]) - Method in class org.faktorips.codegen.JavaCodeFragment
- appendJoined(JavaCodeFragment[]) - Method in class org.faktorips.codegen.JavaCodeFragment
- appendln() - Method in class org.faktorips.codegen.CodeFragment
-
Appends a line separator to the source code.
- appendln() - Method in class org.faktorips.codegen.JavaCodeFragment
- appendln() - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Appends a line separator to fragment's source code.
- appendln(char) - Method in class org.faktorips.codegen.CodeFragment
-
Appends the given char to the source code.
- appendln(char) - Method in class org.faktorips.codegen.JavaCodeFragment
- appendln(char) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Appends the given char to the fragment's source code.
- appendln(String) - Method in class org.faktorips.codegen.CodeFragment
-
Appends the given String and a line separator to the source code.
- appendln(String) - Method in class org.faktorips.codegen.JavaCodeFragment
- appendln(String) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Appends the given String and a line separator to the fragment's source code.
- appendlnUnindented(String) - Method in class org.faktorips.codegen.CodeFragment
-
Appends the given String as is to the source code without indenting it.
- appendlnUnindented(String) - Method in class org.faktorips.codegen.JavaCodeFragment
- appendOpenBracket() - Method in class org.faktorips.codegen.JavaCodeFragment
-
Appends '{' to the source code and increases the indentation level.
- appendParameters(String[]) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
- appendParameters(JavaCodeFragment[]) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
- appendQuoted(String) - Method in class org.faktorips.codegen.CodeFragment
-
Encloses the given String with double quotes (") and appends it to the source code.
- appendQuoted(String) - Method in class org.faktorips.codegen.JavaCodeFragment
- appendQuoted(String) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Encloses the given String with double quotes (") and appends it to fragment.
- appendToStringParameter(JavaCodeFragment) - Method in class org.faktorips.codegen.dthelpers.joda.BaseJodaDatatypeHelper
-
Allows subclasses to add parameters to the toString() method.
- appendToStringParameter(JavaCodeFragment) - Method in class org.faktorips.codegen.dthelpers.joda.LocalDateTimeHelper
- appendToStringParameter(JavaCodeFragment) - Method in class org.faktorips.codegen.dthelpers.joda.LocalTimeHelper
- areValuesEqual(String, String) - Method in class org.faktorips.datatype.AbstractPrimitiveDatatype
- areValuesEqual(String, String) - Method in class org.faktorips.datatype.ArrayOfValueDatatype
- areValuesEqual(String, String) - Method in class org.faktorips.datatype.GenericValueDatatype
- areValuesEqual(String, String) - Method in class org.faktorips.datatype.InternationalStringDatatype
- areValuesEqual(String, String) - Method in class org.faktorips.datatype.ListOfTypeDatatype
- areValuesEqual(String, String) - Method in class org.faktorips.datatype.ValueClassNameDatatype
- areValuesEqual(String, String) - Method in interface org.faktorips.datatype.ValueDatatype
-
Returns
trueif both given strings represent the same value defined by this datatype. - areValuesEqual(String, String) - Method in class org.faktorips.datatype.Void
- ArrayOfValueDatatype - Class in org.faktorips.datatype
-
Datatype representing an array of primitive Datatypes with a dimension.
- ArrayOfValueDatatype(Datatype, int) - Constructor for class org.faktorips.datatype.ArrayOfValueDatatype
-
Constructs a new array datatype based on the given underlying datatype and the dimension.
- ArrayOfValueDatatypeHelper - Class in org.faktorips.codegen.dthelpers
-
A helper class for
ArrayOfValueDatatype. - ArrayOfValueDatatypeHelper(ArrayOfValueDatatype, DatatypeHelper) - Constructor for class org.faktorips.codegen.dthelpers.ArrayOfValueDatatypeHelper
- assignment(String, String) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Creates a new variable declaration.
- assignment(String, JavaCodeFragment) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Appends a new assignment.
B
- BaseDatatypeHelper<T extends CodeFragment> - Interface in org.faktorips.codegen
-
Interface that defines functionality needed to generate source code for data types.
- BaseJodaDatatypeHelper - Class in org.faktorips.codegen.dthelpers.joda
-
Base class for Joda-Time
DatatypeHelperimplementations - BaseJodaDatatypeHelper(String, String) - Constructor for class org.faktorips.codegen.dthelpers.joda.BaseJodaDatatypeHelper
- BaseJodaDatatypeHelper(Datatype, String, String) - Constructor for class org.faktorips.codegen.dthelpers.joda.BaseJodaDatatypeHelper
- BIG_DECIMAL - Static variable in interface org.faktorips.codegen.DatatypeHelper
-
Helper for
Datatype.BIG_DECIMAL. - BIG_DECIMAL - Static variable in interface org.faktorips.datatype.Datatype
-
Datatype representing
BigDecimal. - BigDecimalDatatype - Class in org.faktorips.datatype.classtypes
-
Data type for
BigDecimal. - BigDecimalDatatype() - Constructor for class org.faktorips.datatype.classtypes.BigDecimalDatatype
- BigDecimalHelper - Class in org.faktorips.codegen.dthelpers
- BigDecimalHelper() - Constructor for class org.faktorips.codegen.dthelpers.BigDecimalHelper
- BigDecimalHelper(BigDecimalDatatype) - Constructor for class org.faktorips.codegen.dthelpers.BigDecimalHelper
- BigDecimalToDecimalCg - Class in org.faktorips.codegen.conversion
- BigDecimalToDecimalCg() - Constructor for class org.faktorips.codegen.conversion.BigDecimalToDecimalCg
- bol() - Method in class org.faktorips.codegen.CodeFragment
-
Returns true if the last character in the source code is a line separator and so any text appended to the source code goes to a new line (bol = begin of line).
- BOOLEAN - Static variable in interface org.faktorips.codegen.DatatypeHelper
-
Helper for
Datatype.BOOLEAN. - BOOLEAN - Static variable in interface org.faktorips.datatype.Datatype
-
Datatype representing
Boolean. - BooleanDatatype - Class in org.faktorips.datatype.classtypes
-
Datatype for
Boolean. - BooleanDatatype() - Constructor for class org.faktorips.datatype.classtypes.BooleanDatatype
- BooleanDatatype(String) - Constructor for class org.faktorips.datatype.classtypes.BooleanDatatype
- BooleanHelper - Class in org.faktorips.codegen.dthelpers
- BooleanHelper() - Constructor for class org.faktorips.codegen.dthelpers.BooleanHelper
-
Constructs a new helper.
- BooleanHelper(BooleanDatatype) - Constructor for class org.faktorips.codegen.dthelpers.BooleanHelper
-
Constructs a new helper for the given boolean datatype.
- BooleanToPrimitiveBooleanCg - Class in org.faktorips.codegen.conversion
- BooleanToPrimitiveBooleanCg() - Constructor for class org.faktorips.codegen.conversion.BooleanToPrimitiveBooleanCg
C
- canConvert(Datatype, Datatype) - Method in class org.faktorips.codegen.ConversionCodeGenerator
- canConvert(Datatype, Datatype) - Method in class org.faktorips.codegen.DatatypeConverter
- canConvert(Datatype, Datatype) - Method in interface org.faktorips.datatype.ConversionMatrix
-
Returns true if a value of datatype from can be converted into one of datatype to.
- checkReadyToUse() - Method in class org.faktorips.datatype.AbstractDatatype
- checkReadyToUse() - Method in class org.faktorips.datatype.GenericEnumDatatype
- checkReadyToUse() - Method in class org.faktorips.datatype.GenericValueDatatype
- checkReadyToUse() - Method in interface org.faktorips.datatype.ValueDatatype
-
Validates the value datatype and returns a message list containing error messages if the datatype is invalid.
- classBegin(int, String) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Appends the source code for the beginning of a new class at the end of the fragment under construction.
- classBegin(int, String, Class<?>, Class<?>[]) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Appends the source code for the beginning of a new class at the end of the fragment under construction.
- classBegin(int, String, String, String[]) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Appends the source code for the beginning of a new class at the end of the fragment under construction.
- classEnd() - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Writes the code at the end of a class.
- ClassNameUtil - Class in org.faktorips.codegen
- clearCache() - Method in class org.faktorips.datatype.GenericEnumDatatype
- clearCache() - Method in class org.faktorips.datatype.GenericValueDatatype
- closeBracket() - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Adds a closing bracket and decreases the indentation level by one afterwards.
- CodeFragment - Class in org.faktorips.codegen
-
Represents a language independent source code fragment.
- CodeFragment() - Constructor for class org.faktorips.codegen.CodeFragment
-
Creates a new empty JavaCodeFragment.
- CodeFragment(boolean) - Constructor for class org.faktorips.codegen.CodeFragment
- CodeFragment(String) - Constructor for class org.faktorips.codegen.CodeFragment
-
Creates a new CodeFragment with the indicated source code.
- CodeFragment(CodeFragment) - Constructor for class org.faktorips.codegen.CodeFragment
-
Copy constructor.
- CodeGenUtil - Class in org.faktorips.codegen
-
A collection of utility methods related to sourcecode generation.
- compare(String, String) - Method in class org.faktorips.datatype.AbstractPrimitiveDatatype
- compare(String, String) - Method in class org.faktorips.datatype.ArrayOfValueDatatype
- compare(String, String) - Method in class org.faktorips.datatype.GenericValueDatatype
- compare(String, String) - Method in class org.faktorips.datatype.InternationalStringDatatype
- compare(String, String) - Method in class org.faktorips.datatype.ListOfTypeDatatype
- compare(String, String) - Method in class org.faktorips.datatype.ValueClassNameDatatype
- compare(String, String) - Method in interface org.faktorips.datatype.ValueDatatype
-
Compares the values created from the two given strings.
- compare(String, String) - Method in class org.faktorips.datatype.Void
- compare(Datatype, Datatype) - Method in class org.faktorips.datatype.util.DatatypeComparator
- compareTo(Datatype) - Method in class org.faktorips.datatype.AbstractDatatype
-
Compares the two type's alphabetically by their name.
- compareTo(Datatype) - Method in class org.faktorips.datatype.AnyDatatype
- compareTo(Datatype) - Method in class org.faktorips.datatype.GenericValueDatatype
- constructorCall(String, String[], boolean) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
append a constructor call: new <name>(parameters[0], parameters[1], ...)
- constructorCall(String, List<String>, boolean) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
- ConversionCodeGenerator<T extends CodeFragment> - Class in org.faktorips.codegen
-
The ConversionCodeGenerator extends the ConversionMatrix with the ability to generate the Java source code needed to convert the value of a given data type to another (if the conversion is possible).
- ConversionCodeGenerator() - Constructor for class org.faktorips.codegen.ConversionCodeGenerator
- ConversionMatrix - Interface in org.faktorips.datatype
-
A
ConversionMatricholds the information if the value of a datatype can be converted into the value of another datatype. - convertPrimitiveToWrapper(Datatype, JavaCodeFragment) - Static method in class org.faktorips.codegen.CodeGenUtil
- createCastExpression(String) - Method in interface org.faktorips.codegen.DatatypeHelper
-
Returns a
JavaCodeFragmentwith anew value instance, adding a cast to the value's data type in case the value is empty to avoid problems with generics. - createCastExpression(String) - Method in class org.faktorips.codegen.dthelpers.AbstractDatatypeHelper
- createCastExpression(String) - Method in class org.faktorips.codegen.dthelpers.ListOfValueDatatypeHelper
- CurrencyDatatype - Class in org.faktorips.datatype.classtypes
- CurrencyDatatype() - Constructor for class org.faktorips.datatype.classtypes.CurrencyDatatype
- CurrencyHelper - Class in org.faktorips.codegen.dthelpers
- CurrencyHelper() - Constructor for class org.faktorips.codegen.dthelpers.CurrencyHelper
D
- Datatype - Interface in org.faktorips.datatype
-
The type of data similar to a Java class.
- DATATYPE - Static variable in class org.faktorips.datatype.classtypes.CurrencyDatatype
- DATATYPE - Static variable in class org.faktorips.datatype.joda.LocalDateDatatype
- DATATYPE - Static variable in class org.faktorips.datatype.joda.LocalDateTimeDatatype
- DATATYPE - Static variable in class org.faktorips.datatype.joda.LocalTimeDatatype
- DATATYPE - Static variable in class org.faktorips.datatype.joda.MonthDayDatatype
- DatatypeComparator - Class in org.faktorips.datatype.util
- DatatypeComparator() - Constructor for class org.faktorips.datatype.util.DatatypeComparator
- DatatypeConverter - Class in org.faktorips.codegen
- DatatypeConverter() - Constructor for class org.faktorips.codegen.DatatypeConverter
- DatatypeHelper - Interface in org.faktorips.codegen
-
Interface that defines functionality needed to generate Java sourcecode for datatypes.
- DatatypeHelperRegistry - Interface in org.faktorips.codegen
-
A registry for DatatypeHelper.
- DateDatatype - Class in org.faktorips.datatype.classtypes
-
A Datatype for the
java.util.Dateclass. - DateDatatype() - Constructor for class org.faktorips.datatype.classtypes.DateDatatype
-
Creates a new DateDatatype where the name is the short class name.
- DateHelper - Class in org.faktorips.codegen.dthelpers
- DateHelper() - Constructor for class org.faktorips.codegen.dthelpers.DateHelper
-
Constructs a new helper.
- DateHelper(DateDatatype) - Constructor for class org.faktorips.codegen.dthelpers.DateHelper
- DAYS - Enum constant in enum class org.faktorips.codegen.dthelpers.ILocalDateHelper.Period
- DECIMAL - Static variable in interface org.faktorips.codegen.DatatypeHelper
-
Helper for
Datatype.DECIMAL. - DECIMAL - Static variable in interface org.faktorips.datatype.Datatype
-
Datatype representing
Decimal. - DecimalDatatype - Class in org.faktorips.datatype.classtypes
-
Datatype for
Decimal. - DecimalDatatype() - Constructor for class org.faktorips.datatype.classtypes.DecimalDatatype
- DecimalHelper - Class in org.faktorips.codegen.dthelpers
- DecimalHelper() - Constructor for class org.faktorips.codegen.dthelpers.DecimalHelper
-
Constructs a new helper.
- DecimalHelper(DecimalDatatype) - Constructor for class org.faktorips.codegen.dthelpers.DecimalHelper
-
Constructs a new helper for the given decimal datatype.
- DecimalToBigDecimalCg - Class in org.faktorips.codegen.conversion
- DecimalToBigDecimalCg() - Constructor for class org.faktorips.codegen.conversion.DecimalToBigDecimalCg
- DecimalToDoubleCg - Class in org.faktorips.codegen.conversion
- DecimalToDoubleCg() - Constructor for class org.faktorips.codegen.conversion.DecimalToDoubleCg
- decIndentationLevel() - Method in class org.faktorips.codegen.CodeFragment
-
Decreases the indentation level used for appending sourcecode.
- DefaultDatatypeHelperRegistry - Class in org.faktorips.codegen
-
A default DatatypeHelperRegistry.
- DefaultDatatypeHelperRegistry() - Constructor for class org.faktorips.codegen.DefaultDatatypeHelperRegistry
- DefaultGenericEnumDatatype - Class in org.faktorips.datatype
- DefaultGenericEnumDatatype(Class<?>) - Constructor for class org.faktorips.datatype.DefaultGenericEnumDatatype
- DefaultGenericValueDatatype - Class in org.faktorips.datatype
-
A generic value datatype that makes an existing Java class (already loaded by the classloader) available as datatype.
- DefaultGenericValueDatatype() - Constructor for class org.faktorips.datatype.DefaultGenericValueDatatype
- DefaultGenericValueDatatype(Class<?>) - Constructor for class org.faktorips.datatype.DefaultGenericValueDatatype
- divisibleWithoutRemainder(String, String) - Method in class org.faktorips.datatype.classtypes.BigDecimalDatatype
- divisibleWithoutRemainder(String, String) - Method in class org.faktorips.datatype.classtypes.DecimalDatatype
- divisibleWithoutRemainder(String, String) - Method in class org.faktorips.datatype.classtypes.DoubleDatatype
- divisibleWithoutRemainder(String, String) - Method in class org.faktorips.datatype.classtypes.IntegerDatatype
- divisibleWithoutRemainder(String, String) - Method in class org.faktorips.datatype.classtypes.LongDatatype
- divisibleWithoutRemainder(String, String) - Method in class org.faktorips.datatype.classtypes.MoneyDatatype
- divisibleWithoutRemainder(String, String) - Method in interface org.faktorips.datatype.NumericDatatype
-
Decides whether the given dividend can be divided by the divisor without remainder or not.
- divisibleWithoutRemainder(String, String) - Method in class org.faktorips.datatype.PrimitiveIntegerDatatype
- divisibleWithoutRemainder(String, String) - Method in class org.faktorips.datatype.PrimitiveLongDatatype
- doCompare(Datatype, Datatype) - Static method in class org.faktorips.datatype.util.DatatypeComparator
- DOUBLE - Static variable in interface org.faktorips.datatype.Datatype
-
Datatype representing
Double. - DoubleDatatype - Class in org.faktorips.datatype.classtypes
- DoubleDatatype() - Constructor for class org.faktorips.datatype.classtypes.DoubleDatatype
- DoubleHelper - Class in org.faktorips.codegen.dthelpers
- DoubleHelper() - Constructor for class org.faktorips.codegen.dthelpers.DoubleHelper
-
Constructs a new helper.
- DoubleHelper(DoubleDatatype) - Constructor for class org.faktorips.codegen.dthelpers.DoubleHelper
- DoubleToDecimalCg - Class in org.faktorips.codegen.conversion
- DoubleToDecimalCg() - Constructor for class org.faktorips.codegen.conversion.DoubleToDecimalCg
E
- enumBegin(int, String, String, String[]) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Appends the source code for the beginning of a new enum at the end of the fragment under construction.
- EnumDatatype - Interface in org.faktorips.datatype
-
A value datatype representing an enumeration of values.
- equals(Object) - Method in class org.faktorips.codegen.CodeFragment
-
Two fragments are equal if they contain the same sourcecode and have the same import declaration.
- equals(Object) - Method in class org.faktorips.codegen.ImportDeclaration
- equals(Object) - Method in class org.faktorips.codegen.JavaCodeFragment
-
Two fragments are equal if they contain the same source code and have the same import declaration.
- equals(Object) - Method in class org.faktorips.datatype.AbstractDatatype
- equals(Object) - Method in class org.faktorips.datatype.GenericValueDatatype
G
- GenericEnumDatatype - Class in org.faktorips.datatype
-
Generic enum datatype.
- GenericEnumDatatype() - Constructor for class org.faktorips.datatype.GenericEnumDatatype
- GenericValueDatatype - Class in org.faktorips.datatype
-
The generic value datatype is used to make a Java class (representing a value) available as value datatype.
- GenericValueDatatype() - Constructor for class org.faktorips.datatype.GenericValueDatatype
- GenericValueDatatypeHelper - Class in org.faktorips.codegen.dthelpers
- GenericValueDatatypeHelper(GenericValueDatatype) - Constructor for class org.faktorips.codegen.dthelpers.GenericValueDatatypeHelper
- getAdaptedClass() - Method in class org.faktorips.datatype.DefaultGenericEnumDatatype
- getAdaptedClass() - Method in class org.faktorips.datatype.DefaultGenericValueDatatype
-
Overridden.
- getAdaptedClass() - Method in class org.faktorips.datatype.GenericValueDatatype
-
Returns the class represented by this datatype.
- getAdaptedClassName() - Method in class org.faktorips.datatype.DefaultGenericEnumDatatype
- getAdaptedClassName() - Method in class org.faktorips.datatype.DefaultGenericValueDatatype
-
Overridden.
- getAdaptedClassName() - Method in class org.faktorips.datatype.GenericValueDatatype
-
Returns the name of the class represented by this datatype.
- getAllValueIds(boolean) - Method in interface org.faktorips.datatype.EnumDatatype
-
Returns the IDs of all values defined in the enum type.
- getAllValueIds(boolean) - Method in class org.faktorips.datatype.GenericEnumDatatype
- getAllValuesMethod() - Method in class org.faktorips.datatype.GenericValueDatatype
- getAllValuesMethodName() - Method in class org.faktorips.datatype.GenericValueDatatype
- getBasicDatatype() - Method in class org.faktorips.codegen.dthelpers.ListOfValueDatatypeHelper
-
Returns the
ValueDatatypeof the elements in the list. - getBasicDatatype() - Method in class org.faktorips.datatype.ArrayOfValueDatatype
-
Returns the array datatype's basic datatype.
- getBasicDatatype() - Method in class org.faktorips.datatype.ListOfTypeDatatype
-
Returns the List type's basic type.
- getBasicDatatypeName(String) - Static method in class org.faktorips.datatype.ArrayOfValueDatatype
-
Returns the basic datatype name specified in the given datatypeName.
- getBasicJavaClassName() - Method in class org.faktorips.codegen.dthelpers.ListOfValueDatatypeHelper
- getConversionCode(JavaCodeFragment) - Method in class org.faktorips.codegen.conversion.BigDecimalToDecimalCg
- getConversionCode(JavaCodeFragment) - Method in class org.faktorips.codegen.conversion.BooleanToPrimitiveBooleanCg
- getConversionCode(JavaCodeFragment) - Method in class org.faktorips.codegen.conversion.DecimalToBigDecimalCg
- getConversionCode(JavaCodeFragment) - Method in class org.faktorips.codegen.conversion.DecimalToDoubleCg
- getConversionCode(JavaCodeFragment) - Method in class org.faktorips.codegen.conversion.DoubleToDecimalCg
- getConversionCode(JavaCodeFragment) - Method in class org.faktorips.codegen.conversion.IntegerToBigDecimalCg
- getConversionCode(JavaCodeFragment) - Method in class org.faktorips.codegen.conversion.IntegerToDecimalCg
- getConversionCode(JavaCodeFragment) - Method in class org.faktorips.codegen.conversion.IntegerToLongCg
- getConversionCode(JavaCodeFragment) - Method in class org.faktorips.codegen.conversion.IntegerToPrimitiveIntCg
- getConversionCode(JavaCodeFragment) - Method in class org.faktorips.codegen.conversion.java8.LocalDateTimeToGregorianCalendarCg
- getConversionCode(JavaCodeFragment) - Method in class org.faktorips.codegen.conversion.java8.LocalDateToGregorianCalendarCg
- getConversionCode(JavaCodeFragment) - Method in class org.faktorips.codegen.conversion.joda.LocalDateTimeToGregorianCalendarCg
- getConversionCode(JavaCodeFragment) - Method in class org.faktorips.codegen.conversion.joda.LocalDateToGregorianCalendarCg
- getConversionCode(JavaCodeFragment) - Method in class org.faktorips.codegen.conversion.LongToBigDecimalCg
- getConversionCode(JavaCodeFragment) - Method in class org.faktorips.codegen.conversion.LongToDecimalCg
- getConversionCode(JavaCodeFragment) - Method in class org.faktorips.codegen.conversion.LongToIntegerCg
- getConversionCode(JavaCodeFragment) - Method in class org.faktorips.codegen.conversion.LongToPrimitiveLongCg
- getConversionCode(JavaCodeFragment) - Method in class org.faktorips.codegen.conversion.PrimitiveBooleanToBooleanCg
- getConversionCode(JavaCodeFragment) - Method in class org.faktorips.codegen.conversion.PrimitiveIntToBigDecimalCg
- getConversionCode(JavaCodeFragment) - Method in class org.faktorips.codegen.conversion.PrimitiveIntToDecimalCg
- getConversionCode(JavaCodeFragment) - Method in class org.faktorips.codegen.conversion.PrimitiveIntToIntegerCg
- getConversionCode(JavaCodeFragment) - Method in class org.faktorips.codegen.conversion.PrimitiveIntToLongCg
- getConversionCode(JavaCodeFragment) - Method in class org.faktorips.codegen.conversion.PrimitiveIntToPrimitiveLongCg
- getConversionCode(JavaCodeFragment) - Method in class org.faktorips.codegen.conversion.PrimitiveLongToBigDecimalCg
- getConversionCode(JavaCodeFragment) - Method in class org.faktorips.codegen.conversion.PrimitiveLongToLongCg
- getConversionCode(JavaCodeFragment) - Method in class org.faktorips.codegen.conversion.PrimitiveLongToPrimitiveIntCg
- getConversionCode(Datatype, Datatype, T) - Method in class org.faktorips.codegen.ConversionCodeGenerator
- getConversionCode(T) - Method in interface org.faktorips.codegen.SingleConversionCg
- getDatatype() - Method in interface org.faktorips.codegen.BaseDatatypeHelper
-
Returns the data type this is a helper for.
- getDatatype() - Method in interface org.faktorips.codegen.DatatypeHelper
-
Returns the datatype this is a helper for.
- getDatatype() - Method in class org.faktorips.codegen.dthelpers.AbstractDatatypeHelper
- getDatatype() - Method in class org.faktorips.codegen.dthelpers.ArrayOfValueDatatypeHelper
- getDatatype() - Method in class org.faktorips.codegen.dthelpers.GenericValueDatatypeHelper
- getDatatype() - Method in class org.faktorips.codegen.dthelpers.InternationalStringDatatypeHelper
- getDatatype() - Method in class org.faktorips.codegen.dthelpers.ListOfValueDatatypeHelper
- getDateFieldEnumClass() - Method in interface org.faktorips.codegen.dthelpers.ILocalDateHelper
-
Returns the name of the class listing the accessible fields of the LocalDate.
- getDateFieldEnumClass() - Method in class org.faktorips.codegen.dthelpers.java8.LocalDateHelper
- getDateFieldEnumClass() - Method in class org.faktorips.codegen.dthelpers.joda.LocalDateHelper
- getDateInitialization(JavaCodeFragment, JavaCodeFragment, JavaCodeFragment) - Method in interface org.faktorips.codegen.dthelpers.ILocalDateHelper
-
Returns the code to create a new LocalDate.
- getDateInitialization(JavaCodeFragment, JavaCodeFragment, JavaCodeFragment) - Method in class org.faktorips.codegen.dthelpers.java8.LocalDateHelper
- getDateInitialization(JavaCodeFragment, JavaCodeFragment, JavaCodeFragment) - Method in class org.faktorips.codegen.dthelpers.joda.LocalDateHelper
- getDateValue(String) - Method in class org.faktorips.datatype.classtypes.DateDatatype
-
Calls the
getValue(String)method and casts the result to a Date. - getDayOfMonthField() - Method in interface org.faktorips.codegen.dthelpers.ILocalDateHelper
-
Returns the field for the day of the month in the
DateFieldEnumClass. - getDayOfMonthField() - Method in class org.faktorips.codegen.dthelpers.java8.LocalDateHelper
- getDayOfMonthField() - Method in class org.faktorips.codegen.dthelpers.joda.LocalDateHelper
- getDeclarationJavaTypeFragment() - Method in class org.faktorips.codegen.dthelpers.ListOfValueDatatypeHelper
-
Returns code for a list-variable or -argument declarations. e.g.
- getDefault() - Static method in class org.faktorips.codegen.ConversionCodeGenerator
-
Returns a default ConversionCodeGenerator that contains the following conversions.
- getDefaultValue() - Method in class org.faktorips.datatype.ArrayOfValueDatatype
- getDefaultValue() - Method in class org.faktorips.datatype.GenericValueDatatype
- getDefaultValue() - Method in class org.faktorips.datatype.InternationalStringDatatype
- getDefaultValue() - Method in class org.faktorips.datatype.ListOfTypeDatatype
- getDefaultValue() - Method in class org.faktorips.datatype.PrimitiveBooleanDatatype
- getDefaultValue() - Method in class org.faktorips.datatype.PrimitiveIntegerDatatype
- getDefaultValue() - Method in class org.faktorips.datatype.PrimitiveLongDatatype
- getDefaultValue() - Method in class org.faktorips.datatype.ValueClassNameDatatype
- getDefaultValue() - Method in interface org.faktorips.datatype.ValueDatatype
-
Returns the datatype's default value.
- getDefaultValue() - Method in class org.faktorips.datatype.Void
- getDimension() - Method in class org.faktorips.datatype.ArrayOfValueDatatype
-
Returns the array's dimension.
- getDimension(String) - Static method in class org.faktorips.datatype.ArrayOfValueDatatype
-
Returns the number of dimensions specified in the given datatypeName.
- getFragment() - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Returns the fragment under construction.
- getFrom() - Method in class org.faktorips.codegen.conversion.AbstractSingleConversionCg
-
Overridden method.
- getFrom() - Method in interface org.faktorips.codegen.SingleConversionCg
- getGetNameMethodName() - Method in class org.faktorips.datatype.GenericEnumDatatype
-
Returns the name of the getName(String) method.
- getHelper(Datatype) - Method in interface org.faktorips.codegen.DatatypeHelperRegistry
-
Returns the helper for the indicated datatype.
- getHelper(Datatype) - Method in class org.faktorips.codegen.DefaultDatatypeHelperRegistry
- getImportDeclaration() - Method in class org.faktorips.codegen.JavaCodeFragment
-
Returns the import declaration needed to compile the source code.
- getImportDeclaration(String) - Method in class org.faktorips.codegen.JavaCodeFragment
-
Returns the import declaration needed to compile the source code.
- getImports() - Method in class org.faktorips.codegen.ImportDeclaration
- getIndentationLevel() - Method in class org.faktorips.codegen.CodeFragment
-
Returns the current indentation level at the end of the sourcecode.
- getIsParsableMethodName() - Method in class org.faktorips.datatype.GenericValueDatatype
- getJavaClassName() - Method in interface org.faktorips.codegen.DatatypeHelper
-
Returns the qualified Java class name the datatype represents.
- getJavaClassName() - Method in class org.faktorips.codegen.dthelpers.ArrayOfValueDatatypeHelper
- getJavaClassName() - Method in class org.faktorips.codegen.dthelpers.BigDecimalHelper
- getJavaClassName() - Method in class org.faktorips.codegen.dthelpers.BooleanHelper
- getJavaClassName() - Method in class org.faktorips.codegen.dthelpers.CurrencyHelper
- getJavaClassName() - Method in class org.faktorips.codegen.dthelpers.DateHelper
- getJavaClassName() - Method in class org.faktorips.codegen.dthelpers.DecimalHelper
- getJavaClassName() - Method in class org.faktorips.codegen.dthelpers.DoubleHelper
- getJavaClassName() - Method in class org.faktorips.codegen.dthelpers.GenericValueDatatypeHelper
- getJavaClassName() - Method in class org.faktorips.codegen.dthelpers.GregorianCalendarAsDateHelper
- getJavaClassName() - Method in class org.faktorips.codegen.dthelpers.IntegerHelper
- getJavaClassName() - Method in class org.faktorips.codegen.dthelpers.InternationalStringDatatypeHelper
- getJavaClassName() - Method in class org.faktorips.codegen.dthelpers.java8.LocalDateHelper
- getJavaClassName() - Method in class org.faktorips.codegen.dthelpers.java8.LocalDateTimeHelper
- getJavaClassName() - Method in class org.faktorips.codegen.dthelpers.java8.LocalTimeHelper
- getJavaClassName() - Method in class org.faktorips.codegen.dthelpers.java8.MonthDayHelper
- getJavaClassName() - Method in class org.faktorips.codegen.dthelpers.joda.BaseJodaDatatypeHelper
- getJavaClassName() - Method in class org.faktorips.codegen.dthelpers.ListOfValueDatatypeHelper
- getJavaClassName() - Method in class org.faktorips.codegen.dthelpers.LongHelper
- getJavaClassName() - Method in class org.faktorips.codegen.dthelpers.MoneyHelper
- getJavaClassName() - Method in class org.faktorips.codegen.dthelpers.PrimitiveBooleanHelper
- getJavaClassName() - Method in class org.faktorips.codegen.dthelpers.PrimitiveIntegerHelper
- getJavaClassName() - Method in class org.faktorips.codegen.dthelpers.PrimitiveLongHelper
- getJavaClassName() - Method in class org.faktorips.codegen.dthelpers.StringHelper
- getJavaClassName() - Method in class org.faktorips.datatype.GenericValueDatatype
-
Returns the java class that is represented by this generic datatype
- getJavaClassName() - Method in class org.faktorips.datatype.JavaClass2DatatypeAdaptor
- getMonthOfYearField() - Method in interface org.faktorips.codegen.dthelpers.ILocalDateHelper
-
Returns the field for the month of the year in the
DateFieldEnumClass. - getMonthOfYearField() - Method in class org.faktorips.codegen.dthelpers.java8.LocalDateHelper
- getMonthOfYearField() - Method in class org.faktorips.codegen.dthelpers.joda.LocalDateHelper
- getName() - Method in class org.faktorips.datatype.AnyDatatype
- getName() - Method in class org.faktorips.datatype.ArrayOfValueDatatype
- getName() - Method in interface org.faktorips.datatype.Datatype
-
Returns the datatype's name.
- getName() - Method in class org.faktorips.datatype.GenericValueDatatype
- getName() - Method in class org.faktorips.datatype.InternationalStringDatatype
- getName() - Method in class org.faktorips.datatype.JavaClass2DatatypeAdaptor
- getName() - Method in class org.faktorips.datatype.ListOfTypeDatatype
- getName() - Method in class org.faktorips.datatype.PrimitiveBooleanDatatype
- getName() - Method in class org.faktorips.datatype.PrimitiveIntegerDatatype
- getName() - Method in class org.faktorips.datatype.PrimitiveLongDatatype
- getName() - Method in class org.faktorips.datatype.ValueClassNameDatatype
- getName() - Method in class org.faktorips.datatype.Void
- getNameFromValue(Object) - Method in class org.faktorips.datatype.GenericEnumDatatype
- getNoOfImports() - Method in class org.faktorips.codegen.ImportDeclaration
-
Returns the number of imports.
- getNullObjectId() - Method in class org.faktorips.datatype.AbstractPrimitiveDatatype
- getNullObjectId() - Method in class org.faktorips.datatype.GenericValueDatatype
-
Returns the String identification of the special NullObject.
- getNullObjectId() - Method in interface org.faktorips.datatype.ValueDatatype
-
Returns the string representation of the special null-object, if the datatype uses one.
- getPackageName(String) - Static method in class org.faktorips.codegen.ClassNameUtil
-
Returns the package name for a given class name.
- getPeriodCode(JavaCodeFragment, JavaCodeFragment, ILocalDateHelper.Period) - Method in interface org.faktorips.codegen.dthelpers.ILocalDateHelper
-
Returns the code to calculate the period between the two arguments.
- getPeriodCode(JavaCodeFragment, JavaCodeFragment, ILocalDateHelper.Period) - Method in class org.faktorips.codegen.dthelpers.java8.LocalDateHelper
- getPeriodCode(JavaCodeFragment, JavaCodeFragment, ILocalDateHelper.Period) - Method in class org.faktorips.codegen.dthelpers.joda.LocalDateHelper
- getQualifiedName() - Method in class org.faktorips.datatype.AnyDatatype
- getQualifiedName() - Method in class org.faktorips.datatype.ArrayOfValueDatatype
- getQualifiedName() - Method in interface org.faktorips.datatype.Datatype
-
Returns the datatype's qualified name.
- getQualifiedName() - Method in class org.faktorips.datatype.GenericValueDatatype
- getQualifiedName() - Method in class org.faktorips.datatype.InternationalStringDatatype
- getQualifiedName() - Method in class org.faktorips.datatype.JavaClass2DatatypeAdaptor
- getQualifiedName() - Method in class org.faktorips.datatype.ListOfTypeDatatype
- getQualifiedName() - Method in class org.faktorips.datatype.PrimitiveBooleanDatatype
- getQualifiedName() - Method in class org.faktorips.datatype.PrimitiveIntegerDatatype
- getQualifiedName() - Method in class org.faktorips.datatype.PrimitiveLongDatatype
- getQualifiedName() - Method in class org.faktorips.datatype.ValueClassNameDatatype
- getQualifiedName() - Method in class org.faktorips.datatype.Void
- getRangeJavaClassName(boolean) - Method in interface org.faktorips.codegen.DatatypeHelper
-
Returns the qualified Java class name of the range class of the datatype this is a helper for.
- getRangeJavaClassName(boolean) - Method in class org.faktorips.codegen.dthelpers.AbstractDatatypeHelper
- getRangeJavaClassName(boolean) - Method in class org.faktorips.codegen.dthelpers.BigDecimalHelper
- getRangeJavaClassName(boolean) - Method in class org.faktorips.codegen.dthelpers.DateHelper
- getRangeJavaClassName(boolean) - Method in class org.faktorips.codegen.dthelpers.DecimalHelper
- getRangeJavaClassName(boolean) - Method in class org.faktorips.codegen.dthelpers.DoubleHelper
- getRangeJavaClassName(boolean) - Method in class org.faktorips.codegen.dthelpers.IntegerHelper
- getRangeJavaClassName(boolean) - Method in class org.faktorips.codegen.dthelpers.ListOfValueDatatypeHelper
- getRangeJavaClassName(boolean) - Method in class org.faktorips.codegen.dthelpers.LongHelper
- getRangeJavaClassName(boolean) - Method in class org.faktorips.codegen.dthelpers.MoneyHelper
- getSourcecode() - Method in class org.faktorips.codegen.CodeFragment
-
Returns the sourcecode.
- getString(String) - Method in class org.faktorips.datatype.util.LocalizedStringsSet
-
Try to load the resource bundle in the jvm's default language and searches for the given key.
- getString(String, Object...) - Method in class org.faktorips.datatype.util.LocalizedStringsSet
-
Try to load the resource bundle in the jvm's default language and searches for the given key.
- getString(String, Locale) - Method in class org.faktorips.datatype.util.LocalizedStringsSet
-
Try to load the resource bundle in given locale and searches for the given key.
- getString(String, Locale, Object...) - Method in class org.faktorips.datatype.util.LocalizedStringsSet
-
Try to load the resource bundle in given locale and searches for the given key.
- getTo() - Method in class org.faktorips.codegen.conversion.AbstractSingleConversionCg
-
Overridden method.
- getTo() - Method in interface org.faktorips.codegen.SingleConversionCg
- getToStringExpression(String) - Method in interface org.faktorips.codegen.BaseDatatypeHelper
-
Returns a
CodeFragmentcontaining the code for converting the value (of the given field) to a string representation with respect to its data type. - getToStringExpression(String) - Method in interface org.faktorips.codegen.DatatypeHelper
-
Returns a
JavaCodeFragmentcontaining the code for converting the value (of the given field) to a string representation with respect to its data type. - getToStringExpression(String) - Method in class org.faktorips.codegen.dthelpers.AbstractDatatypeHelper
- getToStringExpression(String) - Method in class org.faktorips.codegen.dthelpers.AbstractPrimitiveDatatypeHelper
- getToStringExpression(String) - Method in class org.faktorips.codegen.dthelpers.DateHelper
- getToStringExpression(String) - Method in class org.faktorips.codegen.dthelpers.GenericValueDatatypeHelper
- getToStringExpression(String) - Method in class org.faktorips.codegen.dthelpers.GregorianCalendarAsDateHelper
- getToStringExpression(String) - Method in class org.faktorips.codegen.dthelpers.InternationalStringDatatypeHelper
-
Returns a
JavaCodeFragmentcontaining the code for converting the value (of the given field) to a string representation with respect to its data type. - getToStringExpression(String) - Method in class org.faktorips.codegen.dthelpers.java8.LocalDateTimeHelper
- getToStringExpression(String) - Method in class org.faktorips.codegen.dthelpers.java8.LocalTimeHelper
- getToStringExpression(String) - Method in class org.faktorips.codegen.dthelpers.joda.BaseJodaDatatypeHelper
- getToStringExpression(String) - Method in class org.faktorips.codegen.dthelpers.joda.LocalDateTimeHelper
- getToStringExpression(String) - Method in class org.faktorips.codegen.dthelpers.joda.LocalTimeHelper
- getToStringExpression(String) - Method in class org.faktorips.codegen.dthelpers.StringHelper
- getToStringMethod() - Method in class org.faktorips.datatype.GenericValueDatatype
- getToStringMethodName() - Method in class org.faktorips.datatype.GenericValueDatatype
- getUncoveredImports(ImportDeclaration) - Method in class org.faktorips.codegen.ImportDeclaration
-
Returns those imports in the
importsToTestdeclaration that are not covered this one. - getValue(String) - Method in class org.faktorips.datatype.AbstractPrimitiveDatatype
- getValue(String) - Method in class org.faktorips.datatype.ArrayOfValueDatatype
-
If the value is null, null will be returned.
- getValue(String) - Method in class org.faktorips.datatype.classtypes.BigDecimalDatatype
- getValue(String) - Method in class org.faktorips.datatype.classtypes.BooleanDatatype
- getValue(String) - Method in class org.faktorips.datatype.classtypes.CurrencyDatatype
- getValue(String) - Method in class org.faktorips.datatype.classtypes.DateDatatype
- getValue(String) - Method in class org.faktorips.datatype.classtypes.DecimalDatatype
- getValue(String) - Method in class org.faktorips.datatype.classtypes.DoubleDatatype
- getValue(String) - Method in class org.faktorips.datatype.classtypes.GregorianCalendarDatatype
- getValue(String) - Method in class org.faktorips.datatype.classtypes.IntegerDatatype
- getValue(String) - Method in class org.faktorips.datatype.classtypes.LongDatatype
- getValue(String) - Method in class org.faktorips.datatype.classtypes.MoneyDatatype
- getValue(String) - Method in class org.faktorips.datatype.classtypes.StringDatatype
- getValue(String) - Method in class org.faktorips.datatype.GenericValueDatatype
- getValue(String) - Method in class org.faktorips.datatype.InternationalStringDatatype
- getValue(String) - Method in class org.faktorips.datatype.joda.LocalDateDatatype
- getValue(String) - Method in class org.faktorips.datatype.joda.LocalDateTimeDatatype
- getValue(String) - Method in class org.faktorips.datatype.joda.LocalTimeDatatype
- getValue(String) - Method in class org.faktorips.datatype.joda.MonthDayDatatype
- getValue(String) - Method in class org.faktorips.datatype.ListOfTypeDatatype
-
Not supported yet.
- getValue(String) - Method in class org.faktorips.datatype.PrimitiveBooleanDatatype
- getValue(String) - Method in class org.faktorips.datatype.PrimitiveIntegerDatatype
- getValue(String) - Method in class org.faktorips.datatype.PrimitiveLongDatatype
- getValue(String) - Method in class org.faktorips.datatype.ValueClassNameDatatype
-
This method parses the given string and returns the value as an instance of the class this value datatype represents.
- getValue(String) - Method in interface org.faktorips.datatype.ValueDatatype
-
This method parses the given string and returns the value as an instance of the class this value datatype represents.
- getValue(String) - Method in class org.faktorips.datatype.Void
- getValueByName(String) - Method in class org.faktorips.datatype.classtypes.CurrencyDatatype
- getValueByName(String) - Method in class org.faktorips.datatype.DefaultGenericEnumDatatype
- getValueByName(String) - Method in interface org.faktorips.datatype.EnumDatatype
- getValueByName(String) - Method in interface org.faktorips.datatype.NamedDatatype
-
This method parses the given string and returns the value as an instance of the class this value datatype represents.
- getValueByName(String, Locale) - Method in class org.faktorips.datatype.classtypes.CurrencyDatatype
- getValueByName(String, Locale) - Method in interface org.faktorips.datatype.NamedDatatype
-
This method parses the given string and returns the value as an instance of the class this value datatype represents.
- getValueName(String) - Method in class org.faktorips.datatype.classtypes.CurrencyDatatype
- getValueName(String) - Method in class org.faktorips.datatype.GenericEnumDatatype
- getValueName(String) - Method in interface org.faktorips.datatype.NamedDatatype
-
Returns a short description of the value of this datatype specified by the ID.
- getValueName(String, Locale) - Method in class org.faktorips.datatype.classtypes.CurrencyDatatype
- getValueName(String, Locale) - Method in interface org.faktorips.datatype.NamedDatatype
-
Returns a short description of the value of this datatype specified by the ID.
- getValueOfMethodName() - Method in class org.faktorips.datatype.GenericValueDatatype
- getValueSetJavaClassName() - Method in interface org.faktorips.codegen.DatatypeHelper
-
Returns the qualified Java class name for the value datatype.
- getValueSetJavaClassName() - Method in class org.faktorips.codegen.dthelpers.ListOfValueDatatypeHelper
- getWrapperType() - Method in class org.faktorips.datatype.ArrayOfValueDatatype
- getWrapperType() - Method in class org.faktorips.datatype.GenericValueDatatype
- getWrapperType() - Method in class org.faktorips.datatype.InternationalStringDatatype
- getWrapperType() - Method in class org.faktorips.datatype.ListOfTypeDatatype
- getWrapperType() - Method in class org.faktorips.datatype.PrimitiveBooleanDatatype
- getWrapperType() - Method in class org.faktorips.datatype.PrimitiveIntegerDatatype
- getWrapperType() - Method in class org.faktorips.datatype.PrimitiveLongDatatype
- getWrapperType() - Method in class org.faktorips.datatype.ValueClassNameDatatype
- getWrapperType() - Method in interface org.faktorips.datatype.ValueDatatype
-
If this datatype represents a primitive type, this method returns the datatype that represents the wrapper class.
- getWrapperType() - Method in class org.faktorips.datatype.Void
- getWrapperTypeHelper() - Method in class org.faktorips.codegen.dthelpers.PrimitiveBooleanHelper
- getWrapperTypeHelper() - Method in class org.faktorips.codegen.dthelpers.PrimitiveIntegerHelper
- getWrapperTypeHelper() - Method in class org.faktorips.codegen.dthelpers.PrimitiveLongHelper
- getWrapperTypeHelper() - Method in interface org.faktorips.codegen.PrimitiveDatatypeHelper
-
Retrieves the
DatatypeHelperfor the wrapper type of the primitive type for which this helper is responsible. - getYearField() - Method in interface org.faktorips.codegen.dthelpers.ILocalDateHelper
-
Returns the field for the year in the
DateFieldEnumClass. - getYearField() - Method in class org.faktorips.codegen.dthelpers.java8.LocalDateHelper
- getYearField() - Method in class org.faktorips.codegen.dthelpers.joda.LocalDateHelper
- GREGORIAN_CALENDAR - Static variable in interface org.faktorips.datatype.Datatype
-
Datatype representing
GregorianCalendar. - GregorianCalendarAsDateDatatype - Class in org.faktorips.datatype.classtypes
-
A datatype using the GregorianCalendar class to represent dates without any information about the time.
- GregorianCalendarAsDateDatatype() - Constructor for class org.faktorips.datatype.classtypes.GregorianCalendarAsDateDatatype
-
Constructs a new instance with the name "GregorianCalendar".
- GregorianCalendarAsDateDatatype(String) - Constructor for class org.faktorips.datatype.classtypes.GregorianCalendarAsDateDatatype
-
Constructs a new instance with the given name.
- GregorianCalendarAsDateHelper - Class in org.faktorips.codegen.dthelpers
- GregorianCalendarAsDateHelper() - Constructor for class org.faktorips.codegen.dthelpers.GregorianCalendarAsDateHelper
-
Constructs a new helper.
- GregorianCalendarAsDateHelper(GregorianCalendarAsDateDatatype) - Constructor for class org.faktorips.codegen.dthelpers.GregorianCalendarAsDateHelper
-
Constructs a new helper for the given boolean datatype.
- GregorianCalendarDatatype - Class in org.faktorips.datatype.classtypes
- GregorianCalendarDatatype(String, boolean) - Constructor for class org.faktorips.datatype.classtypes.GregorianCalendarDatatype
H
- hasDecimalPlaces() - Method in class org.faktorips.datatype.classtypes.BigDecimalDatatype
- hasDecimalPlaces() - Method in class org.faktorips.datatype.classtypes.DecimalDatatype
- hasDecimalPlaces() - Method in class org.faktorips.datatype.classtypes.DoubleDatatype
- hasDecimalPlaces() - Method in class org.faktorips.datatype.classtypes.IntegerDatatype
- hasDecimalPlaces() - Method in class org.faktorips.datatype.classtypes.LongDatatype
- hasDecimalPlaces() - Method in class org.faktorips.datatype.classtypes.MoneyDatatype
- hasDecimalPlaces() - Method in interface org.faktorips.datatype.NumericDatatype
- hasDecimalPlaces() - Method in class org.faktorips.datatype.PrimitiveIntegerDatatype
- hasDecimalPlaces() - Method in class org.faktorips.datatype.PrimitiveLongDatatype
- hashCode() - Method in class org.faktorips.codegen.CodeFragment
- hashCode() - Method in class org.faktorips.codegen.ImportDeclaration
- hashCode() - Method in class org.faktorips.codegen.JavaCodeFragment
- hashCode() - Method in class org.faktorips.datatype.AbstractDatatype
- hashCode() - Method in class org.faktorips.datatype.GenericValueDatatype
- hasNullObject() - Method in class org.faktorips.datatype.AbstractDatatype
- hasNullObject() - Method in class org.faktorips.datatype.AbstractPrimitiveDatatype
- hasNullObject() - Method in class org.faktorips.datatype.AnyDatatype
- hasNullObject() - Method in class org.faktorips.datatype.classtypes.DecimalDatatype
- hasNullObject() - Method in class org.faktorips.datatype.classtypes.MoneyDatatype
- hasNullObject() - Method in interface org.faktorips.datatype.Datatype
-
Returns
trueif the datatype has a special instance representingnull, otherwisefalse. - hasNullObject() - Method in class org.faktorips.datatype.GenericValueDatatype
-
Returns
trueif the datatype has a special instance representing null. - hasNullObject() - Method in class org.faktorips.datatype.ValueClassNameDatatype
- hasNullObject() - Method in class org.faktorips.datatype.Void
I
- ILocalDateHelper - Interface in org.faktorips.codegen.dthelpers
-
A
AbstractTimeHelperthat supports a LocalDate datatype. - ILocalDateHelper.Period - Enum Class in org.faktorips.codegen.dthelpers
- ImportDeclaration - Class in org.faktorips.codegen
-
An ImportDeclaration is an ordered set of import statements.
- ImportDeclaration() - Constructor for class org.faktorips.codegen.ImportDeclaration
-
Creates a new import declaration.
- ImportDeclaration(ImportDeclaration) - Constructor for class org.faktorips.codegen.ImportDeclaration
-
Copy constructor.
- ImportDeclaration(ImportDeclaration, String) - Constructor for class org.faktorips.codegen.ImportDeclaration
-
Constructs a new import declaration that contains all import statements from the given declaration that are not covered by the package.
- incIndentationLevel() - Method in class org.faktorips.codegen.CodeFragment
-
Increases the indentation level used for appending sourcecode.
- initCache() - Method in class org.faktorips.datatype.GenericEnumDatatype
-
Initializes the cache with the data from the underlying class.
- INSTANCE - Static variable in class org.faktorips.datatype.AnyDatatype
- INTEGER - Static variable in interface org.faktorips.codegen.DatatypeHelper
-
Helper for
Datatype.INTEGER. - INTEGER - Static variable in interface org.faktorips.datatype.Datatype
-
Datatype representing
Integer. - IntegerDatatype - Class in org.faktorips.datatype.classtypes
-
Datatype for
Integer. - IntegerDatatype() - Constructor for class org.faktorips.datatype.classtypes.IntegerDatatype
- IntegerHelper - Class in org.faktorips.codegen.dthelpers
- IntegerHelper() - Constructor for class org.faktorips.codegen.dthelpers.IntegerHelper
-
Constructs a new helper.
- IntegerHelper(IntegerDatatype) - Constructor for class org.faktorips.codegen.dthelpers.IntegerHelper
-
Constructs a new helper for the given integer datatype.
- IntegerToBigDecimalCg - Class in org.faktorips.codegen.conversion
- IntegerToBigDecimalCg() - Constructor for class org.faktorips.codegen.conversion.IntegerToBigDecimalCg
- IntegerToDecimalCg - Class in org.faktorips.codegen.conversion
- IntegerToDecimalCg() - Constructor for class org.faktorips.codegen.conversion.IntegerToDecimalCg
- IntegerToLongCg - Class in org.faktorips.codegen.conversion
- IntegerToLongCg() - Constructor for class org.faktorips.codegen.conversion.IntegerToLongCg
- IntegerToPrimitiveIntCg - Class in org.faktorips.codegen.conversion
- IntegerToPrimitiveIntCg() - Constructor for class org.faktorips.codegen.conversion.IntegerToPrimitiveIntCg
- interfaceBegin(String) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Appends the source code for the beginning of a new interface at the end of the fragment under construction.
- interfaceBegin(String, String) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Appends the source code for the beginning of a new interface at the end of the fragment under construction.
- interfaceBegin(String, String[]) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Appends the source code for the beginning of a new interface at the end of the fragment under construction.
- InternationalStringDatatype - Class in org.faktorips.datatype
-
This is the datatype for international strings.
- InternationalStringDatatype() - Constructor for class org.faktorips.datatype.InternationalStringDatatype
-
Creates a new instance of
InternationalStringDatatype. - InternationalStringDatatypeHelper - Class in org.faktorips.codegen.dthelpers
- InternationalStringDatatypeHelper(boolean) - Constructor for class org.faktorips.codegen.dthelpers.InternationalStringDatatypeHelper
- isAbstract() - Method in class org.faktorips.datatype.AbstractPrimitiveDatatype
- isAbstract() - Method in class org.faktorips.datatype.AnyDatatype
- isAbstract() - Method in class org.faktorips.datatype.ArrayOfValueDatatype
- isAbstract() - Method in interface org.faktorips.datatype.Datatype
-
Returns
trueif this datatype is an abstract datatype in means of the object oriented paradigm. - isAbstract() - Method in class org.faktorips.datatype.GenericValueDatatype
- isAbstract() - Method in class org.faktorips.datatype.InternationalStringDatatype
- isAbstract() - Method in class org.faktorips.datatype.JavaClass2DatatypeAdaptor
- isAbstract() - Method in class org.faktorips.datatype.ListOfTypeDatatype
- isAbstract() - Method in class org.faktorips.datatype.ValueClassNameDatatype
- isAbstract() - Method in class org.faktorips.datatype.Void
- isAccessible(Locale) - Method in class org.faktorips.datatype.util.LocalizedStringsSet
-
Checking whether the resource is accessible in given locale.
- isArrayDatatype(String) - Static method in class org.faktorips.datatype.ArrayOfValueDatatype
-
Returns if the provided string represents an ArrayDatatype.
- isCacheData() - Method in class org.faktorips.datatype.GenericEnumDatatype
-
Returns
trueif the values' id and names are cached,falseotherwise. - isCovered(Class<?>) - Method in class org.faktorips.codegen.ImportDeclaration
-
Returns true if the class is covered by the import declaration.
- isCovered(String) - Method in class org.faktorips.codegen.ImportDeclaration
-
Returns true if the import specification is covered by this import declaration.
- isEnum() - Method in class org.faktorips.datatype.AbstractDatatype
- isEnum() - Method in class org.faktorips.datatype.AnyDatatype
- isEnum() - Method in interface org.faktorips.datatype.Datatype
-
Returns
trueif this value datatype is an enum datatype. - isEnum() - Method in class org.faktorips.datatype.GenericValueDatatype
- isImmutable() - Method in class org.faktorips.datatype.AbstractPrimitiveDatatype
- isImmutable() - Method in class org.faktorips.datatype.ArrayOfValueDatatype
- isImmutable() - Method in class org.faktorips.datatype.GenericValueDatatype
- isImmutable() - Method in class org.faktorips.datatype.InternationalStringDatatype
- isImmutable() - Method in class org.faktorips.datatype.ListOfTypeDatatype
- isImmutable() - Method in class org.faktorips.datatype.ValueClassNameDatatype
- isImmutable() - Method in interface org.faktorips.datatype.ValueDatatype
-
Returns
trueif this is an immutable datatype,falseotherwise. - isImmutable() - Method in class org.faktorips.datatype.Void
- isMutable() - Method in class org.faktorips.datatype.AbstractPrimitiveDatatype
- isMutable() - Method in class org.faktorips.datatype.ArrayOfValueDatatype
- isMutable() - Method in class org.faktorips.datatype.classtypes.GregorianCalendarDatatype
- isMutable() - Method in class org.faktorips.datatype.GenericValueDatatype
- isMutable() - Method in class org.faktorips.datatype.InternationalStringDatatype
- isMutable() - Method in class org.faktorips.datatype.ListOfTypeDatatype
- isMutable() - Method in class org.faktorips.datatype.ValueClassNameDatatype
- isMutable() - Method in interface org.faktorips.datatype.ValueDatatype
-
Returns
trueif this is a mutable datatype,falseif it is an immutable datatype. - isMutable() - Method in class org.faktorips.datatype.Void
- isNull(String) - Method in class org.faktorips.datatype.ArrayOfValueDatatype
- isNull(String) - Method in class org.faktorips.datatype.GenericValueDatatype
- isNull(String) - Method in class org.faktorips.datatype.InternationalStringDatatype
- isNull(String) - Method in class org.faktorips.datatype.ListOfTypeDatatype
- isNull(String) - Method in class org.faktorips.datatype.ValueClassNameDatatype
- isNull(String) - Method in interface org.faktorips.datatype.ValueDatatype
-
Returns
trueif the given string isnullor the representation of the null object (if the datatype value class makes use of the null object pattern.) - isNull(String) - Method in class org.faktorips.datatype.Void
- isPackageImport(String) - Static method in class org.faktorips.codegen.ImportDeclaration
-
Returns true if this is a package import, e.g.
- isParsable(String) - Method in class org.faktorips.datatype.AbstractPrimitiveDatatype
-
If the value is
nullor an empty string,falseis returned. - isParsable(String) - Method in class org.faktorips.datatype.ArrayOfValueDatatype
-
Null is parsable.
- isParsable(String) - Method in class org.faktorips.datatype.classtypes.DateDatatype
- isParsable(String) - Method in class org.faktorips.datatype.classtypes.GregorianCalendarDatatype
- isParsable(String) - Method in class org.faktorips.datatype.classtypes.StringDatatype
- isParsable(String) - Method in class org.faktorips.datatype.GenericEnumDatatype
- isParsable(String) - Method in class org.faktorips.datatype.GenericValueDatatype
- isParsable(String) - Method in class org.faktorips.datatype.InternationalStringDatatype
- isParsable(String) - Method in class org.faktorips.datatype.joda.LocalDateDatatype
- isParsable(String) - Method in class org.faktorips.datatype.joda.LocalDateTimeDatatype
- isParsable(String) - Method in class org.faktorips.datatype.joda.LocalTimeDatatype
- isParsable(String) - Method in class org.faktorips.datatype.joda.MonthDayDatatype
- isParsable(String) - Method in class org.faktorips.datatype.ListOfTypeDatatype
-
Not supported yet. Always returns
false. - isParsable(String) - Method in class org.faktorips.datatype.ValueClassNameDatatype
- isParsable(String) - Method in interface org.faktorips.datatype.ValueDatatype
-
Returns
trueif the given string can be parsed to a value of this datatype. - isParsable(String) - Method in class org.faktorips.datatype.Void
- isPrimitive() - Method in class org.faktorips.datatype.AbstractPrimitiveDatatype
- isPrimitive() - Method in class org.faktorips.datatype.AnyDatatype
- isPrimitive() - Method in class org.faktorips.datatype.ArrayOfValueDatatype
- isPrimitive() - Method in interface org.faktorips.datatype.Datatype
-
Returns
trueif this datatype represents one of Java's primitive types. - isPrimitive() - Method in class org.faktorips.datatype.GenericValueDatatype
- isPrimitive() - Method in class org.faktorips.datatype.InternationalStringDatatype
- isPrimitive() - Method in class org.faktorips.datatype.JavaClass2DatatypeAdaptor
- isPrimitive() - Method in class org.faktorips.datatype.ListOfTypeDatatype
- isPrimitive() - Method in class org.faktorips.datatype.ValueClassNameDatatype
- isPrimitive() - Method in class org.faktorips.datatype.Void
- isSupportingNames() - Method in class org.faktorips.datatype.classtypes.CurrencyDatatype
- isSupportingNames() - Method in class org.faktorips.datatype.GenericEnumDatatype
- isSupportingNames() - Method in interface org.faktorips.datatype.NamedDatatype
-
Returns
trueif an implementation of this interface supports names that describe the datatype's value. - isValueDatatype() - Method in class org.faktorips.datatype.AbstractPrimitiveDatatype
- isValueDatatype() - Method in class org.faktorips.datatype.AnyDatatype
- isValueDatatype() - Method in class org.faktorips.datatype.ArrayOfValueDatatype
- isValueDatatype() - Method in interface org.faktorips.datatype.Datatype
-
Returns
trueif this datatype represents values. - isValueDatatype() - Method in class org.faktorips.datatype.GenericValueDatatype
- isValueDatatype() - Method in class org.faktorips.datatype.InternationalStringDatatype
- isValueDatatype() - Method in class org.faktorips.datatype.JavaClass2DatatypeAdaptor
- isValueDatatype() - Method in class org.faktorips.datatype.ListOfTypeDatatype
- isValueDatatype() - Method in class org.faktorips.datatype.ValueClassNameDatatype
- isValueDatatype() - Method in class org.faktorips.datatype.Void
- isVoid() - Method in class org.faktorips.datatype.AbstractDatatype
- isVoid() - Method in class org.faktorips.datatype.AnyDatatype
- isVoid() - Method in interface org.faktorips.datatype.Datatype
- isVoid() - Method in class org.faktorips.datatype.GenericValueDatatype
- isVoid() - Method in class org.faktorips.datatype.Void
- iterator() - Method in class org.faktorips.codegen.ImportDeclaration
-
Returns an Iterator over the import statements as Strings.
J
- JavaClass2DatatypeAdaptor - Class in org.faktorips.datatype
-
Adapter that allows to use any Java class (that is not a value) as datatype.
- JavaClass2DatatypeAdaptor(Class<?>) - Constructor for class org.faktorips.datatype.JavaClass2DatatypeAdaptor
- JavaClass2DatatypeAdaptor(String) - Constructor for class org.faktorips.datatype.JavaClass2DatatypeAdaptor
- JavaClass2DatatypeAdaptor(String, Class<?>) - Constructor for class org.faktorips.datatype.JavaClass2DatatypeAdaptor
- JavaClass2DatatypeAdaptor(String, String) - Constructor for class org.faktorips.datatype.JavaClass2DatatypeAdaptor
- JavaCodeFragment - Class in org.faktorips.codegen
-
The class represents a Java source code fragment.
- JavaCodeFragment() - Constructor for class org.faktorips.codegen.JavaCodeFragment
-
Creates a new empty JavaCodeFragment.
- JavaCodeFragment(boolean) - Constructor for class org.faktorips.codegen.JavaCodeFragment
- JavaCodeFragment(String) - Constructor for class org.faktorips.codegen.JavaCodeFragment
-
Creates a new JavaCodeFragment with the indicated source code and no import statements.
- JavaCodeFragment(String, ImportDeclaration) - Constructor for class org.faktorips.codegen.JavaCodeFragment
-
Creates a new JavaCodeFragment with the indicated source code and import declaration.
- JavaCodeFragment(JavaCodeFragment) - Constructor for class org.faktorips.codegen.JavaCodeFragment
-
Copy constructor.
- JavaCodeFragment(JavaCodeFragment, String) - Constructor for class org.faktorips.codegen.JavaCodeFragment
-
Constructs a JavaCodeFragment that has the same source code as the given fragment with all import statements removed that are obsolete because of the indicated package.
- JavaCodeFragmentBuilder - Class in org.faktorips.codegen
-
A builder to create JavaCodeFragments with a uniform coding style.
- JavaCodeFragmentBuilder() - Constructor for class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Creates a new fragment builder to build Java source code.
- JavaCodeFragmentBuilder(boolean) - Constructor for class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Creates a new fragment builder to build Java source code.
- javaDoc(String, String...) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Puts the given text and annotations into a java doc comment.
L
- ListOfTypeDatatype - Class in org.faktorips.datatype
-
Datatype representing a list of objects of a basic datatype.
- ListOfTypeDatatype(Datatype) - Constructor for class org.faktorips.datatype.ListOfTypeDatatype
-
Constructs a new List type based on the given underlying basic type.
- ListOfValueDatatypeHelper - Class in org.faktorips.codegen.dthelpers
-
A helper class for lists of values.
- ListOfValueDatatypeHelper(DatatypeHelper) - Constructor for class org.faktorips.codegen.dthelpers.ListOfValueDatatypeHelper
- LocalDateDatatype - Class in org.faktorips.datatype.joda
-
Datatypefororg.joda.time.LocalDate. - LocalDateDatatype() - Constructor for class org.faktorips.datatype.joda.LocalDateDatatype
- LocalDateHelper - Class in org.faktorips.codegen.dthelpers.java8
- LocalDateHelper - Class in org.faktorips.codegen.dthelpers.joda
- LocalDateHelper() - Constructor for class org.faktorips.codegen.dthelpers.joda.LocalDateHelper
- LocalDateHelper(LocalDateDatatype) - Constructor for class org.faktorips.codegen.dthelpers.java8.LocalDateHelper
- LocalDateHelper(LocalDateDatatype) - Constructor for class org.faktorips.codegen.dthelpers.joda.LocalDateHelper
- LocalDateTimeDatatype - Class in org.faktorips.datatype.joda
-
Datatypefororg.joda.time.LocalDateTime. - LocalDateTimeDatatype() - Constructor for class org.faktorips.datatype.joda.LocalDateTimeDatatype
- LocalDateTimeHelper - Class in org.faktorips.codegen.dthelpers.java8
- LocalDateTimeHelper - Class in org.faktorips.codegen.dthelpers.joda
- LocalDateTimeHelper() - Constructor for class org.faktorips.codegen.dthelpers.joda.LocalDateTimeHelper
- LocalDateTimeHelper(LocalDateTimeDatatype) - Constructor for class org.faktorips.codegen.dthelpers.java8.LocalDateTimeHelper
- LocalDateTimeHelper(LocalDateTimeDatatype) - Constructor for class org.faktorips.codegen.dthelpers.joda.LocalDateTimeHelper
- LocalDateTimeToGregorianCalendarCg - Class in org.faktorips.codegen.conversion.java8
- LocalDateTimeToGregorianCalendarCg - Class in org.faktorips.codegen.conversion.joda
- LocalDateTimeToGregorianCalendarCg() - Constructor for class org.faktorips.codegen.conversion.java8.LocalDateTimeToGregorianCalendarCg
- LocalDateTimeToGregorianCalendarCg() - Constructor for class org.faktorips.codegen.conversion.joda.LocalDateTimeToGregorianCalendarCg
- LocalDateToGregorianCalendarCg - Class in org.faktorips.codegen.conversion.java8
- LocalDateToGregorianCalendarCg - Class in org.faktorips.codegen.conversion.joda
- LocalDateToGregorianCalendarCg() - Constructor for class org.faktorips.codegen.conversion.java8.LocalDateToGregorianCalendarCg
- LocalDateToGregorianCalendarCg() - Constructor for class org.faktorips.codegen.conversion.joda.LocalDateToGregorianCalendarCg
- LocalizedStringsSet - Class in org.faktorips.datatype.util
-
A LocalizedStringsSet is a set of strings available in different locales.
- LocalizedStringsSet(Class<?>) - Constructor for class org.faktorips.datatype.util.LocalizedStringsSet
-
Creates a new set that uses the indicated class' name as qualified name.
- LocalizedStringsSet(String, ClassLoader) - Constructor for class org.faktorips.datatype.util.LocalizedStringsSet
-
Creates a new StringsSet with the indicated qualified name.
- LocalTimeDatatype - Class in org.faktorips.datatype.joda
-
Datatypefororg.joda.time.LocalTime. - LocalTimeDatatype() - Constructor for class org.faktorips.datatype.joda.LocalTimeDatatype
- LocalTimeHelper - Class in org.faktorips.codegen.dthelpers.java8
- LocalTimeHelper - Class in org.faktorips.codegen.dthelpers.joda
- LocalTimeHelper() - Constructor for class org.faktorips.codegen.dthelpers.joda.LocalTimeHelper
- LocalTimeHelper(LocalTimeDatatype) - Constructor for class org.faktorips.codegen.dthelpers.java8.LocalTimeHelper
- LocalTimeHelper(LocalTimeDatatype) - Constructor for class org.faktorips.codegen.dthelpers.joda.LocalTimeHelper
- LONG - Static variable in interface org.faktorips.codegen.DatatypeHelper
-
Helper for
Datatype.LONG. - LONG - Static variable in interface org.faktorips.datatype.Datatype
-
Datatype representing
Long. - LongDatatype - Class in org.faktorips.datatype.classtypes
-
Datatype for
Long. - LongDatatype() - Constructor for class org.faktorips.datatype.classtypes.LongDatatype
- LongHelper - Class in org.faktorips.codegen.dthelpers
- LongHelper() - Constructor for class org.faktorips.codegen.dthelpers.LongHelper
-
Constructs a new helper.
- LongHelper(LongDatatype) - Constructor for class org.faktorips.codegen.dthelpers.LongHelper
-
Constructs a new helper for the given integer datatype.
- longLiteral(String) - Static method in class org.faktorips.codegen.dthelpers.PrimitiveLongHelper
-
Appends a trailing 'L' to the given value if it is a number
- LongToBigDecimalCg - Class in org.faktorips.codegen.conversion
- LongToBigDecimalCg() - Constructor for class org.faktorips.codegen.conversion.LongToBigDecimalCg
- LongToDecimalCg - Class in org.faktorips.codegen.conversion
- LongToDecimalCg() - Constructor for class org.faktorips.codegen.conversion.LongToDecimalCg
- LongToIntegerCg - Class in org.faktorips.codegen.conversion
- LongToIntegerCg() - Constructor for class org.faktorips.codegen.conversion.LongToIntegerCg
- LongToPrimitiveLongCg - Class in org.faktorips.codegen.conversion
- LongToPrimitiveLongCg() - Constructor for class org.faktorips.codegen.conversion.LongToPrimitiveLongCg
M
- matchDatatype(Datatype) - Method in class org.faktorips.datatype.AbstractDatatype
-
Returns true if the dataType is instance of AnyDatatype otherwise it call
AbstractDatatype.equals(Object). - matchDatatype(Datatype) - Method in class org.faktorips.datatype.ListOfTypeDatatype
- method(int, Class<?>, String, String[], Class<?>[], Class<?>[], JavaCodeFragment, String) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Creates the Java source code for a method including signature, body and java doc.
- method(int, Class<?>, String, String[], Class<?>[], JavaCodeFragment, String) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Creates the Java source code for a method including signature, body and java doc.
- method(int, Class<?>, String, String[], Class<?>[], JavaCodeFragment, String, String...) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Creates the Java source code for a method including signature, body and java doc.
- method(int, Class<?>, String, String[], Class<?>[], JavaCodeFragment, String, String[], String[]) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Creates the Java source code for a method including signature, body and java doc.
- method(int, String, String, String[], String[], JavaCodeFragment, String) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Creates the Java source code for a method including signature, body and java doc.
- method(int, String, String, String[], String[], JavaCodeFragment, String, String...) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Creates the Java source code for a method including signature, body and java doc.
- method(int, String, String, String[], String[], JavaCodeFragment, String, String[], String[]) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Creates the Java source code for a method including signature, body and java doc.
- methodBegin(int, Class<?>, String, String[], Class<?>[]) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Creates the Java source code for a method signature.
- methodBegin(int, Class<?>, String, String[], Class<?>[], Class<?>[]) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Creates the Java source code for a method signature.
- methodBegin(int, Class<?>, String, String[], Class<?>[], String, String[]) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Creates the Java source code for a method signature.
- methodBegin(int, String, String, String[], String[]) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Creates the Java source code for a method signature.
- methodBegin(int, String, String, String[], String[], String) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Creates the Java source code for a method signature.
- methodBegin(int, String, String, String[], String[], String[]) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Creates the Java source code for a method signature.
- methodBegin(int, String, String, String[], String[], String, String[]) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Creates the Java source code for a method signature.
- methodCall(String, String[], boolean) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Writes a method call to the java code fragment builder.
- methodCall(String, List<String>, boolean) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
- methodCall(String, JavaCodeFragment[], boolean) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Writes a method call to the java code fragment builder.
- methodEnd() - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Appends the source code for the the end of a method.
- MONEY - Static variable in interface org.faktorips.codegen.DatatypeHelper
-
Helper for
Datatype.MONEY. - MONEY - Static variable in interface org.faktorips.datatype.Datatype
-
Datatype representing
Money. - MoneyDatatype - Class in org.faktorips.datatype.classtypes
-
Datatype for
Money. - MoneyDatatype() - Constructor for class org.faktorips.datatype.classtypes.MoneyDatatype
- MoneyHelper - Class in org.faktorips.codegen.dthelpers
- MoneyHelper() - Constructor for class org.faktorips.codegen.dthelpers.MoneyHelper
-
Constructs a new helper.
- MoneyHelper(MoneyDatatype) - Constructor for class org.faktorips.codegen.dthelpers.MoneyHelper
-
Constructs a new helper for the given money datatype.
- MonthDayDatatype - Class in org.faktorips.datatype.joda
- MonthDayDatatype() - Constructor for class org.faktorips.datatype.joda.MonthDayDatatype
- MonthDayHelper - Class in org.faktorips.codegen.dthelpers.java8
- MonthDayHelper - Class in org.faktorips.codegen.dthelpers.joda
- MonthDayHelper() - Constructor for class org.faktorips.codegen.dthelpers.joda.MonthDayHelper
- MonthDayHelper(MonthDayDatatype) - Constructor for class org.faktorips.codegen.dthelpers.java8.MonthDayHelper
- MonthDayHelper(MonthDayDatatype) - Constructor for class org.faktorips.codegen.dthelpers.joda.MonthDayHelper
- MONTHS - Enum constant in enum class org.faktorips.codegen.dthelpers.ILocalDateHelper.Period
- MSGCODE_GET_ALL_VALUES_METHOD_NOT_FOUND - Static variable in class org.faktorips.datatype.GenericValueDatatype
- MSGCODE_GETVALUE_METHOD_NOT_FOUND - Static variable in class org.faktorips.datatype.GenericValueDatatype
- MSGCODE_ISPARSABLE_METHOD_NOT_FOUND - Static variable in class org.faktorips.datatype.GenericValueDatatype
- MSGCODE_JAVACLASS_NOT_FOUND - Static variable in class org.faktorips.datatype.GenericValueDatatype
- MSGCODE_PREFIX - Static variable in class org.faktorips.datatype.GenericValueDatatype
- MSGCODE_PREFIX_GET_ALL_VALUES_METHOD - Static variable in class org.faktorips.datatype.GenericValueDatatype
- MSGCODE_PREFIX_GET_NAME_METHOD - Static variable in class org.faktorips.datatype.GenericEnumDatatype
- MSGCODE_PREFIX_GET_VALUE_METHOD - Static variable in class org.faktorips.datatype.GenericValueDatatype
- MSGCODE_PREFIX_IS_PARSABLE_METHOD - Static variable in class org.faktorips.datatype.GenericValueDatatype
- MSGCODE_PREFIX_TO_STRING_METHOD - Static variable in class org.faktorips.datatype.GenericValueDatatype
- MSGCODE_PREFIX_VALUE_OF_METHOD - Static variable in class org.faktorips.datatype.GenericValueDatatype
- MSGCODE_SPECIALCASE_NULL_IS_NOT_NULL - Static variable in class org.faktorips.datatype.GenericValueDatatype
- MSGCODE_SPECIALCASE_NULL_NOT_FOUND - Static variable in class org.faktorips.datatype.GenericValueDatatype
- MSGCODE_TOSTRING_METHOD_NOT_FOUND - Static variable in class org.faktorips.datatype.GenericValueDatatype
- MSGCODE_VALUE_OF_METHOD_NOT_FOUND - Static variable in class org.faktorips.datatype.GenericValueDatatype
- multiLineComment(String) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
N
- NAME - Static variable in class org.faktorips.datatype.joda.MonthDayDatatype
- NamedDatatype - Interface in org.faktorips.datatype
-
A
ValueDatatypethat can have a human readable name (for example currency symbols like $ and € or full names like "annual payment" or "monthly payment") for each of its values. - newEmptyRegistry() - Static method in class org.faktorips.codegen.DefaultDatatypeHelperRegistry
-
Returns a new empty registry.
- newEnumValueSetInstance(String[], boolean) - Method in class org.faktorips.codegen.dthelpers.AbstractPrimitiveDatatypeHelper
- newEnumValueSetInstance(String[], boolean, boolean) - Method in interface org.faktorips.codegen.DatatypeHelper
-
Returns a
JavaCodeFragmentcontaining the source code to create a new enum value set instance. - newEnumValueSetInstance(String[], boolean, boolean) - Method in class org.faktorips.codegen.dthelpers.AbstractDatatypeHelper
-
Returns a
JavaCodeFragmentcontaining the source code to create a new enum value set instance. - newEnumValueSetInstance(JavaCodeFragment, JavaCodeFragment) - Method in class org.faktorips.codegen.dthelpers.AbstractPrimitiveDatatypeHelper
- newEnumValueSetInstance(JavaCodeFragment, JavaCodeFragment, boolean) - Method in interface org.faktorips.codegen.DatatypeHelper
-
Returns a
JavaCodeFragmentcontaining the source code to create a new enum value set instance. - newEnumValueSetInstance(JavaCodeFragment, JavaCodeFragment, boolean) - Method in class org.faktorips.codegen.dthelpers.AbstractDatatypeHelper
- newInstance(String) - Method in interface org.faktorips.codegen.BaseDatatypeHelper
-
Returns a CodeFragment with source code that creates an instance of the data type with the given value.
- newInstance(String) - Method in interface org.faktorips.codegen.DatatypeHelper
-
Returns a
JavaCodeFragmentwith sourcecode that creates an instance of the datatype's Java class with the given value. - newInstance(String) - Method in class org.faktorips.codegen.dthelpers.AbstractTimeHelper
- newInstance(String) - Method in class org.faktorips.codegen.dthelpers.ArrayOfValueDatatypeHelper
-
Returns a "null" fragment.
- newInstance(String) - Method in class org.faktorips.codegen.dthelpers.BigDecimalHelper
- newInstance(String) - Method in class org.faktorips.codegen.dthelpers.BooleanHelper
- newInstance(String) - Method in class org.faktorips.codegen.dthelpers.CurrencyHelper
- newInstance(String) - Method in class org.faktorips.codegen.dthelpers.DateHelper
- newInstance(String) - Method in class org.faktorips.codegen.dthelpers.DecimalHelper
- newInstance(String) - Method in class org.faktorips.codegen.dthelpers.DoubleHelper
- newInstance(String) - Method in class org.faktorips.codegen.dthelpers.GenericValueDatatypeHelper
- newInstance(String) - Method in class org.faktorips.codegen.dthelpers.GregorianCalendarAsDateHelper
- newInstance(String) - Method in class org.faktorips.codegen.dthelpers.IntegerHelper
- newInstance(String) - Method in class org.faktorips.codegen.dthelpers.InternationalStringDatatypeHelper
- newInstance(String) - Method in class org.faktorips.codegen.dthelpers.ListOfValueDatatypeHelper
-
Returns code that creates a list where the given expression is used as a constructor argument.
- newInstance(String) - Method in class org.faktorips.codegen.dthelpers.LongHelper
- newInstance(String) - Method in class org.faktorips.codegen.dthelpers.MoneyHelper
- newInstance(String) - Method in class org.faktorips.codegen.dthelpers.PrimitiveBooleanHelper
- newInstance(String) - Method in class org.faktorips.codegen.dthelpers.PrimitiveIntegerHelper
- newInstance(String) - Method in class org.faktorips.codegen.dthelpers.PrimitiveLongHelper
- newInstance(String) - Method in class org.faktorips.codegen.dthelpers.StringHelper
- newInstanceFromExpression(String) - Method in interface org.faktorips.codegen.BaseDatatypeHelper
-
Returns a CodeFragment with source code that creates an instance of the data type with the given expression.
- newInstanceFromExpression(String) - Method in interface org.faktorips.codegen.DatatypeHelper
-
Returns a JavaCodeFragment with sourcecode that creates an instance of the datatype's Java class with the given expression.
- newInstanceFromExpression(String) - Method in class org.faktorips.codegen.dthelpers.AbstractDatatypeHelper
- newInstanceFromExpression(String) - Method in class org.faktorips.codegen.dthelpers.AbstractPrimitiveDatatypeHelper
- newInstanceFromExpression(String) - Method in class org.faktorips.codegen.dthelpers.DecimalHelper
-
Methode der Oberklasse wird ueberschrieben, weil bei diesem Datentyp valueOf-Methode selbst Null-Expression zurueckgeben kann
- newInstanceFromExpression(String) - Method in class org.faktorips.codegen.dthelpers.MoneyHelper
-
Methode der Oberklasse wird ueberschrieben, weil bei diesem Datentyp valueOf-Methode selbst Null-Expression zurueckgeben kann
- newInstanceFromExpression(String) - Method in class org.faktorips.codegen.dthelpers.StringHelper
- newInstanceFromExpression(String, boolean) - Method in interface org.faktorips.codegen.BaseDatatypeHelper
-
Returns a CodeFragment with source code that creates an instance of the data type with the given expression.
- newInstanceFromExpression(String, boolean) - Method in interface org.faktorips.codegen.DatatypeHelper
-
Returns a JavaCodeFragment with sourcecode that creates an instance of the datatype's Java class with the given expression.
- newInstanceFromExpression(String, boolean) - Method in class org.faktorips.codegen.dthelpers.AbstractDatatypeHelper
- newInstanceFromExpression(String, boolean) - Method in class org.faktorips.codegen.dthelpers.InternationalStringDatatypeHelper
-
Returns a JavaCodeFragment with sourcecode that creates an instance of the datatype's Java class with the given expression.
- newRangeInstance(JavaCodeFragment, JavaCodeFragment, JavaCodeFragment, JavaCodeFragment, boolean) - Method in interface org.faktorips.codegen.DatatypeHelper
-
Returns a
JavaCodeFragmentcontaining the source code to create a new instance of a type specific range. - newRangeInstance(JavaCodeFragment, JavaCodeFragment, JavaCodeFragment, JavaCodeFragment, boolean) - Method in class org.faktorips.codegen.dthelpers.AbstractDatatypeHelper
- newRangeInstance(JavaCodeFragment, JavaCodeFragment, JavaCodeFragment, JavaCodeFragment, boolean) - Method in class org.faktorips.codegen.dthelpers.BigDecimalHelper
- newRangeInstance(JavaCodeFragment, JavaCodeFragment, JavaCodeFragment, JavaCodeFragment, boolean) - Method in class org.faktorips.codegen.dthelpers.DateHelper
- newRangeInstance(JavaCodeFragment, JavaCodeFragment, JavaCodeFragment, JavaCodeFragment, boolean) - Method in class org.faktorips.codegen.dthelpers.DecimalHelper
- newRangeInstance(JavaCodeFragment, JavaCodeFragment, JavaCodeFragment, JavaCodeFragment, boolean) - Method in class org.faktorips.codegen.dthelpers.DoubleHelper
- newRangeInstance(JavaCodeFragment, JavaCodeFragment, JavaCodeFragment, JavaCodeFragment, boolean) - Method in class org.faktorips.codegen.dthelpers.IntegerHelper
- newRangeInstance(JavaCodeFragment, JavaCodeFragment, JavaCodeFragment, JavaCodeFragment, boolean) - Method in class org.faktorips.codegen.dthelpers.ListOfValueDatatypeHelper
- newRangeInstance(JavaCodeFragment, JavaCodeFragment, JavaCodeFragment, JavaCodeFragment, boolean) - Method in class org.faktorips.codegen.dthelpers.LongHelper
- newRangeInstance(JavaCodeFragment, JavaCodeFragment, JavaCodeFragment, JavaCodeFragment, boolean) - Method in class org.faktorips.codegen.dthelpers.MoneyHelper
- newSafeCopy(String) - Method in class org.faktorips.codegen.dthelpers.AbstractDatatypeHelper
-
Helpers for immutable datatypes must override this method to create a copy of the value given in the expression.
- newSafeCopy(String) - Method in class org.faktorips.codegen.dthelpers.GregorianCalendarAsDateHelper
- newValueInstance(String) - Method in interface org.faktorips.codegen.DatatypeHelper
-
Returns a
JavaCodeFragmentfor the value datatype. - newValueInstance(String) - Method in class org.faktorips.codegen.dthelpers.ListOfValueDatatypeHelper
- nullExpression() - Method in interface org.faktorips.codegen.BaseDatatypeHelper
-
Returns a CodeFragment with source code that is either the String "null" or the source code to get an instance of the appropriate null object.
- nullExpression() - Method in interface org.faktorips.codegen.DatatypeHelper
-
Returns a
JavaCodeFragmentwith sourcecode that is either the String "null" or the sourcecode to get an instance of the appropriate null object. - nullExpression() - Method in class org.faktorips.codegen.dthelpers.AbstractDatatypeHelper
-
Returns
"null". - nullExpression() - Method in class org.faktorips.codegen.dthelpers.AbstractPrimitiveDatatypeHelper
- nullExpression() - Method in class org.faktorips.codegen.dthelpers.DecimalHelper
- nullExpression() - Method in class org.faktorips.codegen.dthelpers.GenericValueDatatypeHelper
- nullExpression() - Method in class org.faktorips.codegen.dthelpers.joda.BaseJodaDatatypeHelper
- nullExpression() - Method in class org.faktorips.codegen.dthelpers.MoneyHelper
- NumericDatatype - Interface in org.faktorips.datatype
-
Special value datatype representing numbers.
O
- openBracket() - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Adds an opening bracket followed by a newline and increases the indentation level by one afterwards.
- ORG_FAKTORIPS_UTIL_JODA_UTIL - Static variable in class org.faktorips.codegen.dthelpers.joda.BaseJodaDatatypeHelper
- ORG_JODA_TIME_FORMAT_ISO_DATE_TIME_FORMAT - Static variable in class org.faktorips.codegen.dthelpers.joda.BaseJodaDatatypeHelper
- ORG_JODA_TIME_LOCAL_DATE - Static variable in class org.faktorips.codegen.dthelpers.joda.LocalDateHelper
- ORG_JODA_TIME_LOCAL_DATE_TIME - Static variable in class org.faktorips.codegen.dthelpers.joda.LocalDateTimeHelper
- ORG_JODA_TIME_LOCAL_TIME - Static variable in class org.faktorips.codegen.dthelpers.joda.LocalTimeHelper
- ORG_JODA_TIME_MONTH_DAY - Static variable in class org.faktorips.codegen.dthelpers.joda.MonthDayHelper
- org.faktorips.codegen - package org.faktorips.codegen
- org.faktorips.codegen.conversion - package org.faktorips.codegen.conversion
- org.faktorips.codegen.conversion.java8 - package org.faktorips.codegen.conversion.java8
- org.faktorips.codegen.conversion.joda - package org.faktorips.codegen.conversion.joda
- org.faktorips.codegen.dthelpers - package org.faktorips.codegen.dthelpers
- org.faktorips.codegen.dthelpers.java8 - package org.faktorips.codegen.dthelpers.java8
- org.faktorips.codegen.dthelpers.joda - package org.faktorips.codegen.dthelpers.joda
- org.faktorips.datatype - package org.faktorips.datatype
- org.faktorips.datatype.classtypes - package org.faktorips.datatype.classtypes
- org.faktorips.datatype.joda - package org.faktorips.datatype.joda
- org.faktorips.datatype.util - package org.faktorips.datatype.util
P
- PRIMITIVE_BOOLEAN - Static variable in interface org.faktorips.codegen.DatatypeHelper
-
Helper for
Datatype.PRIMITIVE_BOOLEAN. - PRIMITIVE_BOOLEAN - Static variable in interface org.faktorips.datatype.Datatype
-
Datatype representing the primitive
boolean. - PRIMITIVE_INT - Static variable in interface org.faktorips.datatype.Datatype
-
Datatype representing the primitive
int. - PRIMITIVE_INTEGER - Static variable in interface org.faktorips.codegen.DatatypeHelper
-
Helper for
Datatype.PRIMITIVE_INTEGER. - PRIMITIVE_LONG - Static variable in interface org.faktorips.datatype.Datatype
-
Datatype representing the primitive
long. - PrimitiveBooleanDatatype - Class in org.faktorips.datatype
-
Datatype for the primitive
boolean. - PrimitiveBooleanDatatype() - Constructor for class org.faktorips.datatype.PrimitiveBooleanDatatype
- PrimitiveBooleanHelper - Class in org.faktorips.codegen.dthelpers
- PrimitiveBooleanHelper() - Constructor for class org.faktorips.codegen.dthelpers.PrimitiveBooleanHelper
-
Constructs a new helper.
- PrimitiveBooleanHelper(PrimitiveBooleanDatatype) - Constructor for class org.faktorips.codegen.dthelpers.PrimitiveBooleanHelper
-
Constructs a new helper for the given primitive boolean datatype.
- PrimitiveBooleanToBooleanCg - Class in org.faktorips.codegen.conversion
- PrimitiveBooleanToBooleanCg() - Constructor for class org.faktorips.codegen.conversion.PrimitiveBooleanToBooleanCg
- PrimitiveDatatypeHelper - Interface in org.faktorips.codegen
-
Extended DatatypeHelper variant for data types representing Java's primitives.
- PrimitiveIntegerDatatype - Class in org.faktorips.datatype
-
Datatype for the primitive
int. - PrimitiveIntegerDatatype() - Constructor for class org.faktorips.datatype.PrimitiveIntegerDatatype
- PrimitiveIntegerHelper - Class in org.faktorips.codegen.dthelpers
- PrimitiveIntegerHelper() - Constructor for class org.faktorips.codegen.dthelpers.PrimitiveIntegerHelper
-
Constructs a new helper.
- PrimitiveIntegerHelper(PrimitiveIntegerDatatype) - Constructor for class org.faktorips.codegen.dthelpers.PrimitiveIntegerHelper
-
Constructs a new helper for the given primitive integer datatype.
- PrimitiveIntToBigDecimalCg - Class in org.faktorips.codegen.conversion
- PrimitiveIntToBigDecimalCg() - Constructor for class org.faktorips.codegen.conversion.PrimitiveIntToBigDecimalCg
- PrimitiveIntToDecimalCg - Class in org.faktorips.codegen.conversion
- PrimitiveIntToDecimalCg() - Constructor for class org.faktorips.codegen.conversion.PrimitiveIntToDecimalCg
- PrimitiveIntToIntegerCg - Class in org.faktorips.codegen.conversion
- PrimitiveIntToIntegerCg() - Constructor for class org.faktorips.codegen.conversion.PrimitiveIntToIntegerCg
- PrimitiveIntToLongCg - Class in org.faktorips.codegen.conversion
- PrimitiveIntToLongCg() - Constructor for class org.faktorips.codegen.conversion.PrimitiveIntToLongCg
- PrimitiveIntToPrimitiveLongCg - Class in org.faktorips.codegen.conversion
- PrimitiveIntToPrimitiveLongCg() - Constructor for class org.faktorips.codegen.conversion.PrimitiveIntToPrimitiveLongCg
- PrimitiveLongDatatype - Class in org.faktorips.datatype
-
Datatype for the primitive
long. - PrimitiveLongDatatype() - Constructor for class org.faktorips.datatype.PrimitiveLongDatatype
- PrimitiveLongHelper - Class in org.faktorips.codegen.dthelpers
- PrimitiveLongHelper() - Constructor for class org.faktorips.codegen.dthelpers.PrimitiveLongHelper
-
Constructs a new helper.
- PrimitiveLongHelper(PrimitiveLongDatatype) - Constructor for class org.faktorips.codegen.dthelpers.PrimitiveLongHelper
-
Constructs a new helper for the given primitive long datatype.
- PrimitiveLongToBigDecimalCg - Class in org.faktorips.codegen.conversion
- PrimitiveLongToBigDecimalCg() - Constructor for class org.faktorips.codegen.conversion.PrimitiveLongToBigDecimalCg
- PrimitiveLongToLongCg - Class in org.faktorips.codegen.conversion
- PrimitiveLongToLongCg() - Constructor for class org.faktorips.codegen.conversion.PrimitiveLongToLongCg
- PrimitiveLongToPrimitiveIntCg - Class in org.faktorips.codegen.conversion
- PrimitiveLongToPrimitiveIntCg() - Constructor for class org.faktorips.codegen.conversion.PrimitiveLongToPrimitiveIntCg
Q
- qualifiedName(String, String) - Static method in class org.faktorips.codegen.ClassNameUtil
-
Returns the qualified name for the given package name and unqualified name.
R
- referenceOrSafeCopyIfNeccessary(String) - Method in interface org.faktorips.codegen.DatatypeHelper
-
If this is a helper for a mutable data type (like GregorianCalendar for example) this method return the code fragment that creates a copy of the given expression.
- referenceOrSafeCopyIfNeccessary(String) - Method in class org.faktorips.codegen.dthelpers.AbstractDatatypeHelper
- referenceOrSafeCopyIfNeccessary(String) - Method in class org.faktorips.codegen.dthelpers.ListOfValueDatatypeHelper
- register(DatatypeHelper) - Method in interface org.faktorips.codegen.DatatypeHelperRegistry
-
Registers the datatype helper.
- register(DatatypeHelper) - Method in class org.faktorips.codegen.DefaultDatatypeHelperRegistry
S
- setAllValuesMethodName(String) - Method in class org.faktorips.datatype.GenericValueDatatype
- setCacheData(boolean) - Method in class org.faktorips.datatype.GenericEnumDatatype
-
Sets to
trueif the values' ids and names should be cached, otherwisefalse. - setDatatype(Datatype) - Method in interface org.faktorips.codegen.BaseDatatypeHelper
-
Sets the data type this is a helper for.
- setDatatype(Datatype) - Method in interface org.faktorips.codegen.DatatypeHelper
-
Sets the datatype this is a helper for.
- setDatatype(Datatype) - Method in class org.faktorips.codegen.dthelpers.AbstractDatatypeHelper
- setDatatype(Datatype) - Method in class org.faktorips.codegen.dthelpers.ArrayOfValueDatatypeHelper
- setDatatype(Datatype) - Method in class org.faktorips.codegen.dthelpers.InternationalStringDatatypeHelper
- setGetNameMethodName(String) - Method in class org.faktorips.datatype.GenericEnumDatatype
-
Sets the name of the getName(String) method.
- setIsParsableMethodName(String) - Method in class org.faktorips.datatype.GenericValueDatatype
- setIsSupportingNames(boolean) - Method in class org.faktorips.datatype.GenericEnumDatatype
- setNullObjectDefined(boolean) - Method in class org.faktorips.datatype.GenericValueDatatype
-
Sets if this datatype is an application of the NullObject pattern.
- setNullObjectId(String) - Method in class org.faktorips.datatype.GenericValueDatatype
-
Sets the String identification of the special NullObject.
- setQualifiedName(String) - Method in class org.faktorips.datatype.GenericValueDatatype
- setToStringMethodName(String) - Method in class org.faktorips.datatype.GenericValueDatatype
- setValueOfMethodName(String) - Method in class org.faktorips.datatype.GenericValueDatatype
- signature(int, String, String, String[], String[]) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Creates the Java source code for a method signature.
- signature(int, String, String, String[], String[], boolean) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Creates the Java source code for a method signature.
- signature(int, String, String, String[], String[], String[]) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Creates the Java source code for a method signature.
- signature(int, String, String, String[], String[], String, String[]) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Creates the Java source code for a method signature.
- signature(int, JavaCodeFragment, String, String[], String[]) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Creates the Java source code for a method signature.
- signature(int, JavaCodeFragment, String, String[], String[], String[]) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Creates the Java source code for a method signature.
- SingleConversionCg<T extends CodeFragment> - Interface in org.faktorips.codegen
- singleLineComment(String) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
- STRING - Static variable in interface org.faktorips.codegen.DatatypeHelper
-
Helper for
Datatype.STRING. - STRING - Static variable in interface org.faktorips.datatype.Datatype
-
Datatype representing
java.lang.String - StringDatatype - Class in org.faktorips.datatype.classtypes
-
Datatype for Strings.
- StringDatatype() - Constructor for class org.faktorips.datatype.classtypes.StringDatatype
- StringHelper - Class in org.faktorips.codegen.dthelpers
- StringHelper() - Constructor for class org.faktorips.codegen.dthelpers.StringHelper
-
Constructs a new helper for the string datatype.
- StringHelper(StringDatatype) - Constructor for class org.faktorips.codegen.dthelpers.StringHelper
-
Constructs a new helper for the given string datatype.
- subtract(String, String) - Method in class org.faktorips.datatype.classtypes.BigDecimalDatatype
- subtract(String, String) - Method in class org.faktorips.datatype.classtypes.DecimalDatatype
- subtract(String, String) - Method in class org.faktorips.datatype.classtypes.DoubleDatatype
- subtract(String, String) - Method in class org.faktorips.datatype.classtypes.IntegerDatatype
- subtract(String, String) - Method in class org.faktorips.datatype.classtypes.LongDatatype
- subtract(String, String) - Method in class org.faktorips.datatype.classtypes.MoneyDatatype
- subtract(String, String) - Method in interface org.faktorips.datatype.NumericDatatype
-
Subtraction.
- subtract(String, String) - Method in class org.faktorips.datatype.PrimitiveIntegerDatatype
- subtract(String, String) - Method in class org.faktorips.datatype.PrimitiveLongDatatype
- supportsCompare() - Method in class org.faktorips.datatype.ArrayOfValueDatatype
- supportsCompare() - Method in class org.faktorips.datatype.classtypes.BigDecimalDatatype
- supportsCompare() - Method in class org.faktorips.datatype.classtypes.BooleanDatatype
- supportsCompare() - Method in class org.faktorips.datatype.classtypes.CurrencyDatatype
- supportsCompare() - Method in class org.faktorips.datatype.classtypes.DateDatatype
- supportsCompare() - Method in class org.faktorips.datatype.classtypes.DecimalDatatype
- supportsCompare() - Method in class org.faktorips.datatype.classtypes.DoubleDatatype
- supportsCompare() - Method in class org.faktorips.datatype.classtypes.GregorianCalendarDatatype
- supportsCompare() - Method in class org.faktorips.datatype.classtypes.IntegerDatatype
- supportsCompare() - Method in class org.faktorips.datatype.classtypes.LongDatatype
- supportsCompare() - Method in class org.faktorips.datatype.classtypes.MoneyDatatype
- supportsCompare() - Method in class org.faktorips.datatype.classtypes.StringDatatype
- supportsCompare() - Method in class org.faktorips.datatype.GenericValueDatatype
- supportsCompare() - Method in class org.faktorips.datatype.InternationalStringDatatype
- supportsCompare() - Method in class org.faktorips.datatype.joda.LocalDateDatatype
- supportsCompare() - Method in class org.faktorips.datatype.joda.LocalDateTimeDatatype
- supportsCompare() - Method in class org.faktorips.datatype.joda.LocalTimeDatatype
- supportsCompare() - Method in class org.faktorips.datatype.joda.MonthDayDatatype
- supportsCompare() - Method in class org.faktorips.datatype.ListOfTypeDatatype
- supportsCompare() - Method in class org.faktorips.datatype.PrimitiveBooleanDatatype
- supportsCompare() - Method in class org.faktorips.datatype.PrimitiveIntegerDatatype
- supportsCompare() - Method in class org.faktorips.datatype.PrimitiveLongDatatype
- supportsCompare() - Method in interface org.faktorips.datatype.ValueDatatype
- supportsCompare() - Method in class org.faktorips.datatype.Void
T
- toString() - Method in class org.faktorips.codegen.CodeFragment
-
Returns the CodeFragment as String.
- toString() - Method in class org.faktorips.codegen.ImportDeclaration
-
Returns the import statements as a string.
- toString() - Method in class org.faktorips.codegen.JavaCodeFragment
-
Returns the CodeFragment as String in "normal" Java style, that means first all import statements, new line, than the source code.
- toString() - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
- toString() - Method in class org.faktorips.datatype.AbstractDatatype
-
Returns the type's name.
- toString() - Method in class org.faktorips.datatype.GenericValueDatatype
- toWrapper(JavaCodeFragment) - Method in class org.faktorips.codegen.dthelpers.PrimitiveBooleanHelper
- toWrapper(JavaCodeFragment) - Method in class org.faktorips.codegen.dthelpers.PrimitiveIntegerHelper
- toWrapper(JavaCodeFragment) - Method in class org.faktorips.codegen.dthelpers.PrimitiveLongHelper
- toWrapper(JavaCodeFragment) - Method in interface org.faktorips.codegen.PrimitiveDatatypeHelper
-
Given a JavaCodeFragment containing an expression of the primitive type this is a helper for, returns a JavaCodeFragment that converts the given expression to the appropriate wrapper class.
U
- unqualifiedName(String) - Static method in class org.faktorips.codegen.ClassNameUtil
-
Takes a name like a class name and removes the package information from the beginning.
V
- validate() - Method in class org.faktorips.datatype.AnyDatatype
- ValueClassDatatype - Class in org.faktorips.datatype
-
Deprecated.
- ValueClassDatatype(Class<?>) - Constructor for class org.faktorips.datatype.ValueClassDatatype
-
Deprecated.Creates a new instance using the given type.
- ValueClassDatatype(Class<?>, String) - Constructor for class org.faktorips.datatype.ValueClassDatatype
-
Deprecated.Creates a new instance using the given class and name.
- ValueClassNameDatatype - Class in org.faktorips.datatype
-
A datatype that represents a Java class representing a value, for example
java.lang.String. - ValueClassNameDatatype(String) - Constructor for class org.faktorips.datatype.ValueClassNameDatatype
- ValueDatatype - Interface in org.faktorips.datatype
-
A datatype representing values (in contrast to reference objects).
- valueOf(String) - Static method in enum class org.faktorips.codegen.dthelpers.ILocalDateHelper.Period
-
Returns the enum constant of this class with the specified name.
- valueOfExpression(String) - Method in class org.faktorips.codegen.dthelpers.AbstractDatatypeHelper
-
This method is supposed to be overridden by subclasses.
- valueOfExpression(String) - Method in class org.faktorips.codegen.dthelpers.ArrayOfValueDatatypeHelper
-
Returns a "null" fragment.
- valueOfExpression(String) - Method in class org.faktorips.codegen.dthelpers.BigDecimalHelper
- valueOfExpression(String) - Method in class org.faktorips.codegen.dthelpers.BooleanHelper
- valueOfExpression(String) - Method in class org.faktorips.codegen.dthelpers.CurrencyHelper
- valueOfExpression(String) - Method in class org.faktorips.codegen.dthelpers.DateHelper
- valueOfExpression(String) - Method in class org.faktorips.codegen.dthelpers.DecimalHelper
- valueOfExpression(String) - Method in class org.faktorips.codegen.dthelpers.DoubleHelper
- valueOfExpression(String) - Method in class org.faktorips.codegen.dthelpers.GenericValueDatatypeHelper
- valueOfExpression(String) - Method in class org.faktorips.codegen.dthelpers.GregorianCalendarAsDateHelper
- valueOfExpression(String) - Method in class org.faktorips.codegen.dthelpers.IntegerHelper
- valueOfExpression(String) - Method in class org.faktorips.codegen.dthelpers.InternationalStringDatatypeHelper
- valueOfExpression(String) - Method in class org.faktorips.codegen.dthelpers.java8.LocalDateHelper
- valueOfExpression(String) - Method in class org.faktorips.codegen.dthelpers.java8.LocalDateTimeHelper
- valueOfExpression(String) - Method in class org.faktorips.codegen.dthelpers.java8.LocalTimeHelper
- valueOfExpression(String) - Method in class org.faktorips.codegen.dthelpers.java8.MonthDayHelper
- valueOfExpression(String) - Method in class org.faktorips.codegen.dthelpers.joda.BaseJodaDatatypeHelper
- valueOfExpression(String) - Method in class org.faktorips.codegen.dthelpers.ListOfValueDatatypeHelper
-
Expects a list as expression and returns code that creates a copy of that list.
- valueOfExpression(String) - Method in class org.faktorips.codegen.dthelpers.LongHelper
- valueOfExpression(String) - Method in class org.faktorips.codegen.dthelpers.MoneyHelper
- valueOfExpression(String) - Method in class org.faktorips.codegen.dthelpers.PrimitiveBooleanHelper
- valueOfExpression(String) - Method in class org.faktorips.codegen.dthelpers.PrimitiveIntegerHelper
- valueOfExpression(String) - Method in class org.faktorips.codegen.dthelpers.PrimitiveLongHelper
- valueOfExpression(String) - Method in class org.faktorips.codegen.dthelpers.StringHelper
- values() - Static method in enum class org.faktorips.codegen.dthelpers.ILocalDateHelper.Period
-
Returns an array containing the constants of this enum class, in the order they are declared.
- valueToString(Object) - Method in class org.faktorips.datatype.AbstractPrimitiveDatatype
- valueToString(Object) - Method in class org.faktorips.datatype.ArrayOfValueDatatype
-
If the value is null, null will be returned.
- valueToString(Object) - Method in class org.faktorips.datatype.classtypes.DateDatatype
- valueToString(Object) - Method in class org.faktorips.datatype.classtypes.GregorianCalendarDatatype
- valueToString(Object) - Method in class org.faktorips.datatype.GenericValueDatatype
- valueToString(Object) - Method in class org.faktorips.datatype.ValueClassNameDatatype
-
Returns the string representation of the given value.
- valueToString(Object) - Method in interface org.faktorips.datatype.ValueDatatype
-
Returns the string representation of the given value compatible to
ValueDatatype.getValue(String). - varDeclaration(int, Class<?>, String) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Creates a new variable declaration.
- varDeclaration(int, Class<?>, String, JavaCodeFragment) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Creates a new variable declaration.
- varDeclaration(int, String, String) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Creates a new variable declaration.
- varDeclaration(int, String, String, JavaCodeFragment) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Creates a new variable declaration.
- varDeclaration(int, JavaCodeFragment, String, JavaCodeFragment) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Creates a new variable declaration.
- varDefinition(Class<?>, String, String) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Writes a variable definition.
- varDefinition(String, String, String) - Method in class org.faktorips.codegen.JavaCodeFragmentBuilder
-
Writes a variable definition.
- Void - Class in org.faktorips.datatype
-
The datatype void representing
Void. - Void() - Constructor for class org.faktorips.datatype.Void
- VOID - Static variable in interface org.faktorips.datatype.Datatype
-
Datatype representing
Void.
W
- WEEKS - Enum constant in enum class org.faktorips.codegen.dthelpers.ILocalDateHelper.Period
Y
- YEARS - Enum constant in enum class org.faktorips.codegen.dthelpers.ILocalDateHelper.Period
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
ValueClassNameDatatypeto have the same functionality.