1 19 package org.netbeans.modules.javacore.jmiimpl.javamodel; 20 21 import org.netbeans.jmi.javamodel.*; 22 import org.netbeans.mdr.storagemodel.StorableClass; 23 import java.util.List ; 24 25 26 27 31 public abstract class MultipartIdClassImpl extends MEFactory implements MultipartIdClass { 32 33 34 public MultipartIdClassImpl(StorableClass s) { 35 super(s); 36 } 37 38 42 public MultipartId createMultipartId() { 43 return createMPID(null, null, null); 44 } 45 46 private MultipartIdImpl createMPID(String name, MultipartId parent, List typeArguments) { 47 MultipartIdImpl result = (MultipartIdImpl) create(null); 48 result.setNew(); 49 result.setData(name, parent, typeArguments); 50 return result; 51 } 52 53 public MultipartId createMultipartId(java.lang.String name, MultipartId parent, List typeArguments) { 54 return createMPID(name, parent, typeArguments); 55 } 56 } 57 | Popular Tags |