Class PropertyComponent

    • Field Detail

      • createMissingBeans

        protected static boolean createMissingBeans
    • Constructor Detail

      • PropertyComponent

        public PropertyComponent()
    • Method Detail

      • isIdentifier

        public boolean isIdentifier()
        Description copied from interface: Property
        Returns whether this property or any of its descendants are used to identify a bean object.
        Specified by:
        isIdentifier in interface Property
        Returns:
        true if this property identifies a bean
      • setIdentifier

        public void setIdentifier​(boolean identifier)
        Specified by:
        setIdentifier in interface Property
      • getType

        public java.lang.Class<?> getType()
        Specified by:
        getType in interface Property
      • setType

        public void setType​(java.lang.Class<?> type)
        Specified by:
        setType in interface Property
      • isRequired

        public boolean isRequired()
        Returns whether this property should always be instantiated when Property.createValue(ParsingContext) is invoked.
        Returns:
        true to always instantiate this property, false otherwise
      • setRequired

        public void setRequired​(boolean required)
        Sets whether this property should always be instantiated when Property.createValue(ParsingContext) is invoked.
        Parameters:
        required - true to always instantiate this property, false otherwise
      • isMatchNull

        public boolean isMatchNull()
        Returns whether this bean can still identify a record if null.
        Returns:
        true if null allowed for record identification, false otherwise
      • setMatchNull

        public void setMatchNull​(boolean matchNull)
        Sets whether this bean can still identify a record if null.
        Parameters:
        matchNull - true if null allowed for record identification, false otherwise