1 package org.apache.ojb.broker.metadata; 2 3 import org.apache.ojb.broker.metadata.fieldaccess.AnonymousPersistentFieldForInheritance; 4 5 19 20 public class AnonymousObjectReferenceDescriptor extends ObjectReferenceDescriptor 21 { 22 private static final long serialVersionUID = -9132555799710533265L; 23 24 public static final String ANONYMOUS_NAME = null; 25 26 public AnonymousObjectReferenceDescriptor(ClassDescriptor descriptor) 27 { 28 super(descriptor); 29 } 30 31 public void setPersistentField(Class c, String fieldname) 32 { 33 m_PersistentField = new AnonymousPersistentFieldForInheritance(m_ClassDescriptor, ANONYMOUS_NAME); 38 } 39 } 40 41 | Popular Tags |