예제 #1
0
 public static final XmlApiDescriptor fromValue(BApiDescriptor apiDesc) {
   XmlApiDescriptor x = new XmlApiDescriptor();
   x.name = apiDesc.name;
   x.apiPack = apiDesc.basePackage;
   x.version = BVersioning.longToString(apiDesc.version);
   x.uniqueObjects = apiDesc.uniqueObjects;
   return x;
 }
예제 #2
0
 public BApiDescriptor toValue() {
   return new BApiDescriptor(name, apiPack, BVersioning.stringToLong(version), uniqueObjects);
 }