Class JdoPropertyUtils
- java.lang.Object
-
- org.apache.causeway.persistence.jdo.integration.metamodel.JdoPropertyUtils
-
public final class JdoPropertyUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.causeway.core.metamodel.spec.feature.OneToOneAssociationgetPrimaryKeyPropertyFor(org.apache.causeway.core.metamodel.spec.ObjectSpecification objectSpec)Searches for the property annotated withPrimaryKey.static booleanhasPrimaryKeyProperty(org.apache.causeway.core.metamodel.spec.ObjectSpecification objectSpec)
-
-
-
Method Detail
-
getPrimaryKeyPropertyFor
public static org.apache.causeway.core.metamodel.spec.feature.OneToOneAssociation getPrimaryKeyPropertyFor(org.apache.causeway.core.metamodel.spec.ObjectSpecification objectSpec)
Searches for the property annotated withPrimaryKey.Returns the
OneToOneAssociationif there is precisely one; else null.- See Also:
JdoPrimaryKeyPropertyPredicate
-
hasPrimaryKeyProperty
public static boolean hasPrimaryKeyProperty(org.apache.causeway.core.metamodel.spec.ObjectSpecification objectSpec)
-
-