edu.internet2.middleware.grouper.ws.soap.WsStemLookup Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grouper-ws Show documentation
Show all versions of grouper-ws Show documentation
Internet2 Groups Management WS Core
/*******************************************************************************
* Copyright 2012 Internet2
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
/**
*
*/
package edu.internet2.middleware.grouper.ws.soap;
import org.apache.commons.lang.StringUtils;
/**
*
* Class to lookup a stem via web service
*
* developers make sure each setter calls this.clearSubject();
* TODO: add in extensions in the query
*
* @author mchyzer
*/
public class WsStemLookup {
/**
* see if this stem lookup has data
* @return true if it has data
*/
public boolean hasData() {
return !StringUtils.isBlank(this.stemName) || !StringUtils.isBlank(this.uuid);
}
/**
* uuid of the stem to find
*/
private String uuid;
/** name of the stem to find (includes stems, e.g. stem1:stem2:stemName */
private String stemName;
/**
* uuid of the stem to find
* @return the uuid
*/
public String getUuid() {
return this.uuid;
}
/**
* uuid of the stem to find
* @param uuid1 the uuid to set
*/
public void setUuid(String uuid1) {
this.uuid = uuid1;
}
/**
* name of the stem to find (includes stems, e.g. stem1:stem2:stemName
* @return the theName
*/
public String getStemName() {
return this.stemName;
}
/**
* name of the stem to find (includes stems, e.g. stem1:stem2:stemName
* @param theName the theName to set
*/
public void setStemName(String theName) {
this.stemName = theName;
}
/**
*
*/
public WsStemLookup() {
//blank
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy