コード例 #1
0
 protected JavaCollectionMapping2_0 getJavaCollectionMapping() {
   AttributeMapping javaAttributeMapping = this.getJavaAttributeMapping();
   return (javaAttributeMapping.getKey() == this.getKey())
       ? (JavaCollectionMapping2_0) javaAttributeMapping
       : null;
 }
コード例 #2
0
 public boolean mayBeMappedBy(AttributeMapping mapping) {
   return mapping.getKey() == MappingKeys.ONE_TO_ONE_ATTRIBUTE_MAPPING_KEY;
 }