Package org.soulwing.s2ks
Class SimpleMetadata.Builder
- java.lang.Object
-
- org.soulwing.s2ks.SimpleMetadata.Builder
-
- All Implemented Interfaces:
Metadata.Builder
- Enclosing class:
- SimpleMetadata
public static class SimpleMetadata.Builder extends java.lang.Object implements Metadata.Builder
A builder that producesSimpleMetadatainstances.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Metadatabuild()Builds aMetadataobject in accordance with the configuration of this builder.Metadata.Builderset(java.lang.String name, java.lang.Object value)Specifies a metadata property of an arbitrary type, replacing any existing property with the same name.
-
-
-
Method Detail
-
set
public Metadata.Builder set(java.lang.String name, java.lang.Object value)
Description copied from interface:Metadata.BuilderSpecifies a metadata property of an arbitrary type, replacing any existing property with the same name.- Specified by:
setin interfaceMetadata.Builder- Parameters:
name- property namevalue- property value- Returns:
- this builder
-
build
public Metadata build()
Description copied from interface:Metadata.BuilderBuilds aMetadataobject in accordance with the configuration of this builder.- Specified by:
buildin interfaceMetadata.Builder- Returns:
- resulting
Metadatainstance
-
-