Package cdm.legaldocumentation.common
Class Resource.ResourceImpl
java.lang.Object
cdm.legaldocumentation.common.Resource.ResourceImpl
- All Implemented Interfaces:
Resource,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
Resource
Immutable Implementation of Resource
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.legaldocumentation.common.Resource
Resource.ResourceBuilder, Resource.ResourceBuilderImpl, Resource.ResourceImpl -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanAny additional comments that are deemed necessary.Indicates 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.getName()The name of the resource.The unique identifier of the resource within the event.A description of the type of the resource, e.g. a confirmation.Indicates the size of the resource in bytes.Provides extra information as string.getUrl()Indicates where the resource can be found, as a URL that references the information on a web server accessible to the message recipient.inthashCode()protected voidsetBuilderFields(Resource.ResourceBuilder builder) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
ResourceImpl
-
-
Method Details
-
getResourceId
@RosettaAttribute(value="resourceId", isRequired=true) @RuneAttribute(value="resourceId", isRequired=true) public FieldWithMetaString 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
-
getResourceType
@RosettaAttribute("resourceType") @RuneAttribute("resourceType") public FieldWithMetaResourceTypeEnum getResourceType()Description copied from interface:ResourceA description of the type of the resource, e.g. a confirmation.- Specified by:
getResourceTypein interfaceResource
-
getLanguage
Description copied from interface:ResourceIndicates the language of the resource, described using the ISO 639-2/T Code.- Specified by:
getLanguagein interfaceResource
-
getSizeInBytes
Description copied from interface:ResourceIndicates the size of the resource in bytes. It could be used by the end user to estimate the download time and storage needs.- Specified by:
getSizeInBytesin interfaceResource
-
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. -
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
-
getName
Description copied from interface:ResourceThe name of the resource. It is specified as a NormalizedString in FpML. -
getComments
Description copied from interface:ResourceAny additional comments that are deemed necessary. For example, which software version is required to open the document? Or, how does this resource relate to the others for this event?- Specified by:
getCommentsin interfaceResource
-
getString
Description copied from interface:ResourceProvides extra information as string. In case the extra information is in XML format, a CDATA section must be placed around the source message to prevent its interpretation as XML content. -
getUrl
Description copied from interface:ResourceIndicates where the resource can be found, as a URL that references the information on a web server accessible to the message recipient. -
build
Description copied from interface:ResourceBuild Methods -
toBuilder
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-