EGF Engine
Release 0.1.0

org.eclipse.egf.pattern.ecore.condition
Class GeneratedConditionProducer

java.lang.Object
  extended by org.eclipse.egf.pattern.ecore.condition.GeneratedConditionProducer

public class GeneratedConditionProducer
extends Object


Field Summary
protected static String CHECK_METHOD_CALL_PREFIX
          Call to check method prefix.
protected static String CHECK_METHOD_IMPL_DEFAULT_COMMENTS
          Check real implementation default comments.
protected static String CHECK_METHOD_IMPL_DEFAULT_IMPL
          Check real implementation default code.
protected static String CHECK_METHOD_IMPL_SIGNATURE_PREFIX
          Check real implementation signature prefix.
protected static String CLASS_COMMENTS
          Class comments.
protected static String CLASS_DECLARATION_PREFIX
          Class declaration prefix.
protected static String DEFAULT_CONDITION_IMPLEMENTATION
          Default implementation for generated condition class.
protected static String DEFAULT_CONDITION_IMPORT
          Default import for an implementation of a condition class.
protected static String GENERIC_CHECK_METHOD_COMMENTS
          Generic check method comments.
protected static String GENERIC_CHECK_METHOD_END
          End of generic check method code.
protected static String GENERIC_CHECK_METHOD_SIGNATURE
          Generic check method signature.
protected static String IMPORT_DIRECTIVE_PREFIX
          Import directive prefix.
protected static String IMPORT_DIRECTIVE_SUFFIX
          Import suffix.
protected static String PACKAGE_DECLARATION_PREFIX
          Package declaration prefix.
protected static String PARAMETER_N_PREFIX
          Array access to parameter number N prefix.
protected static char SQUARE_BRACKET_CLOSING_CHARACTER
          ']' character.
 
Constructor Summary
GeneratedConditionProducer()
           
 
Method Summary
static String getNewConditionClassDefaultContent(PatternHandler.PatternData patternData_p, List<ParameterRelation> parameters_p)
          Get condition class expected content, without the already existing user code.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CHECK_METHOD_IMPL_DEFAULT_IMPL

protected static final String CHECK_METHOD_IMPL_DEFAULT_IMPL
Check real implementation default code.

See Also:
Constant Field Values

CHECK_METHOD_IMPL_SIGNATURE_PREFIX

protected static final String CHECK_METHOD_IMPL_SIGNATURE_PREFIX
Check real implementation signature prefix.

See Also:
Constant Field Values

CHECK_METHOD_IMPL_DEFAULT_COMMENTS

protected static final String CHECK_METHOD_IMPL_DEFAULT_COMMENTS
Check real implementation default comments.

See Also:
Constant Field Values

PARAMETER_N_PREFIX

protected static final String PARAMETER_N_PREFIX
Array access to parameter number N prefix.

See Also:
Constant Field Values

GENERIC_CHECK_METHOD_END

protected static final String GENERIC_CHECK_METHOD_END
End of generic check method code.

See Also:
Constant Field Values

CHECK_METHOD_CALL_PREFIX

protected static final String CHECK_METHOD_CALL_PREFIX
Call to check method prefix.

See Also:
Constant Field Values

GENERIC_CHECK_METHOD_COMMENTS

protected static final String GENERIC_CHECK_METHOD_COMMENTS
Generic check method comments.

See Also:
Constant Field Values

GENERIC_CHECK_METHOD_SIGNATURE

protected static final String GENERIC_CHECK_METHOD_SIGNATURE
Generic check method signature.

See Also:
Constant Field Values

DEFAULT_CONDITION_IMPLEMENTATION

protected static final String DEFAULT_CONDITION_IMPLEMENTATION
Default implementation for generated condition class.


CLASS_COMMENTS

protected static final String CLASS_COMMENTS
Class comments.

See Also:
Constant Field Values

CLASS_DECLARATION_PREFIX

protected static final String CLASS_DECLARATION_PREFIX
Class declaration prefix.

See Also:
Constant Field Values

DEFAULT_CONDITION_IMPORT

protected static final String DEFAULT_CONDITION_IMPORT
Default import for an implementation of a condition class.


IMPORT_DIRECTIVE_PREFIX

protected static final String IMPORT_DIRECTIVE_PREFIX
Import directive prefix.

See Also:
Constant Field Values

IMPORT_DIRECTIVE_SUFFIX

protected static final String IMPORT_DIRECTIVE_SUFFIX
Import suffix.

See Also:
Constant Field Values

PACKAGE_DECLARATION_PREFIX

protected static final String PACKAGE_DECLARATION_PREFIX
Package declaration prefix.

See Also:
Constant Field Values

SQUARE_BRACKET_CLOSING_CHARACTER

protected static final char SQUARE_BRACKET_CLOSING_CHARACTER
']' character.

See Also:
Constant Field Values
Constructor Detail

GeneratedConditionProducer

public GeneratedConditionProducer()
Method Detail

getNewConditionClassDefaultContent

public static String getNewConditionClassDefaultContent(PatternHandler.PatternData patternData_p,
                                                        List<ParameterRelation> parameters_p)
Get condition class expected content, without the already existing user code.
This is the condition class as it should be by default for current pattern content.

Parameters:
patternData_p -
parameters_p -
Returns:

EGF Engine
Release 0.1.0

Copyright (c) Thales Corporate Services S.A.S, 2009.

This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.