Package cdm.legaldocumentation.common
Interface Resource.ResourceBuilder
- All Superinterfaces:
Resource,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- All Known Implementing Classes:
Resource.ResourceBuilderImpl
- Enclosing interface:
Resource
public static interface Resource.ResourceBuilder
extends Resource, com.rosetta.model.lib.RosettaModelObjectBuilder
Builder Interface
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.legaldocumentation.common.Resource
Resource.ResourceBuilder, Resource.ResourceBuilderImpl, Resource.ResourceImpl -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionIndicates the language of the resource, described using the ISO 639-2/T Code.Indicates the length of the resource.Indicates the type of media used to store the content. mimeType is used to determine the software product(s) that can read the content.The unique identifier of the resource within the event.A description of the type of the resource, e.g. a confirmation.default voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) prune()setComments(String comments) setLanguage(FieldWithMetaString language) setLanguageValue(String language) setLength(ResourceLength length) setMimeType(FieldWithMetaString mimeType) setMimeTypeValue(String mimeType) setResourceId(FieldWithMetaString resourceId) setResourceIdValue(String resourceId) setResourceType(FieldWithMetaResourceTypeEnum resourceType) setResourceTypeValue(ResourceTypeEnum resourceType) setSizeInBytes(BigDecimal sizeInBytes) Methods inherited from interface cdm.legaldocumentation.common.Resource
build, getComments, getName, getSizeInBytes, getString, getType, getUrl, metaData, process, toBuilderMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, hasData, merge, processRosetta, processRosetta
-
Method Details
-
getOrCreateResourceId
FieldWithMetaString.FieldWithMetaStringBuilder getOrCreateResourceId() -
getResourceId
FieldWithMetaString.FieldWithMetaStringBuilder getResourceId()Description copied from interface:ResourceThe unique identifier of the resource within the event. FpML specifies this element of type resourceIdScheme but with no specified value.- Specified by:
getResourceIdin interfaceResource
-
getOrCreateResourceType
FieldWithMetaResourceTypeEnum.FieldWithMetaResourceTypeEnumBuilder getOrCreateResourceType() -
getResourceType
FieldWithMetaResourceTypeEnum.FieldWithMetaResourceTypeEnumBuilder getResourceType()Description copied from interface:ResourceA description of the type of the resource, e.g. a confirmation.- Specified by:
getResourceTypein interfaceResource
-
getOrCreateLanguage
FieldWithMetaString.FieldWithMetaStringBuilder getOrCreateLanguage() -
getLanguage
FieldWithMetaString.FieldWithMetaStringBuilder getLanguage()Description copied from interface:ResourceIndicates the language of the resource, described using the ISO 639-2/T Code.- Specified by:
getLanguagein interfaceResource
-
getOrCreateLength
ResourceLength.ResourceLengthBuilder getOrCreateLength() -
getLength
ResourceLength.ResourceLengthBuilder getLength()Description copied from interface:ResourceIndicates the length of the resource. For example, if the resource were a PDF file, the length would be in pages. -
getOrCreateMimeType
FieldWithMetaString.FieldWithMetaStringBuilder getOrCreateMimeType() -
getMimeType
FieldWithMetaString.FieldWithMetaStringBuilder getMimeType()Description copied from interface:ResourceIndicates the type of media used to store the content. mimeType is used to determine the software product(s) that can read the content. MIME Types are described in RFC 2046.- Specified by:
getMimeTypein interfaceResource
-
setResourceId
-
setResourceIdValue
-
setResourceType
-
setResourceTypeValue
-
setLanguage
-
setLanguageValue
-
setSizeInBytes
-
setLength
-
setMimeType
-
setMimeTypeValue
-
setName
-
setComments
-
setString
-
setUrl
-
process
default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) - Specified by:
processin interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
prune
Resource.ResourceBuilder prune()- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-