本文整理汇总了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();
}
示例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;
}
示例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;
}