public class NModule extends NObject
| Modifier and Type | Class and Description |
|---|---|
static class |
NModule.DefinedTypeCollection |
NObject.FromHandle, NObject.NObjectCallback, NObject.NObjectPropertyChangedCallbackchangedCallback, changingCallback, FLAG_REF_RET, propertyChangedCallback, stateChangedCallback| Modifier | Constructor and Description |
|---|---|
|
NModule()
Creates a new instance of NModule class.
|
protected |
NModule(HNObject handle,
boolean claimHandle) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkInit(boolean lazy)
Checks whether the module is initialized and throws and exception if it is not.
|
Object |
createInstance(String name) |
Object |
createInstance(String name,
EnumSet<NAttribute> attributes) |
String |
getActivated()
Gets a string describing whether the product license has been activated.
|
String |
getCompany()
Gets a string representing the company.
|
String |
getCopyright()
Gets a string representing the copyright.
|
NModule.DefinedTypeCollection |
getDefinedTypes() |
NModule[] |
getDependences()
Retrieves module dependencies.
|
String |
getFileName() |
String |
getId() |
static NModule[] |
getLoadedModules()
Gets all the loaded modules that are part of this assembly.
|
String |
getName()
Gets a string representing the name of the module.
|
String |
getNativeId() |
EnumSet<NModuleOption> |
getOptions()
Retrieves module options enumeration.
|
String |
getProduct()
Gets a string representing the product.
|
String |
getTitle()
Gets a string representing the title of the module.
|
NType |
getType(String name) |
NType |
getType(String name,
boolean mustExist) |
String |
getVersion()
Gets a string representing the version.
|
int |
getVersionBuild()
Gets the version build value of the current module.
|
int |
getVersionMajor()
Gets the major version value of the current module.
|
int |
getVersionMinor()
Gets the minor version value of the current module.
|
int |
getVersionRevision()
Gets the version revision value of the current module.
|
static NModule |
loadFromFile(String fileName) |
static NType |
nativeTypeOf()
Retrieves the native type for the enclosing class.
|
void |
setCompany(String value)
Sets company value for the current module.
|
void |
setCopyright(String value)
Sets copyright value for the current module.
|
void |
setId(String value) |
void |
setName(String value)
Sets the name for the current module.
|
void |
setNativeId(String value) |
void |
setOptions(EnumSet<NModuleOption> value)
Sets the options for the current module.
|
void |
setProduct(String value)
Sets product value for the current module.
|
void |
setTitle(String value)
Sets the title for the current module.
|
void |
setVersionBuild(int value)
Gets the version build value of the current module.
|
void |
setVersionMajor(int value)
Sets the major version value of the current module.
|
void |
setVersionMinor(int value)
Sets the minor version value of the current module.
|
void |
setVersionRevision(int value)
Gets the version revision value of the current module.
|
addListener, addPropertyChangeListener, captureProperties, claimHandle, clone, compareTo, copyProperties, dispose, disposeArray, equals, fromHandle, fromHandle, fromObject, getFlags, getHandle, getNativeType, getOwner, getProperty, getProperty, getSize, getSize, getSizeMany, getSizeMany, hashCode, invoke, invoke, invoke, isDisposed, nObjectCallbackNativeTypeOf, nObjectPropertyChangedCallbackNativeTypeOf, ref, removeListener, removePropertyChangeListener, reset, resetProperty, save, save, save, save, save, save, save, save, save, save, save, save, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, setFlags, setProperty, setProperty, toHandle, toObject, toString, toString, unref, unrefArray, unrefElementscheck, dispose, finalizeprotected NModule(HNObject handle, boolean claimHandle)
public NModule()
public static NType nativeTypeOf()
public static NModule[] getLoadedModules()
public void checkInit(boolean lazy)
lazy - true if the initialization is lazy; else false.public EnumSet<NModuleOption> getOptions()
public void setOptions(EnumSet<NModuleOption> value)
value - Module options.public NModule[] getDependences()
public String getName()
public void setName(String value)
value - New module name.public String getTitle()
public void setTitle(String value)
value - New module title.public String getProduct()
public void setProduct(String value)
value - New module product value.public String getCompany()
public void setCompany(String value)
value - New module company value.public String getCopyright()
public void setCopyright(String value)
value - New module copyright value.public String getId()
public void setId(String value)
public String getNativeId()
public void setNativeId(String value)
public int getVersionMajor()
public void setVersionMajor(int value)
value - Major version value.public int getVersionMinor()
public void setVersionMinor(int value)
value - Minor version value.public int getVersionBuild()
public void setVersionBuild(int value)
value - Version build value.public int getVersionRevision()
public void setVersionRevision(int value)
value - Version revision value.public String getVersion()
public String getFileName()
public String getActivated()
public Object createInstance(String name, EnumSet<NAttribute> attributes)
public NModule.DefinedTypeCollection getDefinedTypes()
Copyright © 2016 Neurotechnology. All rights reserved.