Class Resource

java.lang.Object
net.finmath.smartcontract.product.xml.Resource

public class Resource extends Object
Describes the resource that contains the media representation of a business event (i.e used for stating the Publicly Available Information). For example, can describe a file or a URL that represents the event. This type is an extended version of a type defined by RIXML (www.rixml.org).

Java class for Resource complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Resource">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="resourceId" type="{http://www.fpml.org/FpML-5/confirmation}ResourceId"/>
         <element name="resourceType" type="{http://www.fpml.org/FpML-5/confirmation}ResourceType" minOccurs="0"/>
         <element name="language" type="{http://www.fpml.org/FpML-5/confirmation}Language" minOccurs="0"/>
         <element name="sizeInBytes" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
         <element name="length" type="{http://www.fpml.org/FpML-5/confirmation}ResourceLength" minOccurs="0"/>
         <element name="mimeType" type="{http://www.fpml.org/FpML-5/confirmation}MimeType"/>
         <element name="name" type="{http://www.fpml.org/FpML-5/confirmation}NormalizedString" minOccurs="0"/>
         <element name="comments" type="{http://www.fpml.org/FpML-5/confirmation}String" minOccurs="0"/>
         <choice minOccurs="0">
           <element name="string" type="{http://www.fpml.org/FpML-5/confirmation}String"/>
           <element name="hexadecimalBinary" type="{http://www.w3.org/2001/XMLSchema}hexBinary"/>
           <element name="base64Binary" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
           <element name="url" type="{http://www.fpml.org/FpML-5/confirmation}NonEmptyURI"/>
         </choice>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>