Project

General

Profile

Revision 5767d3eb

ID5767d3eb4181fa101c44e3c285c3971eded06447
Parent 8d292ee0
Child c3977a0e

Added by Andreas Müller over 5 years ago

Add Factory method to Institution

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/agent/Institution.java
105 105
		return new Institution();
106 106
	}
107 107

  
108
	   /**
109
     * Creates a new empty institution instance.
110
     */
111
    public static Institution NewNamedInstance(String name){
112
        Institution result = new Institution();
113
        result.setName(name);
114
        return result;
115
    }
116

  
108 117

  
109 118
	/**
110 119
	 * Class constructor.

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)