Documentation of 'org.yaml.snakeyaml.introspector.MethodProperty' Java class
MethodProperty
org.yaml.snakeyaml.introspector

Class MethodProperty

  • All Implemented Interfaces:
    java.lang.Comparable<Property>


    public class MethodProperty
    extends GenericProperty

    A MethodProperty is a Property which is accessed through accessor methods (setX, getX). It is possible to have a MethodProperty which has only setter, only getter, or both. It is not possible to have a MethodProperty which has neither setter nor getter.

    • Constructor Detail

      • MethodProperty

        public MethodProperty(java.beans.PropertyDescriptor property)
    • Method Detail

      • set

        public void set(java.lang.Object object,
                        java.lang.Object value)
                 throws java.lang.Exception
        Specified by:
        set in class Property
        Throws:
        java.lang.Exception
      • get

        public java.lang.Object get(java.lang.Object object)
        Specified by:
        get in class Property

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.