Interface Identifiable<T>

Type Parameters:
T - The type of the identifier

public interface Identifiable<T>
The Identifiable interface defines a contract for objects that have an identifier.
  • Property Summary

    Properties
    Type
    Property
    Description
    javafx.beans.property.ObjectProperty<T>
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default T
    Returns the id
    javafx.beans.property.ObjectProperty<T>
     
    default void
    setId(T id)
    Set the id
  • Property Details

  • Method Details

    • idProperty

      javafx.beans.property.ObjectProperty<T> idProperty()
      Returns:
      the id property
      See Also:
    • getId

      default T getId()
      Returns the id
    • setId

      default void setId(T id)
      Set the id