Collection completeCount parameter can be set as integer.
This commit is contained in:
@@ -21,7 +21,7 @@
|
|||||||
<xs:attribute type="xs:integer" name="id" use="required" />
|
<xs:attribute type="xs:integer" name="id" use="required" />
|
||||||
<xs:attribute type="xs:integer" name="optionId" use="required" />
|
<xs:attribute type="xs:integer" name="optionId" use="required" />
|
||||||
<xs:attribute type="xs:integer" name="category" use="required" />
|
<xs:attribute type="xs:integer" name="category" use="required" />
|
||||||
<xs:attribute type="xs:long" name="completeCount" use="required" />
|
<xs:attribute type="xs:integer" name="completeCount" use="required" />
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
|
@@ -88,7 +88,7 @@ public class CollectionData implements IXmlReader
|
|||||||
final int id = parseInteger(attrs, "id");
|
final int id = parseInteger(attrs, "id");
|
||||||
final int optionId = parseInteger(attrs, "optionId");
|
final int optionId = parseInteger(attrs, "optionId");
|
||||||
final int category = parseInteger(attrs, "category");
|
final int category = parseInteger(attrs, "category");
|
||||||
final long completeCount = parseLong(attrs, "completeCount", Long.MAX_VALUE);
|
final int completeCount = parseInteger(attrs, "completeCount", Integer.MAX_VALUE);
|
||||||
final List<ItemEnchantHolder> items = new ArrayList<>();
|
final List<ItemEnchantHolder> items = new ArrayList<>();
|
||||||
for (Node b = d.getFirstChild(); b != null; b = b.getNextSibling())
|
for (Node b = d.getFirstChild(); b != null; b = b.getNextSibling())
|
||||||
{
|
{
|
||||||
|
@@ -26,10 +26,10 @@ public class CollectionDataHolder
|
|||||||
private final int _collectionId;
|
private final int _collectionId;
|
||||||
private final int _optionId;
|
private final int _optionId;
|
||||||
private final int _category;
|
private final int _category;
|
||||||
private final long _completeCount;
|
private final int _completeCount;
|
||||||
private final List<ItemEnchantHolder> _items;
|
private final List<ItemEnchantHolder> _items;
|
||||||
|
|
||||||
public CollectionDataHolder(int collectionId, int optionId, int category, long completeCount, List<ItemEnchantHolder> items)
|
public CollectionDataHolder(int collectionId, int optionId, int category, int completeCount, List<ItemEnchantHolder> items)
|
||||||
{
|
{
|
||||||
_collectionId = collectionId;
|
_collectionId = collectionId;
|
||||||
_optionId = optionId;
|
_optionId = optionId;
|
||||||
@@ -53,7 +53,7 @@ public class CollectionDataHolder
|
|||||||
return _category;
|
return _category;
|
||||||
}
|
}
|
||||||
|
|
||||||
public long getCompleteCount()
|
public int getCompleteCount()
|
||||||
{
|
{
|
||||||
return _completeCount;
|
return _completeCount;
|
||||||
}
|
}
|
||||||
|
@@ -21,7 +21,7 @@
|
|||||||
<xs:attribute type="xs:integer" name="id" use="required" />
|
<xs:attribute type="xs:integer" name="id" use="required" />
|
||||||
<xs:attribute type="xs:integer" name="optionId" use="required" />
|
<xs:attribute type="xs:integer" name="optionId" use="required" />
|
||||||
<xs:attribute type="xs:integer" name="category" use="required" />
|
<xs:attribute type="xs:integer" name="category" use="required" />
|
||||||
<xs:attribute type="xs:long" name="completeCount" use="required" />
|
<xs:attribute type="xs:integer" name="completeCount" use="required" />
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
|
@@ -88,7 +88,7 @@ public class CollectionData implements IXmlReader
|
|||||||
final int id = parseInteger(attrs, "id");
|
final int id = parseInteger(attrs, "id");
|
||||||
final int optionId = parseInteger(attrs, "optionId");
|
final int optionId = parseInteger(attrs, "optionId");
|
||||||
final int category = parseInteger(attrs, "category");
|
final int category = parseInteger(attrs, "category");
|
||||||
final long completeCount = parseLong(attrs, "completeCount", Long.MAX_VALUE);
|
final int completeCount = parseInteger(attrs, "completeCount", Integer.MAX_VALUE);
|
||||||
final List<ItemEnchantHolder> items = new ArrayList<>();
|
final List<ItemEnchantHolder> items = new ArrayList<>();
|
||||||
for (Node b = d.getFirstChild(); b != null; b = b.getNextSibling())
|
for (Node b = d.getFirstChild(); b != null; b = b.getNextSibling())
|
||||||
{
|
{
|
||||||
|
@@ -26,10 +26,10 @@ public class CollectionDataHolder
|
|||||||
private final int _collectionId;
|
private final int _collectionId;
|
||||||
private final int _optionId;
|
private final int _optionId;
|
||||||
private final int _category;
|
private final int _category;
|
||||||
private final long _completeCount;
|
private final int _completeCount;
|
||||||
private final List<ItemEnchantHolder> _items;
|
private final List<ItemEnchantHolder> _items;
|
||||||
|
|
||||||
public CollectionDataHolder(int collectionId, int optionId, int category, long completeCount, List<ItemEnchantHolder> items)
|
public CollectionDataHolder(int collectionId, int optionId, int category, int completeCount, List<ItemEnchantHolder> items)
|
||||||
{
|
{
|
||||||
_collectionId = collectionId;
|
_collectionId = collectionId;
|
||||||
_optionId = optionId;
|
_optionId = optionId;
|
||||||
@@ -53,7 +53,7 @@ public class CollectionDataHolder
|
|||||||
return _category;
|
return _category;
|
||||||
}
|
}
|
||||||
|
|
||||||
public long getCompleteCount()
|
public int getCompleteCount()
|
||||||
{
|
{
|
||||||
return _completeCount;
|
return _completeCount;
|
||||||
}
|
}
|
||||||
|
@@ -21,7 +21,7 @@
|
|||||||
<xs:attribute type="xs:integer" name="id" use="required" />
|
<xs:attribute type="xs:integer" name="id" use="required" />
|
||||||
<xs:attribute type="xs:integer" name="optionId" use="required" />
|
<xs:attribute type="xs:integer" name="optionId" use="required" />
|
||||||
<xs:attribute type="xs:integer" name="category" use="required" />
|
<xs:attribute type="xs:integer" name="category" use="required" />
|
||||||
<xs:attribute type="xs:long" name="completeCount" use="required" />
|
<xs:attribute type="xs:integer" name="completeCount" use="required" />
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
|
@@ -88,7 +88,7 @@ public class CollectionData implements IXmlReader
|
|||||||
final int id = parseInteger(attrs, "id");
|
final int id = parseInteger(attrs, "id");
|
||||||
final int optionId = parseInteger(attrs, "optionId");
|
final int optionId = parseInteger(attrs, "optionId");
|
||||||
final int category = parseInteger(attrs, "category");
|
final int category = parseInteger(attrs, "category");
|
||||||
final long completeCount = parseLong(attrs, "completeCount", Long.MAX_VALUE);
|
final int completeCount = parseInteger(attrs, "completeCount", Integer.MAX_VALUE);
|
||||||
final List<ItemEnchantHolder> items = new ArrayList<>();
|
final List<ItemEnchantHolder> items = new ArrayList<>();
|
||||||
for (Node b = d.getFirstChild(); b != null; b = b.getNextSibling())
|
for (Node b = d.getFirstChild(); b != null; b = b.getNextSibling())
|
||||||
{
|
{
|
||||||
|
@@ -26,10 +26,10 @@ public class CollectionDataHolder
|
|||||||
private final int _collectionId;
|
private final int _collectionId;
|
||||||
private final int _optionId;
|
private final int _optionId;
|
||||||
private final int _category;
|
private final int _category;
|
||||||
private final long _completeCount;
|
private final int _completeCount;
|
||||||
private final List<ItemEnchantHolder> _items;
|
private final List<ItemEnchantHolder> _items;
|
||||||
|
|
||||||
public CollectionDataHolder(int collectionId, int optionId, int category, long completeCount, List<ItemEnchantHolder> items)
|
public CollectionDataHolder(int collectionId, int optionId, int category, int completeCount, List<ItemEnchantHolder> items)
|
||||||
{
|
{
|
||||||
_collectionId = collectionId;
|
_collectionId = collectionId;
|
||||||
_optionId = optionId;
|
_optionId = optionId;
|
||||||
@@ -53,7 +53,7 @@ public class CollectionDataHolder
|
|||||||
return _category;
|
return _category;
|
||||||
}
|
}
|
||||||
|
|
||||||
public long getCompleteCount()
|
public int getCompleteCount()
|
||||||
{
|
{
|
||||||
return _completeCount;
|
return _completeCount;
|
||||||
}
|
}
|
||||||
|
@@ -21,7 +21,7 @@
|
|||||||
<xs:attribute type="xs:integer" name="id" use="required" />
|
<xs:attribute type="xs:integer" name="id" use="required" />
|
||||||
<xs:attribute type="xs:integer" name="optionId" use="required" />
|
<xs:attribute type="xs:integer" name="optionId" use="required" />
|
||||||
<xs:attribute type="xs:integer" name="category" use="required" />
|
<xs:attribute type="xs:integer" name="category" use="required" />
|
||||||
<xs:attribute type="xs:long" name="completeCount" use="required" />
|
<xs:attribute type="xs:integer" name="completeCount" use="required" />
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
|
@@ -88,7 +88,7 @@ public class CollectionData implements IXmlReader
|
|||||||
final int id = parseInteger(attrs, "id");
|
final int id = parseInteger(attrs, "id");
|
||||||
final int optionId = parseInteger(attrs, "optionId");
|
final int optionId = parseInteger(attrs, "optionId");
|
||||||
final int category = parseInteger(attrs, "category");
|
final int category = parseInteger(attrs, "category");
|
||||||
final long completeCount = parseLong(attrs, "completeCount", Long.MAX_VALUE);
|
final int completeCount = parseInteger(attrs, "completeCount", Integer.MAX_VALUE);
|
||||||
final List<ItemEnchantHolder> items = new ArrayList<>();
|
final List<ItemEnchantHolder> items = new ArrayList<>();
|
||||||
for (Node b = d.getFirstChild(); b != null; b = b.getNextSibling())
|
for (Node b = d.getFirstChild(); b != null; b = b.getNextSibling())
|
||||||
{
|
{
|
||||||
|
@@ -26,10 +26,10 @@ public class CollectionDataHolder
|
|||||||
private final int _collectionId;
|
private final int _collectionId;
|
||||||
private final int _optionId;
|
private final int _optionId;
|
||||||
private final int _category;
|
private final int _category;
|
||||||
private final long _completeCount;
|
private final int _completeCount;
|
||||||
private final List<ItemEnchantHolder> _items;
|
private final List<ItemEnchantHolder> _items;
|
||||||
|
|
||||||
public CollectionDataHolder(int collectionId, int optionId, int category, long completeCount, List<ItemEnchantHolder> items)
|
public CollectionDataHolder(int collectionId, int optionId, int category, int completeCount, List<ItemEnchantHolder> items)
|
||||||
{
|
{
|
||||||
_collectionId = collectionId;
|
_collectionId = collectionId;
|
||||||
_optionId = optionId;
|
_optionId = optionId;
|
||||||
@@ -53,7 +53,7 @@ public class CollectionDataHolder
|
|||||||
return _category;
|
return _category;
|
||||||
}
|
}
|
||||||
|
|
||||||
public long getCompleteCount()
|
public int getCompleteCount()
|
||||||
{
|
{
|
||||||
return _completeCount;
|
return _completeCount;
|
||||||
}
|
}
|
||||||
|
@@ -21,7 +21,7 @@
|
|||||||
<xs:attribute type="xs:integer" name="id" use="required" />
|
<xs:attribute type="xs:integer" name="id" use="required" />
|
||||||
<xs:attribute type="xs:integer" name="optionId" use="required" />
|
<xs:attribute type="xs:integer" name="optionId" use="required" />
|
||||||
<xs:attribute type="xs:integer" name="category" use="required" />
|
<xs:attribute type="xs:integer" name="category" use="required" />
|
||||||
<xs:attribute type="xs:long" name="completeCount" use="required" />
|
<xs:attribute type="xs:integer" name="completeCount" use="required" />
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
|
@@ -88,7 +88,7 @@ public class CollectionData implements IXmlReader
|
|||||||
final int id = parseInteger(attrs, "id");
|
final int id = parseInteger(attrs, "id");
|
||||||
final int optionId = parseInteger(attrs, "optionId");
|
final int optionId = parseInteger(attrs, "optionId");
|
||||||
final int category = parseInteger(attrs, "category");
|
final int category = parseInteger(attrs, "category");
|
||||||
final long completeCount = parseLong(attrs, "completeCount", Long.MAX_VALUE);
|
final int completeCount = parseInteger(attrs, "completeCount", Integer.MAX_VALUE);
|
||||||
final List<ItemEnchantHolder> items = new ArrayList<>();
|
final List<ItemEnchantHolder> items = new ArrayList<>();
|
||||||
for (Node b = d.getFirstChild(); b != null; b = b.getNextSibling())
|
for (Node b = d.getFirstChild(); b != null; b = b.getNextSibling())
|
||||||
{
|
{
|
||||||
|
@@ -26,10 +26,10 @@ public class CollectionDataHolder
|
|||||||
private final int _collectionId;
|
private final int _collectionId;
|
||||||
private final int _optionId;
|
private final int _optionId;
|
||||||
private final int _category;
|
private final int _category;
|
||||||
private final long _completeCount;
|
private final int _completeCount;
|
||||||
private final List<ItemEnchantHolder> _items;
|
private final List<ItemEnchantHolder> _items;
|
||||||
|
|
||||||
public CollectionDataHolder(int collectionId, int optionId, int category, long completeCount, List<ItemEnchantHolder> items)
|
public CollectionDataHolder(int collectionId, int optionId, int category, int completeCount, List<ItemEnchantHolder> items)
|
||||||
{
|
{
|
||||||
_collectionId = collectionId;
|
_collectionId = collectionId;
|
||||||
_optionId = optionId;
|
_optionId = optionId;
|
||||||
@@ -53,7 +53,7 @@ public class CollectionDataHolder
|
|||||||
return _category;
|
return _category;
|
||||||
}
|
}
|
||||||
|
|
||||||
public long getCompleteCount()
|
public int getCompleteCount()
|
||||||
{
|
{
|
||||||
return _completeCount;
|
return _completeCount;
|
||||||
}
|
}
|
||||||
|
@@ -21,7 +21,7 @@
|
|||||||
<xs:attribute type="xs:integer" name="id" use="required" />
|
<xs:attribute type="xs:integer" name="id" use="required" />
|
||||||
<xs:attribute type="xs:integer" name="optionId" use="required" />
|
<xs:attribute type="xs:integer" name="optionId" use="required" />
|
||||||
<xs:attribute type="xs:integer" name="category" use="required" />
|
<xs:attribute type="xs:integer" name="category" use="required" />
|
||||||
<xs:attribute type="xs:long" name="completeCount" use="required" />
|
<xs:attribute type="xs:integer" name="completeCount" use="required" />
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
|
@@ -88,7 +88,7 @@ public class CollectionData implements IXmlReader
|
|||||||
final int id = parseInteger(attrs, "id");
|
final int id = parseInteger(attrs, "id");
|
||||||
final int optionId = parseInteger(attrs, "optionId");
|
final int optionId = parseInteger(attrs, "optionId");
|
||||||
final int category = parseInteger(attrs, "category");
|
final int category = parseInteger(attrs, "category");
|
||||||
final long completeCount = parseLong(attrs, "completeCount", Long.MAX_VALUE);
|
final int completeCount = parseInteger(attrs, "completeCount", Integer.MAX_VALUE);
|
||||||
final List<ItemEnchantHolder> items = new ArrayList<>();
|
final List<ItemEnchantHolder> items = new ArrayList<>();
|
||||||
for (Node b = d.getFirstChild(); b != null; b = b.getNextSibling())
|
for (Node b = d.getFirstChild(); b != null; b = b.getNextSibling())
|
||||||
{
|
{
|
||||||
|
@@ -26,10 +26,10 @@ public class CollectionDataHolder
|
|||||||
private final int _collectionId;
|
private final int _collectionId;
|
||||||
private final int _optionId;
|
private final int _optionId;
|
||||||
private final int _category;
|
private final int _category;
|
||||||
private final long _completeCount;
|
private final int _completeCount;
|
||||||
private final List<ItemEnchantHolder> _items;
|
private final List<ItemEnchantHolder> _items;
|
||||||
|
|
||||||
public CollectionDataHolder(int collectionId, int optionId, int category, long completeCount, List<ItemEnchantHolder> items)
|
public CollectionDataHolder(int collectionId, int optionId, int category, int completeCount, List<ItemEnchantHolder> items)
|
||||||
{
|
{
|
||||||
_collectionId = collectionId;
|
_collectionId = collectionId;
|
||||||
_optionId = optionId;
|
_optionId = optionId;
|
||||||
@@ -53,7 +53,7 @@ public class CollectionDataHolder
|
|||||||
return _category;
|
return _category;
|
||||||
}
|
}
|
||||||
|
|
||||||
public long getCompleteCount()
|
public int getCompleteCount()
|
||||||
{
|
{
|
||||||
return _completeCount;
|
return _completeCount;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user