API - ObjectIdentifier

ObjectIdentifier object which helps with the location of files and building identifiers

Methods

Return a new instance of the current identifier.

Returns ObjectIdentifier: A cloned identifier.

Return the current application

Returns String: Application name of the current identifier.

Return the current component

Returns String: Component name of the current identifier.

Return the current name

Returns String: Name of the current identifier.

Return the current path

Returns Array: path of the current identifier.

Return the current type

Returns String: Type of the current identifier.

Set the type of the current identifier

Parameters
Name Type Description
newType String The type for the current identifier.

Set the application of the current identifier

Parameters
Name Type Description
newApplication String The application name for the current identifier.

Set the component of the current identifier

Parameters
Name Type Description
newPackage String The package name for the current identifier.

Set the name for the current identifier

Parameters
Name Type Description
newName String The name for the current identifier.

Set the path of the current identifier

Parameters
Name Type Description
newPath Array The path for the current identifier.

Recreate the identifier given to the Object.

Returns String: The recreated identifier string given to the current object.