Project

General

Profile

« Previous | Next » 

Revision 03851443

Added by Andreas Müller almost 8 years ago

Add getter/setter for preferredStableIdentifier #5606

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/occurrence/SpecimenOrObservationBase.java
104 104
     *
105 105
     * NOTE: The name of the attribute was chosen against the common naming conventions of the CDM
106 106
     * as it is well known in common standards like ABCD and DarwinCore. According to CDM naming
107
     * conventions it would specimenOrObservationType.
107
     * conventions it would be specimenOrObservationType.
108 108
     *
109 109
     * @see ABCD: DataSets/DataSet/Units/Unit/RecordBasis
110 110
     * @see Darwin Core: http://wiki.tdwg.org/twiki/bin/view/DarwinCore/BasisOfRecord
......
167 167
    @Min(0)
168 168
    private Integer individualCount;
169 169

  
170
    //preferred stable identifer (URI) #5606
170
    /**
171
     * The preferred stable identifer (URI) as discussed in
172
     * {@link  http://dev.e-taxonomy.eu/trac/ticket/5606}
173
     */
171 174
    @XmlElement(name = "PreferredStableUri")
172 175
    @Field(analyze = Analyze.NO)
173 176
    @Type(type="uriUserType")
......
222 225
//************************* GETTER / SETTER ***********************/
223 226

  
224 227

  
225

  
226
    /**
227
     * @see #recordBasis
228
     * @return
229
     */
228
    /**@see #recordBasis */
230 229
    public SpecimenOrObservationType getRecordBasis() {
231 230
        return recordBasis;
232 231
    }
233

  
234
    /**
235
     * @see #recordBasis
236
     * @param recordBasis
237
     */
232
    /**@see #recordBasis */
238 233
    public void setRecordBasis(SpecimenOrObservationType recordBasis) {
239 234
        this.recordBasis = recordBasis;
240 235
    }
241 236

  
242 237

  
238
    /**@see #preferredStableUri */
239
    public URI getPreferredStableUri() {
240
        return preferredStableUri;
241
    }
242
    /**@see #preferredStableUri */
243
    public void setPreferredStableUri(URI preferredStableUri) {
244
        this.preferredStableUri = preferredStableUri;
245
    }
246

  
247

  
243 248
    /**
244 249
     * Returns the boolean value indicating if this specimen or observation should be withheld
245 250
     * (<code>publish=false</code>) or not (<code>publish=true</code>) during any publication

Also available in: Unified diff