Package stroom.docref
Class DocRef.Builder
- java.lang.Object
-
- stroom.docref.DocRef.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description DocRefbuild()DocRef.Buildername(java.lang.String value)DocRef.Buildertype(java.lang.String value)DocRef.Builderuuid(java.lang.String value)
-
-
-
Method Detail
-
type
public DocRef.Builder type(java.lang.String value)
- Parameters:
value- The type of the 'document' that this docRef points to an instance of. Supported types are defined outside of this documentation.- Returns:
- The
DocRef.Builder, enabling method chaining
-
uuid
public DocRef.Builder uuid(java.lang.String value)
- Parameters:
value- A UUID as generated byUUID.randomUUID()- Returns:
- The
DocRef.Builder, enabling method chaining
-
name
public DocRef.Builder name(java.lang.String value)
- Parameters:
value- The name of the 'document' being referenced- Returns:
- The
DocRef.Builder, enabling method chaining
-
build
public DocRef build()
-
-