Revision 6a757427
Added by Andreas Müller almost 4 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/description/TemporalData.java | ||
---|---|---|
47 | 47 |
@XmlElement(name = "Period") |
48 | 48 |
private ExtendedTimePeriod period = ExtendedTimePeriod.NewExtendedInstance(); |
49 | 49 |
|
50 |
public static TemporalData NewInstance(){ |
|
51 |
TemporalData result = new TemporalData(); |
|
52 |
return result; |
|
53 |
} |
|
54 |
|
|
50 | 55 |
/** |
51 | 56 |
* Creates a temporal fact with the given period. |
52 | 57 |
*/ |
Also available in: Unified diff
add empty factory method to TemporalData