当前位置: 首页>>代码示例>>Java>>正文


Java User类代码示例

本文整理汇总了Java中org.onvif.ver10.schema.User的典型用法代码示例。如果您正苦于以下问题:Java User类的具体用法?Java User怎么用?Java User使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


User类属于org.onvif.ver10.schema包,在下文中一共展示了User类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getUsers

import org.onvif.ver10.schema.User; //导入依赖的package包/类
public List<User> getUsers() throws Exception {
	GetUsersResponse response = client.processRequest(new GetUsers(), GetUsersResponse.class, serviceUrl, true);
	return response.getUser();
}
 
开发者ID:D2Edev,项目名称:onvifjava,代码行数:5,代码来源:DeviceManagementService.java

示例2: getUser

import org.onvif.ver10.schema.User; //导入依赖的package包/类
/**
 * Gets the value of the user property.
 * 
 * <p>
 * This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object.
 * This is why there is not a <CODE>set</CODE> method for the user property.
 * 
 * <p>
 * For example, to add a new item, do as follows:
 * 
 * <pre>
 * getUser().add(newItem);
 * </pre>
 * 
 * 
 * <p>
 * Objects of the following type(s) are allowed in the list {@link User }
 * 
 * 
 */
public List<User> getUser() {
	if (user == null) {
		user = new ArrayList<User>();
	}
	return this.user;
}
 
开发者ID:D2Edev,项目名称:onvifjava,代码行数:27,代码来源:GetUsersResponse.java

示例3: getUser

import org.onvif.ver10.schema.User; //导入依赖的package包/类
/**
 * Gets the value of the user property.
 * 
 * <p>
 * This accessor method returns a reference to the live list,
 * not a snapshot. Therefore any modification you make to the
 * returned list will be present inside the JAXB object.
 * This is why there is not a <CODE>set</CODE> method for the user property.
 * 
 * <p>
 * For example, to add a new item, do as follows:
 * <pre>
 *    getUser().add(newItem);
 * </pre>
 * 
 * 
 * <p>
 * Objects of the following type(s) are allowed in the list
 * {@link User }
 * 
 * 
 */
public List<User> getUser() {
    if (user == null) {
        user = new ArrayList<User>();
    }
    return this.user;
}
 
开发者ID:fpompermaier,项目名称:onvif,代码行数:29,代码来源:GetUsersResponse.java


注:本文中的org.onvif.ver10.schema.User类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。