~tritone-team/tritone/eucalyptus

« back to all changes in this revision

Viewing changes to clc/modules/core/src/main/java/edu/ucsb/eucalyptus/cloud/entities/MetaDataInfo.java

  • Committer: Bazaar Package Importer
  • Author(s): Dustin Kirkland
  • Date: 2009-12-01 21:09:28 UTC
  • mto: This revision was merged to the branch mainline in revision 75.
  • Revision ID: james.westby@ubuntu.com-20091201210928-o2dvg0ubljhb0ft6
Tags: upstream-1.6.1~bzr1083
ImportĀ upstreamĀ versionĀ 1.6.1~bzr1083

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
import org.hibernate.annotations.Cache;
69
69
import org.hibernate.annotations.CacheConcurrencyStrategy;
70
70
 
 
71
import sun.util.LocaleServiceProviderPool.LocalizedObjectGetter;
 
72
 
71
73
import javax.persistence.*;
72
74
 
73
75
@Entity
87
89
 
88
90
    public MetaDataInfo(){}
89
91
 
 
92
    public MetaDataInfo(MetaDataInfo original) {
 
93
        this.name = original.getName();
 
94
        this.value = original.getValue();
 
95
        this.objectName = original.getObjectName();        
 
96
    }
 
97
 
90
98
    public Long getId()
91
99
    {
92
100
        return this.id;
116
124
        this.value = value;
117
125
    }
118
126
 
119
 
    public MetaDataInfo clone() {
120
 
        MetaDataInfo metaDataInfo = new MetaDataInfo();
121
 
        metaDataInfo.setName(name);
122
 
        metaDataInfo.setValue(value);
123
 
        metaDataInfo.setObjectName(objectName);
124
 
        return metaDataInfo;
125
 
    }
126
127
 
127
128
        @Override
128
129
        public int hashCode() {