com.force.sdk.codegen.builder
Class BaseBuilder<T>
java.lang.Object
com.force.sdk.codegen.builder.BaseBuilder<T>
- Type Parameters:
T
- the object type that is to be added to this builder
(roughly, the object type to be converted into a String
via this builder)
- Direct Known Subclasses:
- ForcePicklistEnumBuilder, JavaCommentBuilder, JPAAnnotationBuilder
public abstract class BaseBuilder<T>
- extends Object
A base class for code generation builders.
Builders will build String
s that can be included in
generated source code.
- Author:
- Tim Kral
builderString
protected final StringBuffer builderString
add
public void add(T item)
- Adds an object to this builder.
Added objects will be converted into a String
to be
used in generated code according to the internal rules
of the specific builder implementation.
- Parameters:
item
- the object to be added to this builder
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2011. All Rights Reserved.