Class JdoPrimaryKeyPropertyPredicate

  • All Implemented Interfaces:
    Predicate<org.apache.causeway.core.metamodel.spec.feature.ObjectAssociation>

    public final class JdoPrimaryKeyPropertyPredicate
    extends Object
    implements Predicate<org.apache.causeway.core.metamodel.spec.feature.ObjectAssociation>
    Use to locate the property annotated with PrimaryKey.

    In addition, must also be a OneToOneAssociation, and can be read.

    Note that it is NOT necessary for there to be a facet to set the property.

    • Method Detail

      • test

        public boolean test​(org.apache.causeway.core.metamodel.spec.feature.ObjectAssociation noa)
        Specified by:
        test in interface Predicate<org.apache.causeway.core.metamodel.spec.feature.ObjectAssociation>