1
0
mirror of https://github.com/twiglet/cs2j.git synced 2025-01-18 13:15:17 +01:00
2013-03-15 16:50:55 +01:00

84 lines
2.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
This file is
Copyright 2007,2008,2009,2010 Rustici Software, LLC
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
-->
<Class has_boxed_rep="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
<Imports />
<Java>short</Java>
<BoxedJava>Short</BoxedJava>
<Name>System.Int16</Name>
<Uses />
<Inherits>
<Type>System.Number</Type>
<Type>System.IComparable</Type>
<Type>System.IFormattable</Type>
<Type>System.IConvertible</Type>
</Inherits>
<Methods>
<Method>
<Imports />
<Java>String.valueOf(${this})</Java>
<Params />
<Name>ToString</Name>
<Return>System.String</Return>
</Method>
<Method>
<Imports />
<Java>Short.valueOf(${str})</Java>
<Params>
<Param>
<Type>System.String</Type>
<Name>str</Name>
</Param>
</Params>
<Name>Parse</Name>
<Return>System.Int16</Return>
</Method>
</Methods>
<Properties>
<Property>
<Imports />
<Java>Short.MIN_VALUE</Java>
<Type>System.Int16</Type>
<Name>MinValue</Name>
<Get>Short.MIN_VALUE</Get>
<Set>${this:16}.setMinValue(${value})</Set>
</Property>
<Property>
<Imports />
<Java>Short.MAX_VALUE</Java>
<Type>System.Int16</Type>
<Name>MaxValue</Name>
<Get>Short.MAX_VALUE</Get>
<Set>${this:16}.setMaxValue(${value})</Set>
</Property>
<Property>
<Imports />
<Java>${this}</Java>
<Type>System.Int16</Type>
<Name>Value</Name>
<Get>${this}</Get>
<Set>${this:16}.setValue(${value})</Set>
</Property>
</Properties>
<Events />
<Indexers />
<Constructors />
<Fields />
<Casts>
<Cast>
<Imports />
<Java>((Short) ${expr})</Java>
<From>System.Object</From>
<To>System.Int16</To>
</Cast>
</Casts>
<UnaryOps />
<BinaryOps />
</Class>