Skip to content

com.inscoper.nbo.Rights

Represents the XML element Rights. More...

Inherits from com.inscoper.nbo.NBOBaseClass

Public Functions

Name
synchronized void delete()
Rights()
String getTypeName()
Returns the class type name.
String getXMLName()
Returns the XML element name corresponding to this class.
ENBOType getNBOType()
Returns the NBO Type corresponding to this class.
NBOBaseClassVector getChildren()
Returns a list of all classes derived from this class.
NBOBaseClassVector getSubElements()
Returns a list of all child elements contained in this class.
void fromJsonFile(String path)
Populates this object from a JSON file.
void fromJsonString(String json_string)
Populates this object from a JSON string.
void fromXmlFile(String path)
Populates this object from a XML file.
void fromXmlString(String xml_string)
Populates this object from a XML string.
void toXmlFile(String filename)
Serializes this object to an XML file.
String toXmlString()
Serializes this object to an XML string.
void setRightsHolder(Rights_InlineRightsHolder value)
Sets the value of the RightsHolder element.
Rights_InlineRightsHolder getRightsHolder()
Returns the value of the RightsHolder element.
void resetRightsHolder()
Resets the RightsHolder element to an unset state.
boolean hasRightsHolder()
Checks whether the optional RightsHolder element is present.
void setRightsHeld(Rights_InlineRightsHeld value)
Sets the value of the RightsHeld element.
Rights_InlineRightsHeld getRightsHeld()
Returns the value of the RightsHeld element.
void resetRightsHeld()
Resets the RightsHeld element to an unset state.
boolean hasRightsHeld()
Checks whether the optional RightsHeld element is present.
Rights __internal_create(long cPtr, boolean own)

Protected Functions

Name
Rights(long cPtr, boolean cMemoryOwn)
void swigSetCMemOwn(boolean own)
void finalize()
long getCPtr(Rights obj)

Additional inherited members

Protected Functions inherited from com.inscoper.nbo.NBOBaseClass

Name
NBOBaseClass(long cPtr, boolean cMemoryOwn)

Detailed Description

public class com.inscoper.nbo.Rights;

Represents the XML element Rights.

The rights holder of this data and the rights held.

Public Functions Documentation

function delete

public synchronized void delete()

Reimplements: com.inscoper.nbo.NBOBaseClass.delete

function Rights

public Rights()

function getTypeName

public String getTypeName()

Returns the class type name.

Return: The class type name

Reimplements: com.inscoper.nbo.NBOBaseClass.getTypeName

function getXMLName

public String getXMLName()

Returns the XML element name corresponding to this class.

Return: The XML element name

Reimplements: com.inscoper.nbo.NBOBaseClass.getXMLName

function getNBOType

public ENBOType getNBOType()

Returns the NBO Type corresponding to this class.

Return: The NBO Type value

Reimplements: com.inscoper.nbo.NBOBaseClass.getNBOType

function getChildren

public NBOBaseClassVector getChildren()

Returns a list of all classes derived from this class.

Return: The list of derived classes

Reimplements: com.inscoper.nbo.NBOBaseClass.getChildren

function getSubElements

public NBOBaseClassVector getSubElements()

Returns a list of all child elements contained in this class.

Return: The list of child classes

Reimplements: com.inscoper.nbo.NBOBaseClass.getSubElements

function fromJsonFile

public void fromJsonFile(
    String path
)

Populates this object from a JSON file.

Parameters:

  • path The path to the JSON file

function fromJsonString

public void fromJsonString(
    String json_string
)

Populates this object from a JSON string.

Parameters:

  • json_string The JSON content as a string

function fromXmlFile

public void fromXmlFile(
    String path
)

Populates this object from a XML file.

Parameters:

  • path The path to the XML file

function fromXmlString

public void fromXmlString(
    String xml_string
)

Populates this object from a XML string.

Parameters:

  • xml_string The XML content as a string

function toXmlFile

public void toXmlFile(
    String filename
)

Serializes this object to an XML file.

Parameters:

  • filename The path to the output XML file

function toXmlString

public String toXmlString()

Serializes this object to an XML string.

Return: A string containing the XML representation of this object

function setRightsHolder

public void setRightsHolder(
    Rights_InlineRightsHolder value
)

Sets the value of the RightsHolder element.

Parameters:

  • value The value to set

The rights holder for this data. [plain-text multi-line string] e.g..... "Copyright (C) 2002 - 2016 Open Microscopy Environment"

function getRightsHolder

public Rights_InlineRightsHolder getRightsHolder()

Returns the value of the RightsHolder element.

Return: The value of the element

The rights holder for this data. [plain-text multi-line string] e.g..... "Copyright (C) 2002 - 2016 Open Microscopy Environment"

function resetRightsHolder

public void resetRightsHolder()

Resets the RightsHolder element to an unset state.

The rights holder for this data. [plain-text multi-line string] e.g..... "Copyright (C) 2002 - 2016 Open Microscopy Environment"

function hasRightsHolder

public boolean hasRightsHolder()

Checks whether the optional RightsHolder element is present.

Return: true if the optional attribute has been set, false otherwise

The rights holder for this data. [plain-text multi-line string] e.g..... "Copyright (C) 2002 - 2016 Open Microscopy Environment"

function setRightsHeld

public void setRightsHeld(
    Rights_InlineRightsHeld value
)

Sets the value of the RightsHeld element.

Parameters:

  • value The value to set

The rights held by the rights holder. [plain-text multi-line string] e.g..... "All rights reserved" or "Creative Commons Attribution 3.0 Unported License"

function getRightsHeld

public Rights_InlineRightsHeld getRightsHeld()

Returns the value of the RightsHeld element.

Return: The value of the element

The rights held by the rights holder. [plain-text multi-line string] e.g..... "All rights reserved" or "Creative Commons Attribution 3.0 Unported License"

function resetRightsHeld

public void resetRightsHeld()

Resets the RightsHeld element to an unset state.

The rights held by the rights holder. [plain-text multi-line string] e.g..... "All rights reserved" or "Creative Commons Attribution 3.0 Unported License"

function hasRightsHeld

public boolean hasRightsHeld()

Checks whether the optional RightsHeld element is present.

Return: true if the optional attribute has been set, false otherwise

The rights held by the rights holder. [plain-text multi-line string] e.g..... "All rights reserved" or "Creative Commons Attribution 3.0 Unported License"

function __internal_create

public static Rights __internal_create(
    long cPtr,
    boolean own
)

Reimplements: com.inscoper.nbo.NBOBaseClass.__internal_create

Protected Functions Documentation

function Rights

protected Rights(
    long cPtr,
    boolean cMemoryOwn
)

function swigSetCMemOwn

protected void swigSetCMemOwn(
    boolean own
)

Reimplements: com.inscoper.nbo.NBOBaseClass.swigSetCMemOwn

function finalize

protected void finalize()

Reimplements: com.inscoper.nbo.NBOBaseClass.finalize

function getCPtr

protected static long getCPtr(
    Rights obj
)

Updated on 2026-02-13 at 16:11:06 +0100