|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uni_paderborn.fujaba.basic.SourceCodeFactory
An abstract factory class for source code. If you want to add an specific factory for example Java source code, derive this class and fill the abstract method with life. The indentString contains the string which has to be inserted for every line and indent indicates how many times.
Field Summary | |
static int |
ADD_AFTER_OF_METHOD
No comment provided by developer, please add a comment to improve documentation. |
static int |
ADD_BEFORE_OF_METHOD
No comment provided by developer, please add a comment to improve documentation. |
static int |
ADD_METHOD
No comment provided by developer, please add a comment to improve documentation. |
static int |
ENTRIES_OF_METHOD
No comment provided by developer, please add a comment to improve documentation. |
static int |
GET_AT_METHOD
No comment provided by developer, please add a comment to improve documentation. |
static int |
GET_FIRST_OF_METHOD
No comment provided by developer, please add a comment to improve documentation. |
static int |
GET_FROM_METHOD
No comment provided by developer, please add a comment to improve documentation. |
static int |
GET_KEY_FOR_METHOD
No comment provided by developer, please add a comment to improve documentation. |
static int |
GET_KEY_FROM_METHOD
No comment provided by developer, please add a comment to improve documentation. |
static int |
GET_LAST_OF_METHOD
No comment provided by developer, please add a comment to improve documentation. |
static int |
GET_METHOD
No comment provided by developer, please add a comment to improve documentation. |
static int |
GET_NEXT_INDEX_OF_METHOD
No comment provided by developer, please add a comment to improve documentation. |
static int |
GET_NEXT_OF_METHOD
No comment provided by developer, please add a comment to improve documentation. |
static int |
GET_PREVIOUS_INDEX_OF_METHOD
No comment provided by developer, please add a comment to improve documentation. |
static int |
GET_PREVIOUS_OF_METHOD
No comment provided by developer, please add a comment to improve documentation. |
static int |
GET_VALUE_FROM_METHOD
No comment provided by developer, please add a comment to improve documentation. |
static int |
HAS_ENTRY_IN_METHOD
No comment provided by developer, please add a comment to improve documentation. |
static int |
HAS_IN_METHOD
No comment provided by developer, please add a comment to improve documentation. |
static int |
HAS_KEY_IN_METHOD
No comment provided by developer, please add a comment to improve documentation. |
static int |
HAS_VALUE_IN_METHOD
No comment provided by developer, please add a comment to improve documentation. |
static int |
INDEX_OF_METHOD
No comment provided by developer, please add a comment to improve documentation. |
static int |
IS_AFTER_OF_METHOD
No comment provided by developer, please add a comment to improve documentation. |
static int |
IS_BEFORE_OF_METHOD
No comment provided by developer, please add a comment to improve documentation. |
static int |
IS_METHOD
No comment provided by developer, please add a comment to improve documentation. |
static int |
ITERATOR_OF_METHOD
No comment provided by developer, please add a comment to improve documentation. |
static int |
KEY_CHANGED_IN_METHOD
No comment provided by developer, please add a comment to improve documentation. |
static int |
KEYS_OF_METHOD
No comment provided by developer, please add a comment to improve documentation. |
static int |
LAST_INDEX_OF_METHOD
No comment provided by developer, please add a comment to improve documentation. |
static int |
REMOVE_ALL_FROM_METHOD
No comment provided by developer, please add a comment to improve documentation. |
static int |
REMOVE_ENTRY_FROM_METHOD
No comment provided by developer, please add a comment to improve documentation. |
static int |
REMOVE_KEY_FROM_METHOD
No comment provided by developer, please add a comment to improve documentation. |
static int |
REMOVE_METHOD
No comment provided by developer, please add a comment to improve documentation. |
static int |
REMOVE_VALUE_FROM_METHOD
No comment provided by developer, please add a comment to improve documentation. |
static int |
REMOVE_YOU_METHOD
No comment provided by developer, please add a comment to improve documentation. |
static int |
SET_IN_METHOD
No comment provided by developer, please add a comment to improve documentation. |
static int |
SET_METHOD
No comment provided by developer, please add a comment to improve documentation. |
static int |
SIZE_OF_METHOD
No comment provided by developer, please add a comment to improve documentation. |
Constructor Summary | |
SourceCodeFactory()
|
Method Summary | |
abstract java.lang.String |
assocCommentary(java.lang.String fClassName,
java.lang.String fRoleName,
java.lang.String fCard,
java.lang.String assocName,
java.lang.String constraint,
java.lang.String sClassName,
java.lang.String sRoleName,
java.lang.String sCard,
java.lang.String fQualifierName,
java.lang.String sQualifierName,
boolean fIsRef,
boolean sIsRef,
boolean fIsAggr,
boolean sIsAggr)
No comment provided by developer, please add a comment to improve documentation. |
void |
decIndent()
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
getAccessMethodName(java.lang.String name,
int type)
Get the accessMethodName attribute of the SourceCodeFactory object |
java.lang.String |
getAssocAccessMethodLine(int type,
java.lang.String name,
int upperBound,
boolean selfQualified)
Get the assocAccessMethodLine attribute of the SourceCodeFactory object |
abstract java.lang.String |
getAssocAccessMethodLine(int type,
java.lang.String name,
int upperBound,
boolean qualifier,
boolean selfQualified)
Get the assocAccessMethodLine attribute of the SourceCodeFactory object |
java.lang.String |
getFullAccessMethodName(java.lang.String name,
java.lang.String fieldTypeName,
int type)
Get the fullAccessMethodName attribute of the SourceCodeFactory object |
java.lang.String |
getIndentString()
Get the indentString attribute of the SourceCodeFactory object |
void |
incIndent()
No comment provided by developer, please add a comment to improve documentation. |
java.lang.StringBuffer |
itChar(int n,
char c)
No comment provided by developer, please add a comment to improve documentation. |
java.lang.StringBuffer |
newLine()
No comment provided by developer, please add a comment to improve documentation. |
abstract java.lang.String |
removeYouBody(java.lang.String roleName,
java.lang.String type,
boolean toOne,
boolean isQualified,
boolean isPartnerQualified,
boolean isUsingAttr,
boolean aggregation)
No comment provided by developer, please add a comment to improve documentation. |
void |
setIndentString(java.lang.String newStrg)
Sets the indentString attribute of the SourceCodeFactory object |
static java.lang.StringBuffer |
upFirstChar(java.lang.String strg)
No comment provided by developer, please add a comment to improve documentation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int ADD_METHOD
public static final int REMOVE_METHOD
public static final int GET_METHOD
public static final int IS_METHOD
public static final int SET_METHOD
public static final int HAS_IN_METHOD
public static final int ITERATOR_OF_METHOD
public static final int GET_FROM_METHOD
public static final int REMOVE_YOU_METHOD
public static final int SIZE_OF_METHOD
public static final int REMOVE_ALL_FROM_METHOD
public static final int GET_VALUE_FROM_METHOD
public static final int GET_KEY_FROM_METHOD
public static final int HAS_VALUE_IN_METHOD
public static final int HAS_KEY_IN_METHOD
public static final int HAS_ENTRY_IN_METHOD
public static final int KEYS_OF_METHOD
public static final int REMOVE_KEY_FROM_METHOD
public static final int REMOVE_VALUE_FROM_METHOD
public static final int REMOVE_ENTRY_FROM_METHOD
public static final int ENTRIES_OF_METHOD
public static final int GET_AT_METHOD
public static final int INDEX_OF_METHOD
public static final int LAST_INDEX_OF_METHOD
public static final int IS_BEFORE_OF_METHOD
public static final int IS_AFTER_OF_METHOD
public static final int GET_FIRST_OF_METHOD
public static final int GET_LAST_OF_METHOD
public static final int GET_NEXT_OF_METHOD
public static final int GET_NEXT_INDEX_OF_METHOD
public static final int GET_PREVIOUS_OF_METHOD
public static final int GET_PREVIOUS_INDEX_OF_METHOD
public static final int ADD_BEFORE_OF_METHOD
public static final int ADD_AFTER_OF_METHOD
public static final int SET_IN_METHOD
public static final int GET_KEY_FOR_METHOD
public static final int KEY_CHANGED_IN_METHOD
Constructor Detail |
public SourceCodeFactory()
Method Detail |
public java.lang.String getIndentString()
public void setIndentString(java.lang.String newStrg)
newStrg
- The new indentString valuepublic void incIndent()
public void decIndent()
public java.lang.StringBuffer newLine()
public static java.lang.StringBuffer upFirstChar(java.lang.String strg)
strg
- No description provided
public java.lang.StringBuffer itChar(int n, char c)
n
- No description providedc
- No description provided
public java.lang.String getAccessMethodName(java.lang.String name, int type)
name
- No description providedtype
- No description provided
public java.lang.String getFullAccessMethodName(java.lang.String name, java.lang.String fieldTypeName, int type)
name
- No description providedfieldTypeName
- No description providedtype
- No description provided
public abstract java.lang.String assocCommentary(java.lang.String fClassName, java.lang.String fRoleName, java.lang.String fCard, java.lang.String assocName, java.lang.String constraint, java.lang.String sClassName, java.lang.String sRoleName, java.lang.String sCard, java.lang.String fQualifierName, java.lang.String sQualifierName, boolean fIsRef, boolean sIsRef, boolean fIsAggr, boolean sIsAggr)
fClassName
- No description providedfRoleName
- No description providedfCard
- No description providedassocName
- No description providedconstraint
- No description providedsClassName
- No description providedsRoleName
- No description providedsCard
- No description providedfQualifierName
- No description providedsQualifierName
- No description providedfIsRef
- No description providedsIsRef
- No description providedfIsAggr
- No description providedsIsAggr
- No description provided
public abstract java.lang.String getAssocAccessMethodLine(int type, java.lang.String name, int upperBound, boolean qualifier, boolean selfQualified)
type
- No description providedname
- No description providedupperBound
- No description providedqualifier
- No description providedselfQualified
- No description provided
public java.lang.String getAssocAccessMethodLine(int type, java.lang.String name, int upperBound, boolean selfQualified)
type
- No description providedname
- No description providedupperBound
- No description providedselfQualified
- No description provided
public abstract java.lang.String removeYouBody(java.lang.String roleName, java.lang.String type, boolean toOne, boolean isQualified, boolean isPartnerQualified, boolean isUsingAttr, boolean aggregation)
roleName
- No description providedtype
- No description providedtoOne
- No description providedisQualified
- No description providedisPartnerQualified
- No description providedisUsingAttr
- No description providedaggregation
- No description provided
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |