Interface Property<P>

Type Parameters:
P - The type of the value of the property.
All Superinterfaces:
Annotatable, 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<?>>, Annotatable
  • 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 if this Property is part of the primary key of the Entity.
    boolean
    Flag indicating the property can be left out, or explicitly be set to null.
    boolean
    Flag indicating the property is system generated and can not be edited by the user.

    Methods inherited from interface de.fraunhofer.iosb.ilt.frostclient.model.csdl.annotation.Annotatable

    getAnnotations
  • 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.
    • isNullable

      boolean isNullable()
      Flag indicating the property can be left out, or explicitly be set to null.
      Returns:
      The nullable flag.
    • isKeyPart

      boolean isKeyPart()
      Flag indicating if this Property is part of the primary key of the Entity.
      Returns:
      true if this Property is part of the primary key of the Entity.
    • compareTo

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