Package com.yahoo.document
Class DocumenttypesConfig.Documenttype.Builder
- java.lang.Object
-
- com.yahoo.document.DocumenttypesConfig.Documenttype.Builder
-
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder
- Enclosing class:
- DocumenttypesConfig.Documenttype
public static class DocumenttypesConfig.Documenttype.Builder extends java.lang.Object implements com.yahoo.config.ConfigBuilder
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<DocumenttypesConfig.Documenttype.Annotationtype.Builder>
annotationtype
java.util.List<DocumenttypesConfig.Documenttype.Datatype.Builder>
datatype
java.util.Map<java.lang.String,DocumenttypesConfig.Documenttype.Fieldsets.Builder>
fieldsets
java.util.List<DocumenttypesConfig.Documenttype.Importedfield.Builder>
importedfield
java.util.List<DocumenttypesConfig.Documenttype.Inherits.Builder>
inherits
java.util.List<DocumenttypesConfig.Documenttype.Referencetype.Builder>
referencetype
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(DocumenttypesConfig.Documenttype config)
-
Method Summary
-
-
-
Field Detail
-
inherits
public java.util.List<DocumenttypesConfig.Documenttype.Inherits.Builder> inherits
-
datatype
public java.util.List<DocumenttypesConfig.Documenttype.Datatype.Builder> datatype
-
annotationtype
public java.util.List<DocumenttypesConfig.Documenttype.Annotationtype.Builder> annotationtype
-
fieldsets
public java.util.Map<java.lang.String,DocumenttypesConfig.Documenttype.Fieldsets.Builder> fieldsets
-
referencetype
public java.util.List<DocumenttypesConfig.Documenttype.Referencetype.Builder> referencetype
-
importedfield
public java.util.List<DocumenttypesConfig.Documenttype.Importedfield.Builder> importedfield
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(DocumenttypesConfig.Documenttype config)
-
-
Method Detail
-
id
public DocumenttypesConfig.Documenttype.Builder id(int __value)
-
name
public DocumenttypesConfig.Documenttype.Builder name(java.lang.String __value)
-
version
public DocumenttypesConfig.Documenttype.Builder version(int __value)
-
headerstruct
public DocumenttypesConfig.Documenttype.Builder headerstruct(int __value)
-
bodystruct
public DocumenttypesConfig.Documenttype.Builder bodystruct(int __value)
-
inherits
public DocumenttypesConfig.Documenttype.Builder inherits(DocumenttypesConfig.Documenttype.Inherits.Builder __builder)
Add the given builder to this builder's list of Inherits builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
inherits
public DocumenttypesConfig.Documenttype.Builder inherits(java.util.List<DocumenttypesConfig.Documenttype.Inherits.Builder> __builders)
Set the given list as this builder's list of Inherits builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
datatype
public DocumenttypesConfig.Documenttype.Builder datatype(DocumenttypesConfig.Documenttype.Datatype.Builder __builder)
Add the given builder to this builder's list of Datatype builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
datatype
public DocumenttypesConfig.Documenttype.Builder datatype(java.util.List<DocumenttypesConfig.Documenttype.Datatype.Builder> __builders)
Set the given list as this builder's list of Datatype builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
annotationtype
public DocumenttypesConfig.Documenttype.Builder annotationtype(DocumenttypesConfig.Documenttype.Annotationtype.Builder __builder)
Add the given builder to this builder's list of Annotationtype builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
annotationtype
public DocumenttypesConfig.Documenttype.Builder annotationtype(java.util.List<DocumenttypesConfig.Documenttype.Annotationtype.Builder> __builders)
Set the given list as this builder's list of Annotationtype builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
fieldsets
public DocumenttypesConfig.Documenttype.Builder fieldsets(java.lang.String __key, DocumenttypesConfig.Documenttype.Fieldsets.Builder __value)
-
fieldsets
public DocumenttypesConfig.Documenttype.Builder fieldsets(java.util.Map<java.lang.String,DocumenttypesConfig.Documenttype.Fieldsets.Builder> __values)
-
referencetype
public DocumenttypesConfig.Documenttype.Builder referencetype(DocumenttypesConfig.Documenttype.Referencetype.Builder __builder)
Add the given builder to this builder's list of Referencetype builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
referencetype
public DocumenttypesConfig.Documenttype.Builder referencetype(java.util.List<DocumenttypesConfig.Documenttype.Referencetype.Builder> __builders)
Set the given list as this builder's list of Referencetype builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
importedfield
public DocumenttypesConfig.Documenttype.Builder importedfield(DocumenttypesConfig.Documenttype.Importedfield.Builder __builder)
Add the given builder to this builder's list of Importedfield builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
importedfield
public DocumenttypesConfig.Documenttype.Builder importedfield(java.util.List<DocumenttypesConfig.Documenttype.Importedfield.Builder> __builders)
Set the given list as this builder's list of Importedfield builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
build
public DocumenttypesConfig.Documenttype build()
-
-