public class ExtensionMetadata
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ExtensionMetadata.ScriptLanguage
The ScriptLanguage enumeration specifies the
categories of metadata read from or written to the database.
|
Modifier and Type | Field and Description |
---|---|
static ExtensionMetadata.ScriptLanguage |
JAVASCRIPT
Convenience constant to provide something
shorter than ExtensionMetadata.ScriptLanguage.JAVASCRIPT
|
static ExtensionMetadata.ScriptLanguage |
XQUERY
Convenience constant to provide something
shorter than ExtensionMetadata.ScriptLanguage.XQUERY
|
Constructor and Description |
---|
ExtensionMetadata()
Zero-argument constructor.
|
Modifier and Type | Method and Description |
---|---|
RequestParameters |
asParameters()
Constructs request parameters expressing the
extension metadata.
|
java.lang.String |
getDescription()
Returns the description of the extension.
|
java.lang.String |
getProvider()
Returns the name of the organization providing
the extension.
|
ExtensionMetadata.ScriptLanguage |
getScriptLanguage()
Returns the script language for this resource
extension, either XQUERY (default) or JAVASCRIPT.
|
java.lang.String |
getTitle()
Returns the title of the extension.
|
java.lang.String |
getVersion()
Returns the version identifier for the extension
implementation.
|
void |
setDescription(java.lang.String description)
Specifies the description of the
extension.
|
void |
setProvider(java.lang.String provider)
Specifies the name of the organization providing
the extension.
|
void |
setScriptLanguage(ExtensionMetadata.ScriptLanguage scriptLanguage)
Specifies the script language for this resource
extension, either XQUERY (default) or JAVASCRIPT.
|
void |
setTitle(java.lang.String title)
Specifies the title of the extension.
|
void |
setVersion(java.lang.String version)
Specifies the version identifier for the
extension implementation.
|
public static final ExtensionMetadata.ScriptLanguage XQUERY
public static final ExtensionMetadata.ScriptLanguage JAVASCRIPT
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- the extension titlepublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- the extension descriptionpublic java.lang.String getProvider()
public void setProvider(java.lang.String provider)
provider
- the provider namepublic java.lang.String getVersion()
public void setVersion(java.lang.String version)
version
- the version number or codepublic ExtensionMetadata.ScriptLanguage getScriptLanguage()
public void setScriptLanguage(ExtensionMetadata.ScriptLanguage scriptLanguage)
scriptLanguage
- the script language for this
resource extensionpublic RequestParameters asParameters()
Copyright © 2024 MarkLogic Corporation. All Rights Reserved.