Package org.soulwing.s2ks
Interface Metadata.Builder
-
- All Known Implementing Classes:
SimpleMetadata.Builder
- Enclosing interface:
- Metadata
public static interface Metadata.BuilderA builder that creates instances ofMetadata.
-
-
Method Summary
All Methods Instance Methods Abstract 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
Metadata.Builder set(java.lang.String name, java.lang.Object value)
Specifies a metadata property of an arbitrary type, replacing any existing property with the same name.- Parameters:
name- property namevalue- property value- Returns:
- this builder
- Throws:
java.lang.IllegalArgumentException- if the value is of a type other than string, boolean, integer, long, or double
-
-