input
stringlengths
10
828
output
stringlengths
5
107
public void add to relation value string text add bag value local prefix sep relation text
add relationships to other documents
public text type get instance id return text type get property local prefix sep instanceid
get instance id property
public void add to rights value string lang string value set language property value local prefix sep rights lang value
add informal rights statement by language
public void set about as simple string about if about null content remove attribute rdfabout else content set attribute new attribute null rdf about about
set the rdf about attribute
public void set source value string text add property new text type metadata local prefix source text
set the unique identifer of the work from which this resource was derived
public void add to advisory value string xpath add bag value local prefix sep advisory xpath
add a property specification that were edited outside the authoring
public void set base urlvalue string url add property new text type metadata local prefix baseurl url
set the base url for relative urls in the document content
public void set source text type text add property text
set the unique identifer of the work from which this resource was derived
public void set manage from text type tt add property tt
set manage from property
public void set base url text type url add property url
set the base url property
public void set format text type text add property text
set the unique identifer of the work from which this resource was derived
public text type get manage from return text type get property local prefix sep managefrom
get manage from property
public void set create date value calendar date add property new date type metadata local prefix createdate date
set the date and time the resource was originally created
public void set create date date type date add property date
set the create date property
public void add to subject value string text add bag value local prefix sep subject text
add descriptive phrases or keywords that specify the topic of the content
public void set creator tool value string creator tool add property new text type metadata local prefix creatortool creator tool
set the name of the first known tool used to create this resource
public void set creator tool text type creator tool add property creator tool
set the creator tool property
public void set original document id text type tt add property tt
set original document id property
public void add to type value string type add bag value local prefix sep type type
set the document type novel poem
public void add to identifier value string text add bag value local prefix sep identifier text
add a text string which unambiguously identify the resource within a
private void set specified simple type property abstract simple property prop attribute placement for simple property has been removed search in properties to erase iterator abstract field it content get all properties iterator abstract field tmp while it has next tmp it next if tmp get qualified name equals prop get qualified name content remove property tmp content add property prop return content add property prop
add a simple property to this schema
public text type get original document id return text type get property local prefix sep originaldocumentid
get original document id property
public complex property get contributor return complex property get property local prefix sep contributor
return the bag of contributor s
public void set label text type text add property text
set the label property
public text type get coverage return text type get property local prefix sep coverage
return the coverage text type property
public void set metadata date value calendar date add property new date type metadata local prefix metadatadate date
set the date and time that any metadata for this resource was last
public void set metadata date date type date add property date
set the metadata date property
public string get coverage value text type tt text type get property local prefix sep coverage return tt null null tt get string value
return the value of the coverage
public void set modify date value calendar date add property new date type metadata local prefix modifydate date
set the date and time the resource was last modified
public void set rendition class text type tt add property tt
set rendition class property
public complex property get creator return complex property get property local prefix sep creator
return the sequence of contributor s
public void set text property text type prop set specified simple type property prop
set text type property
public void set modify date date type date add property date
set the modify date property
public text type get rendition class return text type get property local prefix sep renditionclass
get rendition class property
public complex property get date return complex property get property local prefix sep date
return the sequence of date s
public void set nickname value string text add property new text type metadata local prefix nickname text
set a short informal name for the resource
public void set nickname text type text add property text
set the nick name property
public complex property get description return complex property get property local prefix sep description
return the lang alt description
public void set rating value integer rate add property new integer type metadata local prefix rating rate
set a number that indicates a documents status relative to other
public void set rendition params value string url set rendition params new text type metadata local prefix renditionparams url
set rendition params value
public string get description value string lang return get language property value local prefix sep description lang
return a language value for description property
public void set rating integer type rate add property rate
set rating property
public void set text property value string qualified name string property value set specified simple type property text type class qualified name property value
set a simple text property on the schema
public void set rendition params text type tt add property tt
set rendition params property
public text type get format return text type get property local prefix sep format
return the file format property
public complex property get advisory return complex property get property local prefix sep advisory
get the advisory property
public text type get rendition params return text type get property local prefix sep renditionparams
get rendition params property
public text type get base url return text type get property local prefix sep baseurl
get the base url property
public string get format value text type tt text type get property local prefix sep format return tt null null tt get string value
return the file format value
public string get base urlvalue text type tt text type get property local prefix sep baseurl return tt null null tt get string value
get the base url property value
public text type get identifier return text type get property local prefix sep identifier
return the unique identifier property of this resource
public date type get create date return date type get property local prefix sep createdate
get the create date property
public calendar get create date value date type create date date type get property local prefix sep createdate if create date null return create date get value return null
get the create date property value
public void set version id text type tt add property tt
set version id property
public text type get creator tool return text type get property local prefix sep creatortool
get the creation tool property
public complex property get language return complex property get property local prefix sep language
return the bag dc language
public text type get version id return text type get property local prefix sep versionid
get version id property
public string get creator tool value text type tt text type get property local prefix sep creatortool return tt null null tt get string value
get the creation tool property value
public complex property get publisher return complex property get property local prefix sep publisher
return the bag dc publisher
public complex property get identifier return complex property get property local prefix sep identifier
get the identifier property
public text type get label return text type get property local prefix sep label
get the label property
public complex property get relation return complex property get property local prefix sep relation
return the bag dc relation
public text type get text property string qualified name abstract field prop get abstract property qualified name if prop null if prop instanceof text type return text type prop else throw new illegal argument exception property asked is not a text property return null
get a text property type from its name
public string get label value text type tt text type get property local prefix sep label return tt null null tt get string value
get the label property value
public complex property get rights return complex property get property local prefix sep rights
return the lang alt rights
public complex property get versions return complex property get property local prefix sep versions
get versions property
public date type get metadata date return date type get property local prefix sep metadatadate
get the metadata date property
public calendar get metadata date value date type dt date type get property local prefix sep metadatadate return dt null null dt get value
get the metadata date property value
public string get rights value string lang return get language property value local prefix sep rights lang
return a language value for right property
public void add to history value string history add sequence value local prefix sep history history
add a history value
public date type get modify date return date type get property local prefix sep modifydate
get the modify date property
public string get text property value as simple string simple name return this get text property value local prefix sep simple name
get a simple text property value on the schema using the current prefix
public text type get source return text type get property local prefix sep source
return the source property of this resource
public calendar get modify date value date type modify date date type get property local prefix sep modifydate if modify date null return modify date get value return null
get the modify date property value
public complex property get history return complex property get property local prefix sep history
get history property
public text type get nickname return text type get property local prefix sep nickname
get the nickname property
public string get source value text type tt text type get property local prefix sep source return tt null null tt get string value
return the source value of this resource
public string get nickname value text type tt text type get property local prefix sep nickname return tt null null tt get string value
get the nickname property value
public string get text property value string qualified name abstract field prop get abstract property qualified name if prop null if prop instanceof text type return text type prop get string value else throw new illegal argument exception property asked is not a text property return null
get the value of a simple text property
public integer type get rating return integer type get property local prefix sep rating
get the rating property
public complex property get subject return complex property get property local prefix sep subject
return the bag dc subject
public integer get rating value integer type it integer type get property local prefix sep rating return it null null it get value
get the rating property value
public void set type name value string name content add property new text type metadata pdfatypeprefix type name
set the name of this valuetype
public void set keywords value string value text type keywords keywords new text type metadata local prefix keywords value add property keywords
set the pdf keywords
public void set keywords text type keywords add property keywords
set the pdf keywords
public complex property get title return complex property get property local prefix sep title
return the lang alt title
public void set namespace urivalue string ns uri content add property new text type metadata pdfatypeprefix ns uri ns uri
set the namespace uri of this value type
public void set pdfversion value string value text type version version new text type metadata local prefix pdf version value add property version
set the pdfversion
public void set pdfversion text type version add property version
set the pdfversion
public void set prefix value string prefix content add property new text type metadata pdfatypeprefix prefix prefix
set the prefix of this valuetype
public void set producer value string value text type producer producer new text type metadata local prefix producer value add property producer
set the pdfproducer
public void set description value string desc content add property new text type metadata pdfatypeprefix description desc
set the description of this property
public void set producer text type producer add property producer
set the pdfproducer
public text type get keywords abstract field tmp get property local prefix sep keywords if tmp null if tmp instanceof text type return text type tmp return null
give the pdf keywords property
private string get value type property string qualified name iterator abstract field it content get all properties iterator abstract field tmp while it has next tmp it next if tmp get qualified name equals qualified name return text type tmp get string value return null
get value type property value as a string
public string get keywords value abstract field tmp get property local prefix sep keywords if tmp null if tmp instanceof text type return text type tmp get string value return null
give the pdf keywords property value string
public string get title value string lang return get language property value local prefix sep title lang
return a language value for title property
public string get type name value return get value type property pdfatypeprefixsep type
return the current defined type name in a string
public text type get pdfversion abstract field tmp get property local prefix sep pdf version if tmp null if tmp instanceof text type return text type tmp return null
give the pdfversion property
public date type get date property string qualified name abstract field prop get abstract property qualified name if prop null if prop instanceof date type return date type prop else throw new illegal argument exception property asked is not a date property return null
get the date property with its name