Package com.helger.regrep.slot
Class SlotBuilder
- java.lang.Object
-
- com.helger.regrep.slot.SlotBuilder
-
@NotThreadSafe public class SlotBuilder extends Object
A type -safe builder for RegRep slots.- Author:
- Philip Helger
-
-
Constructor Summary
Constructors Constructor Description SlotBuilder()
-
Method Summary
-
-
-
Method Detail
-
setName
@Nonnull public SlotBuilder setName(@Nonnull @Nonempty String sName)
-
setValue
@Nonnull public SlotBuilder setValue(@Nonnull ValueType x)
-
setValue
@Nonnull public SlotBuilder setValue(@Nonnull Element aNode)
-
setValue
@Nonnull public SlotBuilder setValue(boolean b)
-
setValue
@Nonnull public SlotBuilder setValue(@Nullable ERegRepCollectionType eCollectionType, @Nullable ValueType... aArray)
-
setValue
@Nonnull public SlotBuilder setValue(@Nullable ERegRepCollectionType eCollectionType, @Nullable Iterable<? extends ValueType> aCont)
-
setValue
@Nonnull public SlotBuilder setValue(@Nonnull OffsetDateTime x)
-
setValue
@Nonnull public SlotBuilder setValue(@Nonnull LocalDateTime x)
-
setValue
@Nonnull public SlotBuilder setValue(@Nonnull LocalDate x)
-
setValue
@Nonnull public SlotBuilder setValue(@Nonnull ZonedDateTime x)
-
setValue
@Nonnull public SlotBuilder setValue(@Nonnull Date x)
-
setValue
@Nonnull public SlotBuilder setValue(float x)
-
setValue
@Nonnull public SlotBuilder setValue(@Nonnull BigInteger x)
-
setValue
@Nonnull public SlotBuilder setValue(int x)
-
setValue
@Nonnull public SlotBuilder setValue(long x)
-
setValue
@Nonnull public SlotBuilder setValue(@Nonnull InternationalStringType x)
-
setValue
@Nonnull public SlotBuilder setValue(@Nonnull MapType x)
-
setValue
@Nonnull public SlotBuilder setValue(@Nonnull SlotType x)
-
setValue
@Nonnull public SlotBuilder setValue(@Nonnull String x)
-
setVocabularyTermValue
@Nonnull public SlotBuilder setVocabularyTermValue(@Nonnull String sVocabulary, @Nonnull String sTerm)
-
setValue
@Nonnull public SlotBuilder setValue(@Nonnull VocabularyTerm x)
-
setValue
@Nonnull public SlotBuilder setValue(@Nonnull VocabularyTermType x)
-
areAllMandatoryFieldsSet
public boolean areAllMandatoryFieldsSet()
- Returns:
trueif all mandatory fields are set and build will succeed.
-
-