Class PropertyDescriptor


  • public class PropertyDescriptor
    extends java.lang.Object
    Object property descriptor.
    • Constructor Summary

      Constructors 
      Constructor Description
      PropertyDescriptor​(java.lang.String name, RemoteObject value, java.lang.Boolean writable, RemoteObject get, RemoteObject set, java.lang.Boolean configurable, java.lang.Boolean enumerable, java.lang.Boolean wasThrown, java.lang.Boolean isOwn, RemoteObject symbol)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Boolean getConfigurable()
      True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object.
      java.lang.Boolean getEnumerable()
      True if this property shows up during enumeration of the properties on the corresponding object.
      RemoteObject getGet()
      A function which serves as a getter for the property, or `undefined` if there is no getter (accessor descriptors only).
      java.lang.Boolean getIsOwn()
      True if the property is owned for the object.
      java.lang.String getName()
      Property name or symbol description.
      RemoteObject getSet()
      A function which serves as a setter for the property, or `undefined` if there is no setter (accessor descriptors only).
      RemoteObject getSymbol()
      Property symbol object, if the property is of the `symbol` type.
      RemoteObject getValue()
      The value associated with the property.
      java.lang.Boolean getWasThrown()
      True if the result was thrown during the evaluation.
      java.lang.Boolean getWritable()
      True if the value associated with the property may be changed (data descriptors only).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PropertyDescriptor

        public PropertyDescriptor​(java.lang.String name,
                                  RemoteObject value,
                                  java.lang.Boolean writable,
                                  RemoteObject get,
                                  RemoteObject set,
                                  java.lang.Boolean configurable,
                                  java.lang.Boolean enumerable,
                                  java.lang.Boolean wasThrown,
                                  java.lang.Boolean isOwn,
                                  RemoteObject symbol)
    • Method Detail

      • getName

        public java.lang.String getName()
        Property name or symbol description.
      • getValue

        public RemoteObject getValue()
        The value associated with the property.
      • getWritable

        public java.lang.Boolean getWritable()
        True if the value associated with the property may be changed (data descriptors only).
      • getGet

        public RemoteObject getGet()
        A function which serves as a getter for the property, or `undefined` if there is no getter (accessor descriptors only).
      • getSet

        public RemoteObject getSet()
        A function which serves as a setter for the property, or `undefined` if there is no setter (accessor descriptors only).
      • getConfigurable

        public java.lang.Boolean getConfigurable()
        True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object.
      • getEnumerable

        public java.lang.Boolean getEnumerable()
        True if this property shows up during enumeration of the properties on the corresponding object.
      • getWasThrown

        public java.lang.Boolean getWasThrown()
        True if the result was thrown during the evaluation.
      • getIsOwn

        public java.lang.Boolean getIsOwn()
        True if the property is owned for the object.
      • getSymbol

        public RemoteObject getSymbol()
        Property symbol object, if the property is of the `symbol` type.