本文整理汇总了Java中org.ksoap2.serialization.PropertyInfo.VECTOR_CLASS属性的典型用法代码示例。如果您正苦于以下问题:Java PropertyInfo.VECTOR_CLASS属性的具体用法?Java PropertyInfo.VECTOR_CLASS怎么用?Java PropertyInfo.VECTOR_CLASS使用的例子?那么恭喜您, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类org.ksoap2.serialization.PropertyInfo
的用法示例。
在下文中一共展示了PropertyInfo.VECTOR_CLASS属性的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getPropertyInfo
@Override
public void getPropertyInfo(int arg0, Hashtable arg1, PropertyInfo arg2) {
switch(arg0){
case 0: arg2.name="dataNadania"; arg2.type=Date.class; break;
case 1: arg2.name="kodKrajuNadania"; arg2.type=PropertyInfo.STRING_CLASS; break;
case 2: arg2.name="kodKrajuPrzezn"; arg2.type=PropertyInfo.STRING_CLASS; break;
case 3: arg2.name="kodRodzPrzes"; arg2.type=PropertyInfo.STRING_CLASS; break;
case 4: arg2.name="krajNadania"; arg2.type=PropertyInfo.STRING_CLASS; break;
case 5: arg2.name="krajPrzezn"; arg2.type=PropertyInfo.STRING_CLASS; break;
case 6: arg2.name="masa"; arg2.type=Double.class; break;
case 7: arg2.name="numer"; arg2.type=PropertyInfo.STRING_CLASS; break;
case 8: arg2.name="rodzPrzes"; arg2.type=PropertyInfo.STRING_CLASS; break;
case 9: arg2.name="urzadNadania"; arg2.type=Jednostka.class; break;
case 10: arg2.name="urzadPrzezn"; arg2.type=Jednostka.class; break;
case 11: arg2.name="zakonczonoObsluge"; arg2.type=PropertyInfo.BOOLEAN_CLASS; break;
case 12: arg2.name="zdarzenia"; arg2.type=PropertyInfo.VECTOR_CLASS; break;
}
}
示例2: getPropertyInfo
@SuppressWarnings("rawtypes")
public void getPropertyInfo(int arg0, Hashtable arg1, PropertyInfo pi) {
cptPropID pid = cptPropID.values()[arg0];
switch (pid) {
case pidFavorite:
pi.type = PropertyInfo.BOOLEAN_CLASS;
pi.name = "IsFavorite";
break;
case pidFlags:
pi.type = PropertyInfo.INTEGER_CLASS;
pi.name = "Flags";
break;
case pidFormatString:
pi.type = PropertyInfo.STRING_CLASS;
pi.name = "FormatString";
break;
case pidDescription:
pi.type = PropertyInfo.STRING_CLASS;
pi.name = "Description";
break;
case pidIDPropType:
pi.type = PropertyInfo.INTEGER_CLASS;
pi.name = "PropTypeID";
break;
case pidTitle:
pi.type = PropertyInfo.STRING_CLASS;
pi.name = "Title";
break;
case pidSortKey:
pi.type = PropertyInfo.STRING_CLASS;
pi.name = "SortKey";
break;
case pidType:
pi.type = PropertyInfo.STRING_CLASS;
pi.name = "Type";
break;
case pidPreviousValues:
pi.type = PropertyInfo.VECTOR_CLASS;
pi.name = "PreviousValues";
pi.elementType = new PropertyInfo();
pi.elementType.type = PropertyInfo.STRING_CLASS;
pi.elementType.name = "string";
break;
}
}