Interface Property<P>

Type Parameters:
P - The type of the value of the property.
All Superinterfaces:
Comparable<Property<?>>
All Known Subinterfaces:
EntityProperty<T>, NavigationProperty<P>
All Known Implementing Classes:
EntityPropertyMain, NavigationPropertyAbstract, NavigationPropertyEntity, NavigationPropertyEntitySet, PropertyAbstract

public interface Property<P> extends Comparable<Property<?>>
  • Method Summary

    Modifier and Type
    Method
    Description
    default int
     
    The name of this property as used in JSON.
    The name of this property as used in URLs.
    The class of the type of the value of this property.
    boolean
    Flag indicating the property is system generated and can not be edited by the user.
  • Method Details

    • getName

      String getName()
      The name of this property as used in URLs.
      Returns:
      The name of this property as used in URLs.
    • getJsonName

      String getJsonName()
      The name of this property as used in JSON.
      Returns:
      The name of this property as used in JSON.
    • getType

      PropertyType getType()
      The class of the type of the value of this property.
      Returns:
      The class of the type of the value of this property.
    • isReadOnly

      boolean isReadOnly()
      Flag indicating the property is system generated and can not be edited by the user.
      Returns:
      the readOnly flag.
    • compareTo

      default int compareTo(Property o)
      Specified by:
      compareTo in interface Comparable<P>