Class EnumerablePropertySource<T>

    • Constructor Detail

      • EnumerablePropertySource

        public EnumerablePropertySource(java.lang.String name,
                                        T source)
      • EnumerablePropertySource

        protected EnumerablePropertySource(java.lang.String name)
    • Method Detail

      • containsProperty

        public boolean containsProperty(java.lang.String name)
        Return whether this PropertySource contains a property with the given name.

        This implementation checks for the presence of the given name within the getPropertyNames() array.

        containsProperty in class PropertySource<T>
        name - the name of the property to find
      • getPropertyNames

        public abstract java.lang.String[] getPropertyNames()
        Return the names of all properties contained by the source object (never null).