1 23 24 package com.sun.enterprise.admin.common; 25 26 import java.io.Serializable ; 28 import java.util.Date ; 29 30 33 public class IASVersion implements Serializable 34 { 35 36 public static long serialVersionUID = -6600350216728544568L; 37 38 private String m_ProductName; 40 private String m_Version; 41 private String m_MajorVersion; 42 private String m_MinorVersion; 43 private String m_BuildVersion; 44 45 private String m_LicenseDescription; 47 private String m_LicenseType; 48 private Date m_LicenseExpirationDate; 49 private Date m_LicenseStartDate; 50 51 52 55 public IASVersion( String ProductName, 56 String Version, 57 String MajorVersion, 58 String MinorVersion, 59 String BuildVersion, 60 String LicenseDescription, 61 String LicenseType, 62 Date LicenseExpirationDate, 63 Date LicenseStartDate ) 64 { 65 m_ProductName = ProductName; 66 m_Version = ProductName; 67 m_MajorVersion = ProductName; 68 m_MinorVersion = MinorVersion; 69 m_BuildVersion = BuildVersion; 70 71 m_LicenseDescription = LicenseDescription; 72 m_LicenseType = LicenseType; 73 m_LicenseExpirationDate = LicenseExpirationDate; 74 m_LicenseStartDate = LicenseStartDate; 75 } 76 77 public String getProductName() 78 { 79 return m_ProductName; 80 } 81 public String getVersion() 82 { 83 return m_Version; 84 } 85 public String getMajorVersion() 86 { 87 return m_MajorVersion; 88 } 89 public String getMinorVersion() 90 { 91 return m_MinorVersion; 92 } 93 public String getBuildVersion() 94 { 95 return m_BuildVersion; 96 } 97 98 99 public String getLicenseDescription() 100 { 101 return m_LicenseDescription; 102 } 103 public String getLicenseType() 104 { 105 return m_LicenseType; 106 } 107 public Date getLicenseExpirationDate() 108 { 109 return m_LicenseExpirationDate; 110 } 111 public Date getLicenseStartDate() 112 { 113 return m_LicenseStartDate; 114 } 115 } | Popular Tags |