Class MetaDataBuilder
java.lang.Object
org.phenopackets.phenopackettools.builder.builders.MetaDataBuilder
-
Method Summary
Modifier and TypeMethodDescriptionaddExternalReference
(String id, String description) addExternalReference
(org.phenopackets.schema.v2.core.ExternalReference er) addResource
(org.phenopackets.schema.v2.core.Resource r) addUpdate
(org.phenopackets.schema.v2.core.Update u) org.phenopackets.schema.v2.core.MetaData
build()
static MetaDataBuilder
static MetaDataBuilder
Create a newMetaDataBuilder
with time set to now.static MetaDataBuilder
submittedBy
(String submitter)
-
Method Details
-
builder
-
builder
public static MetaDataBuilder builder(com.google.protobuf.Timestamp createdTimeStamp, String createdBy) -
builder
Create a newMetaDataBuilder
with time set to now. -
submittedBy
-
addResource
-
addUpdate
-
addExternalReference
-
addExternalReference
-
build
public org.phenopackets.schema.v2.core.MetaData build()
-