| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Defines string constants used as the names for Together's default patterns.
The methods RwiNode.createMemberByPattern, RwiNode.createSubnodeByPattern, RwiPackage.createNodeByPattern etc. require a name of the pattern to create a new element. You can supply the names of the patterns from this interface to create an element using the specific pattern.
The default patterns are rather smart: for example, when you create an attribute in a class using the DEFAULT_ATTRIBUTE pattern, the pattern will create a private attribute, but when the same pattern is applied to an interface it will produce a public static final attribute, etc.
| Field Summary | |
final static String | DEFAULT_ATTRIBUTECreates a new RwiMember representing an attribute. |
final static String | DEFAULT_CLASSCreates a new RwiNode representing a class. |
final static String | DEFAULT_CONSTRUCTORCreates a new no-arg constructor for the class. |
final static String | DEFAULT_DESTRUCTOR |
final static String | DEFAULT_INTERFACECreates a new RwiNode representing an interface. |
final static String | DEFAULT_OPERATIONCreates a new RwiMember representing an operation. |
final static String | DEFAULT_PREFIX |
| Field Detail |
public final static String DEFAULT_ATTRIBUTE
RwiMember representing an attribute.
Use this pattern in the RwiNode.createMemberByPattern
method to create a new attributes in classes/interfaces represented by RwiNodess.
The access modifiers of the newly created attribute depend on whether this attribute is created for a
class or an interface:
RwiNode representing a class, the attribute is private.
RwiNode representing an interface, the attribute is public static final,
so it is useless to try to set its visibility to protected (for example) by calling
setProperty(RwiProperty.PROTECTED, true).
See an example in the RwiNode.createMemberByPattern method.
public final static String DEFAULT_CLASS
RwiNode representing a class.
The modifiers of the newly created class depend on where this class is created:
RwiNode representing a class, the class will be private static.
RwiNode representing an interface, the class will be public static.
See examples in the RwiPackage.createNodeByPattern and RwiNode.createSubnodeByPattern
methods.
public final static String DEFAULT_CONSTRUCTOR
public final static String DEFAULT_DESTRUCTOR
public final static String DEFAULT_INTERFACE
RwiNode representing an interface.
The modifiers of the newly created interface depend on where this interface is created:
RwiNode representing a class, the interface will be private static.
RwiNode representing an interface, the interface will be public static.
See examples in the RwiPackage.createNodeByPattern and RwiNode.createSubnodeByPattern
methods.
public final static String DEFAULT_OPERATION
RwiMember representing an operation.
Use this pattern in the RwiNode.createMemberByPattern
method to create a new operation in classes/interfaces represented by RwiNodess.
The access modifiers of the newly created operation depend on whether this operation is created for a
class or an interface:
RwiNode representing a class, the operation is private.
RwiNode representing an interface, the operation is public abstract,
so it is useless to try to set its visibility to protected (for example) by calling
setProperty(RwiProperty.PROTECTED, true).
See an example in the RwiNode.createMemberByPattern method.
public final static String DEFAULT_PREFIX
| Association Links |
to Class java.lang.String
RwiNode representing a class.
The modifiers of the newly created class depend on where this class is created:
RwiNode representing a class, the class will be private static.
RwiNode representing an interface, the class will be public static.
See examples in the RwiPackage.createNodeByPattern and RwiNode.createSubnodeByPattern
methods.
to Class java.lang.String
RwiNode representing an interface.
The modifiers of the newly created interface depend on where this interface is created:
RwiNode representing a class, the interface will be private static.
RwiNode representing an interface, the interface will be public static.
See examples in the RwiPackage.createNodeByPattern and RwiNode.createSubnodeByPattern
methods.
to Class java.lang.String
RwiMember representing an attribute.
Use this pattern in the {@link com.togethersoft.openapi.rwi.RwiNode#createMemberByPattern RwiNode.createMemberByPattern}
method to create a new attributes in classes/interfaces represented by RwiNodess.
The access modifiers of the newly created attribute depend on whether this attribute is created for a
class or an interface:
RwiNode representing a class, the attribute is private.
RwiNode representing an interface, the attribute is public static final,
so it is useless to try to set its visibility to protected (for example) by calling
setProperty(RwiProperty.PROTECTED, true).
See an example in the {@link com.togethersoft.openapi.rwi.RwiNode#createMemberByPattern RwiNode.createMemberByPattern} method.
to Class java.lang.String
RwiMember representing an operation.
Use this pattern in the {@link com.togethersoft.openapi.rwi.RwiNode#createMemberByPattern RwiNode.createMemberByPattern}
method to create a new operation in classes/interfaces represented by RwiNodess.
The access modifiers of the newly created operation depend on whether this operation is created for a
class or an interface:
RwiNode representing a class, the operation is private.
RwiNode representing an interface, the operation is public abstract,
so it is useless to try to set its visibility to protected (for example) by calling
setProperty(RwiProperty.PROTECTED, true).
See an example in the {@link com.togethersoft.openapi.rwi.RwiNode#createMemberByPattern RwiNode.createMemberByPattern} method.
to Class java.lang.String
to Class java.lang.String
| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||