Class AssignableFromAttributePredicate

  • All Implemented Interfaces:
    java.util.function.Predicate<AttributeDescriptorModel>

    public class AssignableFromAttributePredicate
    extends java.lang.Object
    implements java.util.function.Predicate<AttributeDescriptorModel>
    Predicate to test if an attribute type is assignable from the input typeCode passed from the configuration. If matches, will return true else false. Optionally it will check as well whether the declaring enclosing type is assignable from enclosingTypeCode passed from the configuration
    • Constructor Detail

      • AssignableFromAttributePredicate

        public AssignableFromAttributePredicate()
    • Method Detail

      • getTypeCode

        protected java.lang.String getTypeCode()
      • setTypeCode

        public void setTypeCode​(java.lang.String typeCode)
      • getEnclosingTypeCode

        protected java.lang.String getEnclosingTypeCode()
      • setEnclosingTypeCode

        public void setEnclosingTypeCode​(java.lang.String enclosingTypeCode)
      • getTypeService

        protected TypeService getTypeService()
      • setTypeService

        public void setTypeService​(TypeService typeService)