com.io7m.jpra.model.names

## Class FieldReference

- java.lang.Object
- - com.io7m.jpra.model.names.FieldReference

-     public final class FieldReference
      extends Object

  A reference to a field.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FieldReference(Optional<PackageNameUnqualified> in_pack, Optional<TypeName> in_type, FieldPath in_field_path)` Construct a reference.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `FieldPath` | `getFieldPath()`
    `Optional<PackageNameUnqualified>` | `getPackage()`
    `Optional<TypeName>` | `getType()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### FieldReference

          public FieldReference(Optional<PackageNameUnqualified> in_pack,
                                Optional<TypeName> in_type,
                                FieldPath in_field_path)

      Construct a reference.
      Parameters:
        `in_pack` - The package name, if any
        `in_type` - The type name, if any
        `in_field_path` - The field path

  - ### Method Detail

    - #### getFieldPath

          public FieldPath getFieldPath()

      Returns:
        The field path

    - #### getPackage

          public Optional<PackageNameUnqualified> getPackage()

      Returns:
        The package name, if any

    - #### getType

          public Optional<TypeName> getType()

      Returns:
        The type name, if any

Copyright © 2015 <code@io7m.com> http://io7m.com