![]() | This article includes a list of general
references, but it lacks sufficient corresponding
inline citations. (September 2017) |
In computer programming, a fully qualified name is an unambiguous name that specifies which object, function, or variable a call refers to without regard to the context of the call.[ citation needed] In a hierarchical structure, a name is fully qualified when it "is complete in the sense that it includes (a) all names in the hierarchic sequence above the given element and (b) the name of the given element itself." [1]
![]() |
Fully qualified names explicitly refer to namespaces that would otherwise be implicit because of the scope of the call. [2] While always done to eliminate ambiguity, this can mean different things dependent on context.
Commonly encountered applications of the notion have been given their own names, such as the fully qualified domain name and the fully qualified file name.
To distinguish a fully qualified name from a regular name,
C++,
Tcl,
Perl and
Ruby use two colons (::
), and
Java uses dots (.
), as does Visual Basic .NET.
[3] and
C#.
[4] In Java,
ActionScript,
[5] and other
object-oriented languages the use of the dot is known as "dot syntax".
[6] Other examples include:
server_name.[database_name].[schema_name].object_name
.
[7]
$scalar
) that is in the
package package2
would be referred to as $package2::scalar
[8]
IN
(or OF
) phrase. For example, multiple data item records might contain a member item named ACCOUNT-ID
, so specifying ACCOUNT-ID IN CUSTOMER
serves to disambiguate a specific ACCOUNT-ID
data item, specifically, the one that is a member of the parent CUSTOMER
data item. Multiple clauses may be necessary to fully disambiguate a given identifier, for example, ACCOUNT-ID IN CUSTOMER IN LAST-TRANSACTION
. This syntax is equivalent to the "dotted" notation employed in many object-oriented programming languages, but with the identifiers specified in reverse order.The term fully qualified file name (or FQFN) means a file on a computer whose exact name is completely specified such that it is unambiguous and cannot be mistaken for any other file on that computer system. [9] It is somewhat equivalent on the Internet to a URL specifying the full name of the computer and the entire name of a particular document as a file. The alternative is an unqualified file name or a partially qualified file name.
./foo/bar/baz.sh
in /home/user/quz
, which uses a relative pathname, the fully qualified name would be /home/user/quz/foo/bar/baz.sh
.
[10] In DOS, the name is still relative to the root directory of the
current disk, so to get a fully qualified file name, the file name must be prefixed with the drive letter and a colon, as in "C:\Users\Name\sample", where "C:" specifies the "C" drive.Fully qualified path name (FQPN) is the full path of a resource, directory or file, stored in a
computer. It is composed by the full path to the resource and its syntax depends on the
operating system. In
Unix-like operating systems it is represented in the following form: /root/path-to/file[OR]directory
, while in
DOS and
Microsoft Windows it is represented in the following form: [Drive]:\path-to\file.ext[OR]directory
. FQPN is also used in
Networking and takes the following form: \root\
FQDN\path-to\file.ext[OR]directory
, where /root/
is the
root directory, the first or top-most directory in a hierarchy, and, in this case, the rooted
tree; FQDN
is the fully qualified domain name or node. It is also used in
bootstrapping,
computer programming and in
computer science
referencing.
wikipedia.com.
for instance. This is an example of a
fully qualified domain name.
[11]![]() | This article includes a list of general
references, but it lacks sufficient corresponding
inline citations. (September 2017) |
In computer programming, a fully qualified name is an unambiguous name that specifies which object, function, or variable a call refers to without regard to the context of the call.[ citation needed] In a hierarchical structure, a name is fully qualified when it "is complete in the sense that it includes (a) all names in the hierarchic sequence above the given element and (b) the name of the given element itself." [1]
![]() |
Fully qualified names explicitly refer to namespaces that would otherwise be implicit because of the scope of the call. [2] While always done to eliminate ambiguity, this can mean different things dependent on context.
Commonly encountered applications of the notion have been given their own names, such as the fully qualified domain name and the fully qualified file name.
To distinguish a fully qualified name from a regular name,
C++,
Tcl,
Perl and
Ruby use two colons (::
), and
Java uses dots (.
), as does Visual Basic .NET.
[3] and
C#.
[4] In Java,
ActionScript,
[5] and other
object-oriented languages the use of the dot is known as "dot syntax".
[6] Other examples include:
server_name.[database_name].[schema_name].object_name
.
[7]
$scalar
) that is in the
package package2
would be referred to as $package2::scalar
[8]
IN
(or OF
) phrase. For example, multiple data item records might contain a member item named ACCOUNT-ID
, so specifying ACCOUNT-ID IN CUSTOMER
serves to disambiguate a specific ACCOUNT-ID
data item, specifically, the one that is a member of the parent CUSTOMER
data item. Multiple clauses may be necessary to fully disambiguate a given identifier, for example, ACCOUNT-ID IN CUSTOMER IN LAST-TRANSACTION
. This syntax is equivalent to the "dotted" notation employed in many object-oriented programming languages, but with the identifiers specified in reverse order.The term fully qualified file name (or FQFN) means a file on a computer whose exact name is completely specified such that it is unambiguous and cannot be mistaken for any other file on that computer system. [9] It is somewhat equivalent on the Internet to a URL specifying the full name of the computer and the entire name of a particular document as a file. The alternative is an unqualified file name or a partially qualified file name.
./foo/bar/baz.sh
in /home/user/quz
, which uses a relative pathname, the fully qualified name would be /home/user/quz/foo/bar/baz.sh
.
[10] In DOS, the name is still relative to the root directory of the
current disk, so to get a fully qualified file name, the file name must be prefixed with the drive letter and a colon, as in "C:\Users\Name\sample", where "C:" specifies the "C" drive.Fully qualified path name (FQPN) is the full path of a resource, directory or file, stored in a
computer. It is composed by the full path to the resource and its syntax depends on the
operating system. In
Unix-like operating systems it is represented in the following form: /root/path-to/file[OR]directory
, while in
DOS and
Microsoft Windows it is represented in the following form: [Drive]:\path-to\file.ext[OR]directory
. FQPN is also used in
Networking and takes the following form: \root\
FQDN\path-to\file.ext[OR]directory
, where /root/
is the
root directory, the first or top-most directory in a hierarchy, and, in this case, the rooted
tree; FQDN
is the fully qualified domain name or node. It is also used in
bootstrapping,
computer programming and in
computer science
referencing.
wikipedia.com.
for instance. This is an example of a
fully qualified domain name.
[11]