1 15 package org.apache.hivemind.parse; 16 17 import org.apache.hivemind.impl.BaseLocatable; 18 import org.apache.hivemind.util.ToStringBuilder; 19 20 25 public final class DependencyDescriptor extends BaseLocatable 26 { 27 28 private String _moduleId; 29 private String _version; 30 31 public String getModuleId() 32 { 33 return _moduleId; 34 } 35 36 public void setModuleId(String moduleId) 37 { 38 _moduleId = moduleId; 39 } 40 41 public String getVersion() 42 { 43 return _version; 44 } 45 46 public void setVersion(String version) 47 { 48 _version = version; 49 } 50 51 public String toString() 52 { 53 ToStringBuilder builder = new ToStringBuilder(this); 54 builder.append("moduleId", _moduleId); 55 builder.append("version", _version); 56 57 return builder.toString(); 58 } 59 60 } 61 | Popular Tags |