1 package ohos; 2 3 /** 4 * Collection of members in ModuleApiVersion. 5 */ 6 class ModuleApiVersion { 7 /** 8 * Indicates the compatibleApiVersion of app. 9 */ 10 private int compatibleApiVersion = -1; 11 12 /** 13 * Indicates the compatibleApiVersion of app. 14 */ 15 private int targetApiVersion = -1; 16 17 /** 18 * Indicates the releaseType of app. 19 */ 20 private String releaseType = ""; 21 getReleaseType()22 public String getReleaseType() { 23 return releaseType; 24 } 25 setReleaseType(String releaseType)26 public void setReleaseType(String releaseType) { 27 this.releaseType = releaseType; 28 } 29 getCompatibleApiVersion()30 public int getCompatibleApiVersion() { 31 return compatibleApiVersion; 32 } 33 setCompatibleApiVersion(int compatibleApiVersion)34 public void setCompatibleApiVersion(int compatibleApiVersion) { 35 this.compatibleApiVersion = compatibleApiVersion; 36 } 37 getTargetApiVersion()38 public int getTargetApiVersion() { 39 return targetApiVersion; 40 } 41 setTargetApiVersion(int targetApiVersion)42 public void setTargetApiVersion(int targetApiVersion) { 43 this.targetApiVersion = targetApiVersion; 44 } 45 } 46