Interface IPropertyInfo

All Superinterfaces:
IAnnotatedFeatureInfo, IAttributedFeatureInfo, IFeatureInfo, IIntrinsicTypeReference
All Known Subinterfaces:
IExpansionPropertyInfo, IGosuPropertyInfo, IGosuVarPropertyInfo, IJavaBasePropertyInfo, IJavaFieldPropertyInfo, IJavaPropertyInfo, IPropertiesPropertyInfo, IPropertyInfoDelegate, ITypeInfoPropertyInfo
All Known Implementing Classes:
ArrayExpansionPropertyInfo, DynamicPropertyInfo, ErrorTypeInfo.UniversalProperty, GosuPropertyInfo, GosuVarPropertyInfo, JavaFieldPropertyInfo, JavaPropertyInfo, LengthProperty, MetaPropertyInfoDelegate, MetaTypeTypeInfo.DeprecatedStaticPropertyInfoDelegate, MetaTypeTypeInfo.TypeProperty, PackagePropertyInfo, ParameterizedGosuPropertyInfo, PropertiesPropertyInfo, PropertyInfoBase, PropertyInfoBuilder.BuiltPropertyInfo, PropertyInfoDelegate, StaticPropertyInfo, TypePropertyInfo

public interface IPropertyInfo extends IAttributedFeatureInfo, IIntrinsicTypeReference
  • Method Details

    • isReadable

      boolean isReadable()
      Returns:
      true if the property is readable given the visibility constraint passed in, false otherwise.
    • isReadable

      default boolean isReadable(IType whosAskin)
    • isWritable

      boolean isWritable()
      Returns:
      True if the property is writable given the visibility constraint passed in, false otherwise.
    • isWritable

      boolean isWritable(IType whosAskin)
      Parameters:
      whosAskin - The type querying the property writability. For example, passing in the type the property is on will allow properties that have private access in the setter to be written to. Passing in an unrelated type will only allow properties that are to be written to.
      Returns:
      True if the property is writable given the visibility constraint passed in, false otherwise.
    • getAccessor

      IPropertyAccessor getAccessor()
      Returns:
      the PropertyAccessor (for getting and setting) this property.
    • getPresentationInfo

      IPresentationInfo getPresentationInfo()