- java.lang.Object
-
- org.jooq.meta.jaxb.Strategy
-
- All Implemented Interfaces:
Serializable,XMLAppendable
public class Strategy extends Object implements Serializable, XMLAppendable
Definitions of custom naming strategies (declarative or programmatic) to define how generated Java objects should be named.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Strategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendTo(XMLBuilder builder)booleanequals(Object that)MatchersgetMatchers()The matcher strategy configuration used when applying an XML-based strategy.StringgetName()The class used to provide a naming strategy for generated source code.inthashCode()voidsetMatchers(Matchers value)The matcher strategy configuration used when applying an XML-based strategy.voidsetName(String value)The class used to provide a naming strategy for generated source code.StringtoString()StrategywithMatchers(Matchers value)The matcher strategy configuration used when applying an XML-based strategy.StrategywithName(String value)The class used to provide a naming strategy for generated source code.
-
-
-
Method Detail
-
getName
public String getName()
The class used to provide a naming strategy for generated source code. You may override this with your custom naming strategy. This cannot be combined with a matcher configuration.
-
setName
public void setName(String value)
The class used to provide a naming strategy for generated source code. You may override this with your custom naming strategy. This cannot be combined with a matcher configuration.
-
getMatchers
public Matchers getMatchers()
The matcher strategy configuration used when applying an XML-based strategy. This cannot be combined with a named strategy configuration.
-
setMatchers
public void setMatchers(Matchers value)
The matcher strategy configuration used when applying an XML-based strategy. This cannot be combined with a named strategy configuration.
-
withName
public Strategy withName(String value)
The class used to provide a naming strategy for generated source code. You may override this with your custom naming strategy. This cannot be combined with a matcher configuration.
-
withMatchers
public Strategy withMatchers(Matchers value)
The matcher strategy configuration used when applying an XML-based strategy. This cannot be combined with a named strategy configuration.
-
appendTo
public final void appendTo(XMLBuilder builder)
- Specified by:
appendToin interfaceXMLAppendable
-
-