/** * Constructor for subclass use only. Ensures that Interactors cannot be created without at least a shortLabel, an * owner and type specified. NOTE: It is assumed that subclasses of Interactor will supply a valid BioSource; this * is initially set to null but <b>other classes may expect it to be non-null</b>. * * @param shortLabel The memorable label to identify this Interactor * @param owner The Institution which owns this Interactor * @param type The Interactor type * * @throws NullPointerException thrown if either parameters are not specified */ public InteractorImpl( String shortLabel, Institution owner, CvInteractorType type ) { super( shortLabel, owner ); setCvInteractorType( type ); }
/** * Constructor for subclass use only. Ensures that Interactors cannot be created without at least a shortLabel, an * owner and type specified. NOTE: It is assumed that subclasses of Interactor will supply a valid BioSource; this * is initially set to null but <b>other classes may expect it to be non-null</b>. * * @param shortLabel The memorable label to identify this Interactor * @param owner The Institution which owns this Interactor * @param type The Interactor type * * @throws NullPointerException thrown if either parameters are not specified */ protected InteractorImpl( String shortLabel, Institution owner, CvInteractorType type ) { super( shortLabel, owner ); setCvInteractorType( type ); }
/** * Constructor for subclass use only. Ensures that Interactors cannot be created without at least a shortLabel, an * owner and type specified. NOTE: It is assumed that subclasses of Interactor will supply a valid BioSource; this * is initially set to null but <b>other classes may expect it to be non-null</b>. * * @param shortLabel The memorable label to identify this Interactor * @param owner The Institution which owns this Interactor * @param type The Interactor type * * @throws NullPointerException thrown if either parameters are not specified */ public InteractorImpl( String shortLabel, Institution owner, CvInteractorType type ) { super( shortLabel, owner ); setCvInteractorType( type ); }