edu.internet2.middleware.grouper.ws.soap.WsGetSubjectsResults 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;
/**
*
* results for the get memberships call, or the get memberships lite call
*
* result code:
* code of the result for this group overall
* SUCCESS: means everything ok
* GROUP_NOT_FOUND: cant find the group
* INVALID_QUERY: bad inputs
* EXCEPTION: something bad happened
*
* @author mchyzer
*/
public class WsGetSubjectsResults {
/**
* result metadata
* @param resultMetadata1
*/
public void setResultMetadata(WsResultMeta resultMetadata1) {
this.resultMetadata = resultMetadata1;
}
/**
* attributes of subjects returned, in same order as the data
*/
private String[] subjectAttributeNames;
/**
* subjects that are in the results
*/
private WsSubject[] wsSubjects;
/**
* subjects that are in the results
* @return the subjects
*/
public WsSubject[] getWsSubjects() {
return this.wsSubjects;
}
/**
* subjects that are in the results
* @param wsSubjects1
*/
public void setWsSubjects(WsSubject[] wsSubjects1) {
this.wsSubjects = wsSubjects1;
}
/**
* metadata about the result
*/
private WsResultMeta resultMetadata = new WsResultMeta();
/**
* metadata about the result
*/
private WsResponseMeta responseMetadata = new WsResponseMeta();
/**
* attributes of subjects returned, in same order as the data
* @return the attributeNames
*/
public String[] getSubjectAttributeNames() {
return this.subjectAttributeNames;
}
/**
* attributes of subjects returned, in same order as the data
* @param attributeNamesa the attributeNames to set
*/
public void setSubjectAttributeNames(String[] attributeNamesa) {
this.subjectAttributeNames = attributeNamesa;
}
/**
* @return the resultMetadata
*/
public WsResultMeta getResultMetadata() {
return this.resultMetadata;
}
/**
* @see edu.internet2.middleware.grouper.ws.rest.WsResponseBean#getResponseMetadata()
* @return the response metadata
*/
public WsResponseMeta getResponseMetadata() {
return this.responseMetadata;
}
/**
* @param responseMetadata1 the responseMetadata to set
*/
public void setResponseMetadata(WsResponseMeta responseMetadata1) {
this.responseMetadata = responseMetadata1;
}
/**
* group filtering for
*/
private WsGroup wsGroup;
/**
* @return the wsGroups
*/
public WsGroup getWsGroup() {
return this.wsGroup;
}
/**
* @param wsGroup1 the wsGroups to set
*/
public void setWsGroup(WsGroup wsGroup1) {
this.wsGroup = wsGroup1;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy