0001 //
0002 // This file is generated by MetaBoss Ver 1.4.0001 at Thu Dec 15 22:36:23 EST 2005
0003 // MetaBoss is Copyright 2000-2005 © Softaris Pty.Ltd. All Rights Reserved.
0004 // Content of this file is Copyright 2000-2005 © Softaris Pty. Ltd. All Rights Reserved.
0005 // This content is licensed under Open Source Gnu Public License (GPL)
0006 // Full terms and conditions of GPL can be found found at www.gnu.org
0007 //
0008 package com.almamater.crs.services.coursesdomainsupport;
0009
0010 import java.io.Serializable;
0011 import com.metaboss.enterprise.bs.BSObject;
0012 import com.metaboss.enterprise.bs.BSException;
0013 import com.metaboss.enterprise.bs.STBusinessServiceOperationInput;
0014 import com.metaboss.enterprise.bs.STBusinessServiceOperationResult;
0015
0016 /** Service description is: <i>This service provides basic data management features (create, get, update, delete) for the entities from the Courses domain</i>.
0017 *<p>This inderface represents the Enterprise/systems[CRS]/servicemodules[CoursesDomainSupport]/services[DataManagement] service.</p>
0018 */
0019 public interface BSDataManagement extends BSObject
0020 {
0021 /** Naming URL of the instances of this component. Used to access it via JNDI */
0022 public static final String COMPONENT_URL = "component:/com.almamater.crs.services.coursesdomainsupport.BSDataManagement";
0023
0024 /** This structure carries the input arguments to the getStudent operation.
0025 *<P><I><U>Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
0026 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
0027 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
0028 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
0029 public final class STGetStudentInput extends STBusinessServiceOperationInput implements Serializable
0030 {
0031 private com.almamater.crs.services.coursesdomainsupport.STStudentKey mStudentKey = null;
0032 /** @return true if this structure is empty */
0033 public boolean isEmpty()
0034 {
0035 return mStudentKey == null;
0036 }
0037
0038 /** Getter for the StudentKey field.
0039 * Field description is: <i>The unique key referring to the instance of Student to be retrieved.</i>
0040 * @return the value of the StudentKey field */
0041 public com.almamater.crs.services.coursesdomainsupport.STStudentKey getStudentKey()
0042 {
0043 return mStudentKey;
0044 }
0045
0046 /** Setter for the StudentKey field.
0047 * Field description is: <i>The unique key referring to the instance of Student to be retrieved.</i>
0048 * @param pStudentKey the new value of the field */
0049 public void setStudentKey( com.almamater.crs.services.coursesdomainsupport.STStudentKey pStudentKey)
0050 {
0051 mStudentKey = pStudentKey;
0052 }
0053 }
0054
0055 /** This structure carries the result of the getStudent operation.
0056 *<P><I><U> Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
0057 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
0058 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
0059 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
0060 public final class STGetStudentResult extends STBusinessServiceOperationResult implements Serializable
0061 {
0062 private com.almamater.crs.services.coursesdomainsupport.STStudentDetails mStudent = null;
0063 private com.almamater.crs.services.coursesdomainsupport.MOStudentInstanceNotFoundError mStudentNotFoundError = null;
0064 private com.almamater.types.core.MOInvalidOperationInputError mInvalidOperationInputError = null;
0065 /** @return true if this structure is empty */
0066 public boolean isEmpty()
0067 {
0068 return mStudent == null && mStudentNotFoundError == null && mInvalidOperationInputError == null;
0069 }
0070
0071 /** Getter for the Student field.
0072 * Field description is: <i>Details of a particuar Student found in the domain.</i>
0073 * @return the value of the Student field */
0074 public com.almamater.crs.services.coursesdomainsupport.STStudentDetails getStudent()
0075 {
0076 return mStudent;
0077 }
0078
0079 /** Setter for the Student field.
0080 * Field description is: <i>Details of a particuar Student found in the domain.</i>
0081 * @param pStudent the new value of the field */
0082 public void setStudent( com.almamater.crs.services.coursesdomainsupport.STStudentDetails pStudent)
0083 {
0084 mStudent = pStudent;
0085 }
0086
0087 /** Getter for the StudentNotFoundError message.
0088 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
0089 * Message description is: <i>This error indicates that operation has failed because required Student instance was not found.</i>
0090 * @return the StudentNotFoundError field or null */
0091 public com.almamater.crs.services.coursesdomainsupport.MOStudentInstanceNotFoundError getStudentNotFoundError()
0092 {
0093 return mStudentNotFoundError;
0094 }
0095
0096 /** Setter for the StudentNotFoundError field.
0097 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
0098 * Message description is: <i>This error indicates that operation has failed because required Student instance was not found.</i>
0099 * @param pStudentNotFoundError the new value of the message. Use null to clear the old messages out */
0100 public void setStudentNotFoundError( com.almamater.crs.services.coursesdomainsupport.MOStudentInstanceNotFoundError pStudentNotFoundError)
0101 {
0102 mStudentNotFoundError = pStudentNotFoundError;
0103 }
0104
0105 /** Getter for the InvalidOperationInputError message.
0106 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
0107 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
0108 * @return the InvalidOperationInputError field or null */
0109 public com.almamater.types.core.MOInvalidOperationInputError getInvalidOperationInputError()
0110 {
0111 return mInvalidOperationInputError;
0112 }
0113
0114 /** Setter for the InvalidOperationInputError field.
0115 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
0116 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
0117 * @param pInvalidOperationInputError the new value of the message. Use null to clear the old messages out */
0118 public void setInvalidOperationInputError( com.almamater.types.core.MOInvalidOperationInputError pInvalidOperationInputError)
0119 {
0120 mInvalidOperationInputError = pInvalidOperationInputError;
0121 }
0122 /** Overridden to return list of contained mesages. */
0123 protected java.util.List getContainedMessages()
0124 {
0125 java.util.List lReturnList = super.getContainedMessages();
0126 if (mStudentNotFoundError != null)
0127 lReturnList.add(mStudentNotFoundError);
0128 if (mInvalidOperationInputError != null)
0129 lReturnList.add(mInvalidOperationInputError);
0130 return lReturnList;
0131 }
0132 }
0133
0134 /** Operation description is: <i>Retrieves details of a particular Student instance from the domain. Instance is identified by key structure.</i>
0135 *<p>This method represents the Enterprise/systems[CRS]/servicemodules[CoursesDomainSupport]/services[DataManagement]/operations[getStudent] operation.</p>
0136 */
0137 public STGetStudentResult getStudent( STGetStudentInput pInput) throws BSException;
0138
0139 /** This structure carries the input arguments to the createStudent operation.
0140 *<P><I><U>Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
0141 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
0142 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
0143 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
0144 public final class STCreateStudentInput extends STBusinessServiceOperationInput implements Serializable
0145 {
0146 private com.almamater.crs.services.coursesdomainsupport.STStudentDetails mProposedDetails = null;
0147 /** @return true if this structure is empty */
0148 public boolean isEmpty()
0149 {
0150 return mProposedDetails == null;
0151 }
0152
0153 /** Getter for the ProposedDetails field.
0154 * Field description is: <i>Proposed details of the new instance of the Student in the domain.</i>
0155 * @return the value of the ProposedDetails field */
0156 public com.almamater.crs.services.coursesdomainsupport.STStudentDetails getProposedDetails()
0157 {
0158 return mProposedDetails;
0159 }
0160
0161 /** Setter for the ProposedDetails field.
0162 * Field description is: <i>Proposed details of the new instance of the Student in the domain.</i>
0163 * @param pProposedDetails the new value of the field */
0164 public void setProposedDetails( com.almamater.crs.services.coursesdomainsupport.STStudentDetails pProposedDetails)
0165 {
0166 mProposedDetails = pProposedDetails;
0167 }
0168 }
0169
0170 /** This structure carries the result of the createStudent operation.
0171 *<P><I><U> Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
0172 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
0173 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
0174 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
0175 public final class STCreateStudentResult extends STBusinessServiceOperationResult implements Serializable
0176 {
0177 private com.almamater.crs.services.coursesdomainsupport.STStudentDetails mCreatedDetails = null;
0178 private com.almamater.crs.services.coursesdomainsupport.MOStudentCreationDuplicateKeyError mDuplicateKeyError = null;
0179 private com.almamater.types.core.MOInvalidOperationInputError mInvalidOperationInputError = null;
0180 /** @return true if this structure is empty */
0181 public boolean isEmpty()
0182 {
0183 return mCreatedDetails == null && mDuplicateKeyError == null && mInvalidOperationInputError == null;
0184 }
0185
0186 /** Getter for the CreatedDetails field.
0187 * Field description is: <i>Details of an instance after successfull creation. Mostly the same as the details passed in, but will have some autogenerated fields populated.</i>
0188 * @return the value of the CreatedDetails field */
0189 public com.almamater.crs.services.coursesdomainsupport.STStudentDetails getCreatedDetails()
0190 {
0191 return mCreatedDetails;
0192 }
0193
0194 /** Setter for the CreatedDetails field.
0195 * Field description is: <i>Details of an instance after successfull creation. Mostly the same as the details passed in, but will have some autogenerated fields populated.</i>
0196 * @param pCreatedDetails the new value of the field */
0197 public void setCreatedDetails( com.almamater.crs.services.coursesdomainsupport.STStudentDetails pCreatedDetails)
0198 {
0199 mCreatedDetails = pCreatedDetails;
0200 }
0201
0202 /** Getter for the DuplicateKeyError message.
0203 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
0204 * Message description is: <i>This error indicates that create operation has failed because Student entity with the proposed value of the primary key exists already.</i>
0205 * @return the DuplicateKeyError field or null */
0206 public com.almamater.crs.services.coursesdomainsupport.MOStudentCreationDuplicateKeyError getDuplicateKeyError()
0207 {
0208 return mDuplicateKeyError;
0209 }
0210
0211 /** Setter for the DuplicateKeyError field.
0212 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
0213 * Message description is: <i>This error indicates that create operation has failed because Student entity with the proposed value of the primary key exists already.</i>
0214 * @param pDuplicateKeyError the new value of the message. Use null to clear the old messages out */
0215 public void setDuplicateKeyError( com.almamater.crs.services.coursesdomainsupport.MOStudentCreationDuplicateKeyError pDuplicateKeyError)
0216 {
0217 mDuplicateKeyError = pDuplicateKeyError;
0218 }
0219
0220 /** Getter for the InvalidOperationInputError message.
0221 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
0222 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
0223 * @return the InvalidOperationInputError field or null */
0224 public com.almamater.types.core.MOInvalidOperationInputError getInvalidOperationInputError()
0225 {
0226 return mInvalidOperationInputError;
0227 }
0228
0229 /** Setter for the InvalidOperationInputError field.
0230 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
0231 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
0232 * @param pInvalidOperationInputError the new value of the message. Use null to clear the old messages out */
0233 public void setInvalidOperationInputError( com.almamater.types.core.MOInvalidOperationInputError pInvalidOperationInputError)
0234 {
0235 mInvalidOperationInputError = pInvalidOperationInputError;
0236 }
0237 /** Overridden to return list of contained mesages. */
0238 protected java.util.List getContainedMessages()
0239 {
0240 java.util.List lReturnList = super.getContainedMessages();
0241 if (mDuplicateKeyError != null)
0242 lReturnList.add(mDuplicateKeyError);
0243 if (mInvalidOperationInputError != null)
0244 lReturnList.add(mInvalidOperationInputError);
0245 return lReturnList;
0246 }
0247 }
0248
0249 /** Operation description is: <i>Creates new instance of Student in the domain.</i>
0250 *<p>This method represents the Enterprise/systems[CRS]/servicemodules[CoursesDomainSupport]/services[DataManagement]/operations[createStudent] operation.</p>
0251 */
0252 public STCreateStudentResult createStudent( STCreateStudentInput pInput) throws BSException;
0253
0254 /** This structure carries the input arguments to the deleteStudent operation.
0255 *<P><I><U>Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
0256 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
0257 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
0258 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
0259 public final class STDeleteStudentInput extends STBusinessServiceOperationInput implements Serializable
0260 {
0261 private com.almamater.crs.services.coursesdomainsupport.STStudentKey mStudentKey = null;
0262 /** @return true if this structure is empty */
0263 public boolean isEmpty()
0264 {
0265 return mStudentKey == null;
0266 }
0267
0268 /** Getter for the StudentKey field.
0269 * Field description is: <i>The unique key referring to the instance of Student to be deleted.</i>
0270 * @return the value of the StudentKey field */
0271 public com.almamater.crs.services.coursesdomainsupport.STStudentKey getStudentKey()
0272 {
0273 return mStudentKey;
0274 }
0275
0276 /** Setter for the StudentKey field.
0277 * Field description is: <i>The unique key referring to the instance of Student to be deleted.</i>
0278 * @param pStudentKey the new value of the field */
0279 public void setStudentKey( com.almamater.crs.services.coursesdomainsupport.STStudentKey pStudentKey)
0280 {
0281 mStudentKey = pStudentKey;
0282 }
0283 }
0284
0285 /** This structure carries the result of the deleteStudent operation.
0286 *<P><I><U> Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
0287 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
0288 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
0289 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
0290 public final class STDeleteStudentResult extends STBusinessServiceOperationResult implements Serializable
0291 {
0292 private com.almamater.crs.services.coursesdomainsupport.MOStudentInstanceNotFoundError mStudentNotFoundError = null;
0293 private com.almamater.types.core.MOInvalidOperationInputError mInvalidOperationInputError = null;
0294 /** @return true if this structure is empty */
0295 public boolean isEmpty()
0296 {
0297 return mStudentNotFoundError == null && mInvalidOperationInputError == null;
0298 }
0299
0300 /** Getter for the StudentNotFoundError message.
0301 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
0302 * Message description is: <i>This error indicates that operation has failed because required Student instance was not found.</i>
0303 * @return the StudentNotFoundError field or null */
0304 public com.almamater.crs.services.coursesdomainsupport.MOStudentInstanceNotFoundError getStudentNotFoundError()
0305 {
0306 return mStudentNotFoundError;
0307 }
0308
0309 /** Setter for the StudentNotFoundError field.
0310 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
0311 * Message description is: <i>This error indicates that operation has failed because required Student instance was not found.</i>
0312 * @param pStudentNotFoundError the new value of the message. Use null to clear the old messages out */
0313 public void setStudentNotFoundError( com.almamater.crs.services.coursesdomainsupport.MOStudentInstanceNotFoundError pStudentNotFoundError)
0314 {
0315 mStudentNotFoundError = pStudentNotFoundError;
0316 }
0317
0318 /** Getter for the InvalidOperationInputError message.
0319 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
0320 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
0321 * @return the InvalidOperationInputError field or null */
0322 public com.almamater.types.core.MOInvalidOperationInputError getInvalidOperationInputError()
0323 {
0324 return mInvalidOperationInputError;
0325 }
0326
0327 /** Setter for the InvalidOperationInputError field.
0328 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
0329 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
0330 * @param pInvalidOperationInputError the new value of the message. Use null to clear the old messages out */
0331 public void setInvalidOperationInputError( com.almamater.types.core.MOInvalidOperationInputError pInvalidOperationInputError)
0332 {
0333 mInvalidOperationInputError = pInvalidOperationInputError;
0334 }
0335 /** Overridden to return list of contained mesages. */
0336 protected java.util.List getContainedMessages()
0337 {
0338 java.util.List lReturnList = super.getContainedMessages();
0339 if (mStudentNotFoundError != null)
0340 lReturnList.add(mStudentNotFoundError);
0341 if (mInvalidOperationInputError != null)
0342 lReturnList.add(mInvalidOperationInputError);
0343 return lReturnList;
0344 }
0345 }
0346
0347 /** Operation description is: <i>Deletes existing instance of Student in the domain.</i>
0348 *<p>This method represents the Enterprise/systems[CRS]/servicemodules[CoursesDomainSupport]/services[DataManagement]/operations[deleteStudent] operation.</p>
0349 */
0350 public STDeleteStudentResult deleteStudent( STDeleteStudentInput pInput) throws BSException;
0351
0352 /** This structure carries the input arguments to the getAllStudentsCount operation.
0353 *<P><I><U>Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
0354 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
0355 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
0356 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
0357 public final class STGetAllStudentsCountInput extends STBusinessServiceOperationInput implements Serializable
0358 {
0359 /** @return true if this structure is empty */
0360 public boolean isEmpty()
0361 {
0362 return true;
0363 }
0364 }
0365
0366 /** This structure carries the result of the getAllStudentsCount operation.
0367 *<P><I><U> Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
0368 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
0369 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
0370 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
0371 public final class STGetAllStudentsCountResult extends STBusinessServiceOperationResult implements Serializable
0372 {
0373 private com.almamater.types.core.CollectionSize mStudentsCount = null;
0374 /** @return true if this structure is empty */
0375 public boolean isEmpty()
0376 {
0377 return mStudentsCount == null;
0378 }
0379
0380 /** Getter for the StudentsCount field.
0381 * Field description is: <i>Number of Students found in the domain.</i>
0382 * @return the value of the StudentsCount field */
0383 public com.almamater.types.core.CollectionSize getStudentsCount()
0384 {
0385 return mStudentsCount;
0386 }
0387
0388 /** Setter for the StudentsCount field.
0389 * Field description is: <i>Number of Students found in the domain.</i>
0390 * @param pStudentsCount the new value of the field */
0391 public void setStudentsCount( com.almamater.types.core.CollectionSize pStudentsCount)
0392 {
0393 mStudentsCount = pStudentsCount;
0394 }
0395 }
0396
0397 /** Operation description is: <i>Retrieves count of all Students present in the domain.</i>
0398 *<p>This method represents the Enterprise/systems[CRS]/servicemodules[CoursesDomainSupport]/services[DataManagement]/operations[getAllStudentsCount] operation.</p>
0399 */
0400 public STGetAllStudentsCountResult getAllStudentsCount( STGetAllStudentsCountInput pInput) throws BSException;
0401
0402 /** This structure carries the input arguments to the getAllStudents operation.
0403 *<P><I><U>Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
0404 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
0405 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
0406 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
0407 public final class STGetAllStudentsInput extends STBusinessServiceOperationInput implements Serializable
0408 {
0409 private com.almamater.crs.types.system.courses.StudentOrderingInstruction[] mOrderingInstructions = null;
0410 /** @return true if this structure is empty */
0411 public boolean isEmpty()
0412 {
0413 return mOrderingInstructions == null;
0414 }
0415
0416 /** Getter for the OrderingInstructions field.
0417 * Field description is: <i>Array of zero or more ordering instructions (weight of the instruction is diminising towards the end of the array). Returned Students will be sorted in accordance with these instructions.</i>
0418 * @return the value of the OrderingInstructions field */
0419 public com.almamater.crs.types.system.courses.StudentOrderingInstruction[] getOrderingInstructions()
0420 {
0421 return mOrderingInstructions;
0422 }
0423
0424 /** Setter for the OrderingInstructions field.
0425 * Field description is: <i>Array of zero or more ordering instructions (weight of the instruction is diminising towards the end of the array). Returned Students will be sorted in accordance with these instructions.</i>
0426 * @param pOrderingInstructions the new value of the field */
0427 public void setOrderingInstructions( com.almamater.crs.types.system.courses.StudentOrderingInstruction[] pOrderingInstructions)
0428 {
0429 mOrderingInstructions = pOrderingInstructions;
0430 }
0431 }
0432
0433 /** This structure carries the result of the getAllStudents operation.
0434 *<P><I><U> Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
0435 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
0436 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
0437 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
0438 public final class STGetAllStudentsResult extends STBusinessServiceOperationResult implements Serializable
0439 {
0440 private com.almamater.crs.services.coursesdomainsupport.STStudentDetails[] mStudents = null;
0441 private com.almamater.types.core.MOInvalidOperationInputError mInvalidOperationInputError = null;
0442 /** @return true if this structure is empty */
0443 public boolean isEmpty()
0444 {
0445 return mStudents == null && mInvalidOperationInputError == null;
0446 }
0447
0448 /** Getter for the Students field.
0449 * Field description is: <i>Details of all Students found in the domain.</i>
0450 * @return the value of the Students field */
0451 public com.almamater.crs.services.coursesdomainsupport.STStudentDetails[] getStudents()
0452 {
0453 return mStudents;
0454 }
0455
0456 /** Setter for the Students field.
0457 * Field description is: <i>Details of all Students found in the domain.</i>
0458 * @param pStudents the new value of the field */
0459 public void setStudents( com.almamater.crs.services.coursesdomainsupport.STStudentDetails[] pStudents)
0460 {
0461 mStudents = pStudents;
0462 }
0463
0464 /** Getter for the InvalidOperationInputError message.
0465 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
0466 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
0467 * @return the InvalidOperationInputError field or null */
0468 public com.almamater.types.core.MOInvalidOperationInputError getInvalidOperationInputError()
0469 {
0470 return mInvalidOperationInputError;
0471 }
0472
0473 /** Setter for the InvalidOperationInputError field.
0474 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
0475 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
0476 * @param pInvalidOperationInputError the new value of the message. Use null to clear the old messages out */
0477 public void setInvalidOperationInputError( com.almamater.types.core.MOInvalidOperationInputError pInvalidOperationInputError)
0478 {
0479 mInvalidOperationInputError = pInvalidOperationInputError;
0480 }
0481 /** Overridden to return list of contained mesages. */
0482 protected java.util.List getContainedMessages()
0483 {
0484 java.util.List lReturnList = super.getContainedMessages();
0485 if (mInvalidOperationInputError != null)
0486 lReturnList.add(mInvalidOperationInputError);
0487 return lReturnList;
0488 }
0489 }
0490
0491 /** Operation description is: <i>Retrieves details of all Students present in the domain.</i>
0492 *<p>This method represents the Enterprise/systems[CRS]/servicemodules[CoursesDomainSupport]/services[DataManagement]/operations[getAllStudents] operation.</p>
0493 */
0494 public STGetAllStudentsResult getAllStudents( STGetAllStudentsInput pInput) throws BSException;
0495
0496 /** This structure carries the input arguments to the getSubsetOfStudents operation.
0497 *<P><I><U>Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
0498 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
0499 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
0500 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
0501 public final class STGetSubsetOfStudentsInput extends STBusinessServiceOperationInput implements Serializable
0502 {
0503 private com.almamater.types.core.CollectionOffset mFirstRecordOffset = null;
0504 private com.almamater.types.core.SubsetSize mRequiredMaxSize = null;
0505 private com.almamater.crs.types.system.courses.StudentOrderingInstruction[] mOrderingInstructions = null;
0506 /** @return true if this structure is empty */
0507 public boolean isEmpty()
0508 {
0509 return mFirstRecordOffset == null && mRequiredMaxSize == null && mOrderingInstructions == null;
0510 }
0511
0512 /** Getter for the FirstRecordOffset field.
0513 * Field description is: <i>Zero-based offset from the first entity details to be returned to the beginning of the whole collection of Students present in domain.</i>
0514 * @return the value of the FirstRecordOffset field */
0515 public com.almamater.types.core.CollectionOffset getFirstRecordOffset()
0516 {
0517 return mFirstRecordOffset;
0518 }
0519
0520 /** Setter for the FirstRecordOffset field.
0521 * Field description is: <i>Zero-based offset from the first entity details to be returned to the beginning of the whole collection of Students present in domain.</i>
0522 * @param pFirstRecordOffset the new value of the field */
0523 public void setFirstRecordOffset( com.almamater.types.core.CollectionOffset pFirstRecordOffset)
0524 {
0525 mFirstRecordOffset = pFirstRecordOffset;
0526 }
0527
0528 /** Getter for the RequiredMaxSize field.
0529 * Field description is: <i>The desired maximum number of detail records to be returned. Note that actual number of details returned might be lower if domain does not have sufficient number of Students.</i>
0530 * @return the value of the RequiredMaxSize field */
0531 public com.almamater.types.core.SubsetSize getRequiredMaxSize()
0532 {
0533 return mRequiredMaxSize;
0534 }
0535
0536 /** Setter for the RequiredMaxSize field.
0537 * Field description is: <i>The desired maximum number of detail records to be returned. Note that actual number of details returned might be lower if domain does not have sufficient number of Students.</i>
0538 * @param pRequiredMaxSize the new value of the field */
0539 public void setRequiredMaxSize( com.almamater.types.core.SubsetSize pRequiredMaxSize)
0540 {
0541 mRequiredMaxSize = pRequiredMaxSize;
0542 }
0543
0544 /** Getter for the OrderingInstructions field.
0545 * Field description is: <i>Array of zero or more ordering instructions (weight of the instruction is diminising towards the end of the array). Returned subset of the Students will be cut out after sorting of the whole set has been done in accordance with these instructions.</i>
0546 * @return the value of the OrderingInstructions field */
0547 public com.almamater.crs.types.system.courses.StudentOrderingInstruction[] getOrderingInstructions()
0548 {
0549 return mOrderingInstructions;
0550 }
0551
0552 /** Setter for the OrderingInstructions field.
0553 * Field description is: <i>Array of zero or more ordering instructions (weight of the instruction is diminising towards the end of the array). Returned subset of the Students will be cut out after sorting of the whole set has been done in accordance with these instructions.</i>
0554 * @param pOrderingInstructions the new value of the field */
0555 public void setOrderingInstructions( com.almamater.crs.types.system.courses.StudentOrderingInstruction[] pOrderingInstructions)
0556 {
0557 mOrderingInstructions = pOrderingInstructions;
0558 }
0559 }
0560
0561 /** This structure carries the result of the getSubsetOfStudents operation.
0562 *<P><I><U> Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
0563 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
0564 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
0565 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
0566 public final class STGetSubsetOfStudentsResult extends STBusinessServiceOperationResult implements Serializable
0567 {
0568 private com.almamater.crs.services.coursesdomainsupport.STStudentDetails[] mStudents = null;
0569 private com.almamater.types.core.MOInvalidOperationInputError mInvalidOperationInputError = null;
0570 /** @return true if this structure is empty */
0571 public boolean isEmpty()
0572 {
0573 return mStudents == null && mInvalidOperationInputError == null;
0574 }
0575
0576 /** Getter for the Students field.
0577 * Field description is: <i>Details of all Students found in the domain starting from specified offset and spanning no more than required maximum number of records.</i>
0578 * @return the value of the Students field */
0579 public com.almamater.crs.services.coursesdomainsupport.STStudentDetails[] getStudents()
0580 {
0581 return mStudents;
0582 }
0583
0584 /** Setter for the Students field.
0585 * Field description is: <i>Details of all Students found in the domain starting from specified offset and spanning no more than required maximum number of records.</i>
0586 * @param pStudents the new value of the field */
0587 public void setStudents( com.almamater.crs.services.coursesdomainsupport.STStudentDetails[] pStudents)
0588 {
0589 mStudents = pStudents;
0590 }
0591
0592 /** Getter for the InvalidOperationInputError message.
0593 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
0594 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
0595 * @return the InvalidOperationInputError field or null */
0596 public com.almamater.types.core.MOInvalidOperationInputError getInvalidOperationInputError()
0597 {
0598 return mInvalidOperationInputError;
0599 }
0600
0601 /** Setter for the InvalidOperationInputError field.
0602 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
0603 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
0604 * @param pInvalidOperationInputError the new value of the message. Use null to clear the old messages out */
0605 public void setInvalidOperationInputError( com.almamater.types.core.MOInvalidOperationInputError pInvalidOperationInputError)
0606 {
0607 mInvalidOperationInputError = pInvalidOperationInputError;
0608 }
0609 /** Overridden to return list of contained mesages. */
0610 protected java.util.List getContainedMessages()
0611 {
0612 java.util.List lReturnList = super.getContainedMessages();
0613 if (mInvalidOperationInputError != null)
0614 lReturnList.add(mInvalidOperationInputError);
0615 return lReturnList;
0616 }
0617 }
0618
0619 /** Operation description is: <i>Retrieves details of the required subset of Students present in the domain.</i>
0620 *<p>This method represents the Enterprise/systems[CRS]/servicemodules[CoursesDomainSupport]/services[DataManagement]/operations[getSubsetOfStudents] operation.</p>
0621 */
0622 public STGetSubsetOfStudentsResult getSubsetOfStudents( STGetSubsetOfStudentsInput pInput) throws BSException;
0623
0624 /** This structure carries the input arguments to the updateStudent operation.
0625 *<P><I><U>Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
0626 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
0627 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
0628 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
0629 public final class STUpdateStudentInput extends STBusinessServiceOperationInput implements Serializable
0630 {
0631 private com.almamater.crs.services.coursesdomainsupport.STStudentDetails mProposedDetails = null;
0632 /** @return true if this structure is empty */
0633 public boolean isEmpty()
0634 {
0635 return mProposedDetails == null;
0636 }
0637
0638 /** Getter for the ProposedDetails field.
0639 * Field description is: <i>Proposed new details of the existing instance of the Student. Only identifier fields and fields with new values need to be populated.</i>
0640 * @return the value of the ProposedDetails field */
0641 public com.almamater.crs.services.coursesdomainsupport.STStudentDetails getProposedDetails()
0642 {
0643 return mProposedDetails;
0644 }
0645
0646 /** Setter for the ProposedDetails field.
0647 * Field description is: <i>Proposed new details of the existing instance of the Student. Only identifier fields and fields with new values need to be populated.</i>
0648 * @param pProposedDetails the new value of the field */
0649 public void setProposedDetails( com.almamater.crs.services.coursesdomainsupport.STStudentDetails pProposedDetails)
0650 {
0651 mProposedDetails = pProposedDetails;
0652 }
0653 }
0654
0655 /** This structure carries the result of the updateStudent operation.
0656 *<P><I><U> Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
0657 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
0658 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
0659 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
0660 public final class STUpdateStudentResult extends STBusinessServiceOperationResult implements Serializable
0661 {
0662 private com.almamater.crs.services.coursesdomainsupport.STStudentDetails mUpdatedDetails = null;
0663 private com.almamater.crs.services.coursesdomainsupport.MOStudentVersionMismatchError mVersionMismatchError = null;
0664 private com.almamater.crs.services.coursesdomainsupport.MOStudentInstanceNotFoundError mStudentNotFoundError = null;
0665 private com.almamater.types.core.MOInvalidOperationInputError mInvalidOperationInputError = null;
0666 /** @return true if this structure is empty */
0667 public boolean isEmpty()
0668 {
0669 return mUpdatedDetails == null && mVersionMismatchError == null && mStudentNotFoundError == null && mInvalidOperationInputError == null;
0670 }
0671
0672 /** Getter for the UpdatedDetails field.
0673 * Field description is: <i>Details of an instance after successfull update. Mostly the same as the details passed in, but may have some autogenerated fields populated or updated.</i>
0674 * @return the value of the UpdatedDetails field */
0675 public com.almamater.crs.services.coursesdomainsupport.STStudentDetails getUpdatedDetails()
0676 {
0677 return mUpdatedDetails;
0678 }
0679
0680 /** Setter for the UpdatedDetails field.
0681 * Field description is: <i>Details of an instance after successfull update. Mostly the same as the details passed in, but may have some autogenerated fields populated or updated.</i>
0682 * @param pUpdatedDetails the new value of the field */
0683 public void setUpdatedDetails( com.almamater.crs.services.coursesdomainsupport.STStudentDetails pUpdatedDetails)
0684 {
0685 mUpdatedDetails = pUpdatedDetails;
0686 }
0687
0688 /** Getter for the VersionMismatchError message.
0689 * Message field description is: <i>Error message in case of version mismatch or null if this error has not occurred.</i>
0690 * Message description is: <i>This error indicates that operation has failed because value of submitted Student VersionId was not the same as the one stored.</i>
0691 * @return the VersionMismatchError field or null */
0692 public com.almamater.crs.services.coursesdomainsupport.MOStudentVersionMismatchError getVersionMismatchError()
0693 {
0694 return mVersionMismatchError;
0695 }
0696
0697 /** Setter for the VersionMismatchError field.
0698 * Message field description is: <i>Error message in case of version mismatch or null if this error has not occurred.</i>
0699 * Message description is: <i>This error indicates that operation has failed because value of submitted Student VersionId was not the same as the one stored.</i>
0700 * @param pVersionMismatchError the new value of the message. Use null to clear the old messages out */
0701 public void setVersionMismatchError( com.almamater.crs.services.coursesdomainsupport.MOStudentVersionMismatchError pVersionMismatchError)
0702 {
0703 mVersionMismatchError = pVersionMismatchError;
0704 }
0705
0706 /** Getter for the StudentNotFoundError message.
0707 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
0708 * Message description is: <i>This error indicates that operation has failed because required Student instance was not found.</i>
0709 * @return the StudentNotFoundError field or null */
0710 public com.almamater.crs.services.coursesdomainsupport.MOStudentInstanceNotFoundError getStudentNotFoundError()
0711 {
0712 return mStudentNotFoundError;
0713 }
0714
0715 /** Setter for the StudentNotFoundError field.
0716 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
0717 * Message description is: <i>This error indicates that operation has failed because required Student instance was not found.</i>
0718 * @param pStudentNotFoundError the new value of the message. Use null to clear the old messages out */
0719 public void setStudentNotFoundError( com.almamater.crs.services.coursesdomainsupport.MOStudentInstanceNotFoundError pStudentNotFoundError)
0720 {
0721 mStudentNotFoundError = pStudentNotFoundError;
0722 }
0723
0724 /** Getter for the InvalidOperationInputError message.
0725 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
0726 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
0727 * @return the InvalidOperationInputError field or null */
0728 public com.almamater.types.core.MOInvalidOperationInputError getInvalidOperationInputError()
0729 {
0730 return mInvalidOperationInputError;
0731 }
0732
0733 /** Setter for the InvalidOperationInputError field.
0734 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
0735 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
0736 * @param pInvalidOperationInputError the new value of the message. Use null to clear the old messages out */
0737 public void setInvalidOperationInputError( com.almamater.types.core.MOInvalidOperationInputError pInvalidOperationInputError)
0738 {
0739 mInvalidOperationInputError = pInvalidOperationInputError;
0740 }
0741 /** Overridden to return list of contained mesages. */
0742 protected java.util.List getContainedMessages()
0743 {
0744 java.util.List lReturnList = super.getContainedMessages();
0745 if (mVersionMismatchError != null)
0746 lReturnList.add(mVersionMismatchError);
0747 if (mStudentNotFoundError != null)
0748 lReturnList.add(mStudentNotFoundError);
0749 if (mInvalidOperationInputError != null)
0750 lReturnList.add(mInvalidOperationInputError);
0751 return lReturnList;
0752 }
0753 }
0754
0755 /** Operation description is: <i>Updates existing instance of Student in the domain.</i>
0756 *<p>This method represents the Enterprise/systems[CRS]/servicemodules[CoursesDomainSupport]/services[DataManagement]/operations[updateStudent] operation.</p>
0757 */
0758 public STUpdateStudentResult updateStudent( STUpdateStudentInput pInput) throws BSException;
0759
0760 /** This structure carries the input arguments to the getCourse operation.
0761 *<P><I><U>Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
0762 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
0763 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
0764 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
0765 public final class STGetCourseInput extends STBusinessServiceOperationInput implements Serializable
0766 {
0767 private com.almamater.crs.services.coursesdomainsupport.STCourseKey mCourseKey = null;
0768 /** @return true if this structure is empty */
0769 public boolean isEmpty()
0770 {
0771 return mCourseKey == null;
0772 }
0773
0774 /** Getter for the CourseKey field.
0775 * Field description is: <i>The unique key referring to the instance of Course to be retrieved.</i>
0776 * @return the value of the CourseKey field */
0777 public com.almamater.crs.services.coursesdomainsupport.STCourseKey getCourseKey()
0778 {
0779 return mCourseKey;
0780 }
0781
0782 /** Setter for the CourseKey field.
0783 * Field description is: <i>The unique key referring to the instance of Course to be retrieved.</i>
0784 * @param pCourseKey the new value of the field */
0785 public void setCourseKey( com.almamater.crs.services.coursesdomainsupport.STCourseKey pCourseKey)
0786 {
0787 mCourseKey = pCourseKey;
0788 }
0789 }
0790
0791 /** This structure carries the result of the getCourse operation.
0792 *<P><I><U> Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
0793 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
0794 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
0795 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
0796 public final class STGetCourseResult extends STBusinessServiceOperationResult implements Serializable
0797 {
0798 private com.almamater.crs.services.coursesdomainsupport.STCourseDetails mCourse = null;
0799 private com.almamater.crs.services.coursesdomainsupport.MOCourseInstanceNotFoundError mCourseNotFoundError = null;
0800 private com.almamater.types.core.MOInvalidOperationInputError mInvalidOperationInputError = null;
0801 /** @return true if this structure is empty */
0802 public boolean isEmpty()
0803 {
0804 return mCourse == null && mCourseNotFoundError == null && mInvalidOperationInputError == null;
0805 }
0806
0807 /** Getter for the Course field.
0808 * Field description is: <i>Details of a particuar Course found in the domain.</i>
0809 * @return the value of the Course field */
0810 public com.almamater.crs.services.coursesdomainsupport.STCourseDetails getCourse()
0811 {
0812 return mCourse;
0813 }
0814
0815 /** Setter for the Course field.
0816 * Field description is: <i>Details of a particuar Course found in the domain.</i>
0817 * @param pCourse the new value of the field */
0818 public void setCourse( com.almamater.crs.services.coursesdomainsupport.STCourseDetails pCourse)
0819 {
0820 mCourse = pCourse;
0821 }
0822
0823 /** Getter for the CourseNotFoundError message.
0824 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
0825 * Message description is: <i>This error indicates that operation has failed because required Course instance was not found.</i>
0826 * @return the CourseNotFoundError field or null */
0827 public com.almamater.crs.services.coursesdomainsupport.MOCourseInstanceNotFoundError getCourseNotFoundError()
0828 {
0829 return mCourseNotFoundError;
0830 }
0831
0832 /** Setter for the CourseNotFoundError field.
0833 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
0834 * Message description is: <i>This error indicates that operation has failed because required Course instance was not found.</i>
0835 * @param pCourseNotFoundError the new value of the message. Use null to clear the old messages out */
0836 public void setCourseNotFoundError( com.almamater.crs.services.coursesdomainsupport.MOCourseInstanceNotFoundError pCourseNotFoundError)
0837 {
0838 mCourseNotFoundError = pCourseNotFoundError;
0839 }
0840
0841 /** Getter for the InvalidOperationInputError message.
0842 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
0843 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
0844 * @return the InvalidOperationInputError field or null */
0845 public com.almamater.types.core.MOInvalidOperationInputError getInvalidOperationInputError()
0846 {
0847 return mInvalidOperationInputError;
0848 }
0849
0850 /** Setter for the InvalidOperationInputError field.
0851 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
0852 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
0853 * @param pInvalidOperationInputError the new value of the message. Use null to clear the old messages out */
0854 public void setInvalidOperationInputError( com.almamater.types.core.MOInvalidOperationInputError pInvalidOperationInputError)
0855 {
0856 mInvalidOperationInputError = pInvalidOperationInputError;
0857 }
0858 /** Overridden to return list of contained mesages. */
0859 protected java.util.List getContainedMessages()
0860 {
0861 java.util.List lReturnList = super.getContainedMessages();
0862 if (mCourseNotFoundError != null)
0863 lReturnList.add(mCourseNotFoundError);
0864 if (mInvalidOperationInputError != null)
0865 lReturnList.add(mInvalidOperationInputError);
0866 return lReturnList;
0867 }
0868 }
0869
0870 /** Operation description is: <i>Retrieves details of a particular Course instance from the domain. Instance is identified by key structure.</i>
0871 *<p>This method represents the Enterprise/systems[CRS]/servicemodules[CoursesDomainSupport]/services[DataManagement]/operations[getCourse] operation.</p>
0872 */
0873 public STGetCourseResult getCourse( STGetCourseInput pInput) throws BSException;
0874
0875 /** This structure carries the input arguments to the createCourse operation.
0876 *<P><I><U>Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
0877 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
0878 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
0879 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
0880 public final class STCreateCourseInput extends STBusinessServiceOperationInput implements Serializable
0881 {
0882 private com.almamater.crs.services.coursesdomainsupport.STCourseDetails mProposedDetails = null;
0883 /** @return true if this structure is empty */
0884 public boolean isEmpty()
0885 {
0886 return mProposedDetails == null;
0887 }
0888
0889 /** Getter for the ProposedDetails field.
0890 * Field description is: <i>Proposed details of the new instance of the Course in the domain.</i>
0891 * @return the value of the ProposedDetails field */
0892 public com.almamater.crs.services.coursesdomainsupport.STCourseDetails getProposedDetails()
0893 {
0894 return mProposedDetails;
0895 }
0896
0897 /** Setter for the ProposedDetails field.
0898 * Field description is: <i>Proposed details of the new instance of the Course in the domain.</i>
0899 * @param pProposedDetails the new value of the field */
0900 public void setProposedDetails( com.almamater.crs.services.coursesdomainsupport.STCourseDetails pProposedDetails)
0901 {
0902 mProposedDetails = pProposedDetails;
0903 }
0904 }
0905
0906 /** This structure carries the result of the createCourse operation.
0907 *<P><I><U> Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
0908 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
0909 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
0910 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
0911 public final class STCreateCourseResult extends STBusinessServiceOperationResult implements Serializable
0912 {
0913 private com.almamater.crs.services.coursesdomainsupport.STCourseDetails mCreatedDetails = null;
0914 private com.almamater.crs.services.coursesdomainsupport.MOTeacherInstanceNotFoundError mTeacherNotFoundError = null;
0915 private com.almamater.crs.services.coursesdomainsupport.MOCourseCreationDuplicateKeyError mDuplicateKeyError = null;
0916 private com.almamater.types.core.MOInvalidOperationInputError mInvalidOperationInputError = null;
0917 /** @return true if this structure is empty */
0918 public boolean isEmpty()
0919 {
0920 return mCreatedDetails == null && mTeacherNotFoundError == null && mDuplicateKeyError == null && mInvalidOperationInputError == null;
0921 }
0922
0923 /** Getter for the CreatedDetails field.
0924 * Field description is: <i>Details of an instance after successfull creation. Mostly the same as the details passed in, but will have some autogenerated fields populated.</i>
0925 * @return the value of the CreatedDetails field */
0926 public com.almamater.crs.services.coursesdomainsupport.STCourseDetails getCreatedDetails()
0927 {
0928 return mCreatedDetails;
0929 }
0930
0931 /** Setter for the CreatedDetails field.
0932 * Field description is: <i>Details of an instance after successfull creation. Mostly the same as the details passed in, but will have some autogenerated fields populated.</i>
0933 * @param pCreatedDetails the new value of the field */
0934 public void setCreatedDetails( com.almamater.crs.services.coursesdomainsupport.STCourseDetails pCreatedDetails)
0935 {
0936 mCreatedDetails = pCreatedDetails;
0937 }
0938
0939 /** Getter for the TeacherNotFoundError message.
0940 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
0941 * Message description is: <i>This error indicates that operation has failed because required Teacher instance was not found.</i>
0942 * @return the TeacherNotFoundError field or null */
0943 public com.almamater.crs.services.coursesdomainsupport.MOTeacherInstanceNotFoundError getTeacherNotFoundError()
0944 {
0945 return mTeacherNotFoundError;
0946 }
0947
0948 /** Setter for the TeacherNotFoundError field.
0949 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
0950 * Message description is: <i>This error indicates that operation has failed because required Teacher instance was not found.</i>
0951 * @param pTeacherNotFoundError the new value of the message. Use null to clear the old messages out */
0952 public void setTeacherNotFoundError( com.almamater.crs.services.coursesdomainsupport.MOTeacherInstanceNotFoundError pTeacherNotFoundError)
0953 {
0954 mTeacherNotFoundError = pTeacherNotFoundError;
0955 }
0956
0957 /** Getter for the DuplicateKeyError message.
0958 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
0959 * Message description is: <i>This error indicates that create operation has failed because Course entity with the proposed value of the primary key exists already.</i>
0960 * @return the DuplicateKeyError field or null */
0961 public com.almamater.crs.services.coursesdomainsupport.MOCourseCreationDuplicateKeyError getDuplicateKeyError()
0962 {
0963 return mDuplicateKeyError;
0964 }
0965
0966 /** Setter for the DuplicateKeyError field.
0967 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
0968 * Message description is: <i>This error indicates that create operation has failed because Course entity with the proposed value of the primary key exists already.</i>
0969 * @param pDuplicateKeyError the new value of the message. Use null to clear the old messages out */
0970 public void setDuplicateKeyError( com.almamater.crs.services.coursesdomainsupport.MOCourseCreationDuplicateKeyError pDuplicateKeyError)
0971 {
0972 mDuplicateKeyError = pDuplicateKeyError;
0973 }
0974
0975 /** Getter for the InvalidOperationInputError message.
0976 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
0977 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
0978 * @return the InvalidOperationInputError field or null */
0979 public com.almamater.types.core.MOInvalidOperationInputError getInvalidOperationInputError()
0980 {
0981 return mInvalidOperationInputError;
0982 }
0983
0984 /** Setter for the InvalidOperationInputError field.
0985 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
0986 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
0987 * @param pInvalidOperationInputError the new value of the message. Use null to clear the old messages out */
0988 public void setInvalidOperationInputError( com.almamater.types.core.MOInvalidOperationInputError pInvalidOperationInputError)
0989 {
0990 mInvalidOperationInputError = pInvalidOperationInputError;
0991 }
0992 /** Overridden to return list of contained mesages. */
0993 protected java.util.List getContainedMessages()
0994 {
0995 java.util.List lReturnList = super.getContainedMessages();
0996 if (mTeacherNotFoundError != null)
0997 lReturnList.add(mTeacherNotFoundError);
0998 if (mDuplicateKeyError != null)
0999 lReturnList.add(mDuplicateKeyError);
1000 if (mInvalidOperationInputError != null)
1001 lReturnList.add(mInvalidOperationInputError);
1002 return lReturnList;
1003 }
1004 }
1005
1006 /** Operation description is: <i>Creates new instance of Course in the domain.</i>
1007 *<p>This method represents the Enterprise/systems[CRS]/servicemodules[CoursesDomainSupport]/services[DataManagement]/operations[createCourse] operation.</p>
1008 */
1009 public STCreateCourseResult createCourse( STCreateCourseInput pInput) throws BSException;
1010
1011 /** This structure carries the input arguments to the deleteCourse operation.
1012 *<P><I><U>Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
1013 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
1014 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
1015 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
1016 public final class STDeleteCourseInput extends STBusinessServiceOperationInput implements Serializable
1017 {
1018 private com.almamater.crs.services.coursesdomainsupport.STCourseKey mCourseKey = null;
1019 /** @return true if this structure is empty */
1020 public boolean isEmpty()
1021 {
1022 return mCourseKey == null;
1023 }
1024
1025 /** Getter for the CourseKey field.
1026 * Field description is: <i>The unique key referring to the instance of Course to be deleted.</i>
1027 * @return the value of the CourseKey field */
1028 public com.almamater.crs.services.coursesdomainsupport.STCourseKey getCourseKey()
1029 {
1030 return mCourseKey;
1031 }
1032
1033 /** Setter for the CourseKey field.
1034 * Field description is: <i>The unique key referring to the instance of Course to be deleted.</i>
1035 * @param pCourseKey the new value of the field */
1036 public void setCourseKey( com.almamater.crs.services.coursesdomainsupport.STCourseKey pCourseKey)
1037 {
1038 mCourseKey = pCourseKey;
1039 }
1040 }
1041
1042 /** This structure carries the result of the deleteCourse operation.
1043 *<P><I><U> Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
1044 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
1045 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
1046 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
1047 public final class STDeleteCourseResult extends STBusinessServiceOperationResult implements Serializable
1048 {
1049 private com.almamater.crs.services.coursesdomainsupport.MOCourseInstanceNotFoundError mCourseNotFoundError = null;
1050 private com.almamater.types.core.MOInvalidOperationInputError mInvalidOperationInputError = null;
1051 /** @return true if this structure is empty */
1052 public boolean isEmpty()
1053 {
1054 return mCourseNotFoundError == null && mInvalidOperationInputError == null;
1055 }
1056
1057 /** Getter for the CourseNotFoundError message.
1058 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
1059 * Message description is: <i>This error indicates that operation has failed because required Course instance was not found.</i>
1060 * @return the CourseNotFoundError field or null */
1061 public com.almamater.crs.services.coursesdomainsupport.MOCourseInstanceNotFoundError getCourseNotFoundError()
1062 {
1063 return mCourseNotFoundError;
1064 }
1065
1066 /** Setter for the CourseNotFoundError field.
1067 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
1068 * Message description is: <i>This error indicates that operation has failed because required Course instance was not found.</i>
1069 * @param pCourseNotFoundError the new value of the message. Use null to clear the old messages out */
1070 public void setCourseNotFoundError( com.almamater.crs.services.coursesdomainsupport.MOCourseInstanceNotFoundError pCourseNotFoundError)
1071 {
1072 mCourseNotFoundError = pCourseNotFoundError;
1073 }
1074
1075 /** Getter for the InvalidOperationInputError message.
1076 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
1077 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
1078 * @return the InvalidOperationInputError field or null */
1079 public com.almamater.types.core.MOInvalidOperationInputError getInvalidOperationInputError()
1080 {
1081 return mInvalidOperationInputError;
1082 }
1083
1084 /** Setter for the InvalidOperationInputError field.
1085 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
1086 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
1087 * @param pInvalidOperationInputError the new value of the message. Use null to clear the old messages out */
1088 public void setInvalidOperationInputError( com.almamater.types.core.MOInvalidOperationInputError pInvalidOperationInputError)
1089 {
1090 mInvalidOperationInputError = pInvalidOperationInputError;
1091 }
1092 /** Overridden to return list of contained mesages. */
1093 protected java.util.List getContainedMessages()
1094 {
1095 java.util.List lReturnList = super.getContainedMessages();
1096 if (mCourseNotFoundError != null)
1097 lReturnList.add(mCourseNotFoundError);
1098 if (mInvalidOperationInputError != null)
1099 lReturnList.add(mInvalidOperationInputError);
1100 return lReturnList;
1101 }
1102 }
1103
1104 /** Operation description is: <i>Deletes existing instance of Course in the domain.</i>
1105 *<p>This method represents the Enterprise/systems[CRS]/servicemodules[CoursesDomainSupport]/services[DataManagement]/operations[deleteCourse] operation.</p>
1106 */
1107 public STDeleteCourseResult deleteCourse( STDeleteCourseInput pInput) throws BSException;
1108
1109 /** This structure carries the input arguments to the getAllCoursesCount operation.
1110 *<P><I><U>Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
1111 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
1112 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
1113 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
1114 public final class STGetAllCoursesCountInput extends STBusinessServiceOperationInput implements Serializable
1115 {
1116 /** @return true if this structure is empty */
1117 public boolean isEmpty()
1118 {
1119 return true;
1120 }
1121 }
1122
1123 /** This structure carries the result of the getAllCoursesCount operation.
1124 *<P><I><U> Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
1125 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
1126 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
1127 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
1128 public final class STGetAllCoursesCountResult extends STBusinessServiceOperationResult implements Serializable
1129 {
1130 private com.almamater.types.core.CollectionSize mCoursesCount = null;
1131 /** @return true if this structure is empty */
1132 public boolean isEmpty()
1133 {
1134 return mCoursesCount == null;
1135 }
1136
1137 /** Getter for the CoursesCount field.
1138 * Field description is: <i>Number of Courses found in the domain.</i>
1139 * @return the value of the CoursesCount field */
1140 public com.almamater.types.core.CollectionSize getCoursesCount()
1141 {
1142 return mCoursesCount;
1143 }
1144
1145 /** Setter for the CoursesCount field.
1146 * Field description is: <i>Number of Courses found in the domain.</i>
1147 * @param pCoursesCount the new value of the field */
1148 public void setCoursesCount( com.almamater.types.core.CollectionSize pCoursesCount)
1149 {
1150 mCoursesCount = pCoursesCount;
1151 }
1152 }
1153
1154 /** Operation description is: <i>Retrieves count of all Courses present in the domain.</i>
1155 *<p>This method represents the Enterprise/systems[CRS]/servicemodules[CoursesDomainSupport]/services[DataManagement]/operations[getAllCoursesCount] operation.</p>
1156 */
1157 public STGetAllCoursesCountResult getAllCoursesCount( STGetAllCoursesCountInput pInput) throws BSException;
1158
1159 /** This structure carries the input arguments to the getAllCourses operation.
1160 *<P><I><U>Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
1161 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
1162 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
1163 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
1164 public final class STGetAllCoursesInput extends STBusinessServiceOperationInput implements Serializable
1165 {
1166 private com.almamater.crs.types.system.courses.CourseOrderingInstruction[] mOrderingInstructions = null;
1167 /** @return true if this structure is empty */
1168 public boolean isEmpty()
1169 {
1170 return mOrderingInstructions == null;
1171 }
1172
1173 /** Getter for the OrderingInstructions field.
1174 * Field description is: <i>Array of zero or more ordering instructions (weight of the instruction is diminising towards the end of the array). Returned Courses will be sorted in accordance with these instructions.</i>
1175 * @return the value of the OrderingInstructions field */
1176 public com.almamater.crs.types.system.courses.CourseOrderingInstruction[] getOrderingInstructions()
1177 {
1178 return mOrderingInstructions;
1179 }
1180
1181 /** Setter for the OrderingInstructions field.
1182 * Field description is: <i>Array of zero or more ordering instructions (weight of the instruction is diminising towards the end of the array). Returned Courses will be sorted in accordance with these instructions.</i>
1183 * @param pOrderingInstructions the new value of the field */
1184 public void setOrderingInstructions( com.almamater.crs.types.system.courses.CourseOrderingInstruction[] pOrderingInstructions)
1185 {
1186 mOrderingInstructions = pOrderingInstructions;
1187 }
1188 }
1189
1190 /** This structure carries the result of the getAllCourses operation.
1191 *<P><I><U> Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
1192 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
1193 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
1194 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
1195 public final class STGetAllCoursesResult extends STBusinessServiceOperationResult implements Serializable
1196 {
1197 private com.almamater.crs.services.coursesdomainsupport.STCourseDetails[] mCourses = null;
1198 private com.almamater.types.core.MOInvalidOperationInputError mInvalidOperationInputError = null;
1199 /** @return true if this structure is empty */
1200 public boolean isEmpty()
1201 {
1202 return mCourses == null && mInvalidOperationInputError == null;
1203 }
1204
1205 /** Getter for the Courses field.
1206 * Field description is: <i>Details of all Courses found in the domain.</i>
1207 * @return the value of the Courses field */
1208 public com.almamater.crs.services.coursesdomainsupport.STCourseDetails[] getCourses()
1209 {
1210 return mCourses;
1211 }
1212
1213 /** Setter for the Courses field.
1214 * Field description is: <i>Details of all Courses found in the domain.</i>
1215 * @param pCourses the new value of the field */
1216 public void setCourses( com.almamater.crs.services.coursesdomainsupport.STCourseDetails[] pCourses)
1217 {
1218 mCourses = pCourses;
1219 }
1220
1221 /** Getter for the InvalidOperationInputError message.
1222 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
1223 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
1224 * @return the InvalidOperationInputError field or null */
1225 public com.almamater.types.core.MOInvalidOperationInputError getInvalidOperationInputError()
1226 {
1227 return mInvalidOperationInputError;
1228 }
1229
1230 /** Setter for the InvalidOperationInputError field.
1231 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
1232 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
1233 * @param pInvalidOperationInputError the new value of the message. Use null to clear the old messages out */
1234 public void setInvalidOperationInputError( com.almamater.types.core.MOInvalidOperationInputError pInvalidOperationInputError)
1235 {
1236 mInvalidOperationInputError = pInvalidOperationInputError;
1237 }
1238 /** Overridden to return list of contained mesages. */
1239 protected java.util.List getContainedMessages()
1240 {
1241 java.util.List lReturnList = super.getContainedMessages();
1242 if (mInvalidOperationInputError != null)
1243 lReturnList.add(mInvalidOperationInputError);
1244 return lReturnList;
1245 }
1246 }
1247
1248 /** Operation description is: <i>Retrieves details of all Courses present in the domain.</i>
1249 *<p>This method represents the Enterprise/systems[CRS]/servicemodules[CoursesDomainSupport]/services[DataManagement]/operations[getAllCourses] operation.</p>
1250 */
1251 public STGetAllCoursesResult getAllCourses( STGetAllCoursesInput pInput) throws BSException;
1252
1253 /** This structure carries the input arguments to the getSubsetOfCourses operation.
1254 *<P><I><U>Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
1255 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
1256 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
1257 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
1258 public final class STGetSubsetOfCoursesInput extends STBusinessServiceOperationInput implements Serializable
1259 {
1260 private com.almamater.types.core.CollectionOffset mFirstRecordOffset = null;
1261 private com.almamater.types.core.SubsetSize mRequiredMaxSize = null;
1262 private com.almamater.crs.types.system.courses.CourseOrderingInstruction[] mOrderingInstructions = null;
1263 /** @return true if this structure is empty */
1264 public boolean isEmpty()
1265 {
1266 return mFirstRecordOffset == null && mRequiredMaxSize == null && mOrderingInstructions == null;
1267 }
1268
1269 /** Getter for the FirstRecordOffset field.
1270 * Field description is: <i>Zero-based offset from the first entity details to be returned to the beginning of the whole collection of Courses present in domain.</i>
1271 * @return the value of the FirstRecordOffset field */
1272 public com.almamater.types.core.CollectionOffset getFirstRecordOffset()
1273 {
1274 return mFirstRecordOffset;
1275 }
1276
1277 /** Setter for the FirstRecordOffset field.
1278 * Field description is: <i>Zero-based offset from the first entity details to be returned to the beginning of the whole collection of Courses present in domain.</i>
1279 * @param pFirstRecordOffset the new value of the field */
1280 public void setFirstRecordOffset( com.almamater.types.core.CollectionOffset pFirstRecordOffset)
1281 {
1282 mFirstRecordOffset = pFirstRecordOffset;
1283 }
1284
1285 /** Getter for the RequiredMaxSize field.
1286 * Field description is: <i>The desired maximum number of detail records to be returned. Note that actual number of details returned might be lower if domain does not have sufficient number of Courses.</i>
1287 * @return the value of the RequiredMaxSize field */
1288 public com.almamater.types.core.SubsetSize getRequiredMaxSize()
1289 {
1290 return mRequiredMaxSize;
1291 }
1292
1293 /** Setter for the RequiredMaxSize field.
1294 * Field description is: <i>The desired maximum number of detail records to be returned. Note that actual number of details returned might be lower if domain does not have sufficient number of Courses.</i>
1295 * @param pRequiredMaxSize the new value of the field */
1296 public void setRequiredMaxSize( com.almamater.types.core.SubsetSize pRequiredMaxSize)
1297 {
1298 mRequiredMaxSize = pRequiredMaxSize;
1299 }
1300
1301 /** Getter for the OrderingInstructions field.
1302 * Field description is: <i>Array of zero or more ordering instructions (weight of the instruction is diminising towards the end of the array). Returned subset of the Courses will be cut out after sorting of the whole set has been done in accordance with these instructions.</i>
1303 * @return the value of the OrderingInstructions field */
1304 public com.almamater.crs.types.system.courses.CourseOrderingInstruction[] getOrderingInstructions()
1305 {
1306 return mOrderingInstructions;
1307 }
1308
1309 /** Setter for the OrderingInstructions field.
1310 * Field description is: <i>Array of zero or more ordering instructions (weight of the instruction is diminising towards the end of the array). Returned subset of the Courses will be cut out after sorting of the whole set has been done in accordance with these instructions.</i>
1311 * @param pOrderingInstructions the new value of the field */
1312 public void setOrderingInstructions( com.almamater.crs.types.system.courses.CourseOrderingInstruction[] pOrderingInstructions)
1313 {
1314 mOrderingInstructions = pOrderingInstructions;
1315 }
1316 }
1317
1318 /** This structure carries the result of the getSubsetOfCourses operation.
1319 *<P><I><U> Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
1320 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
1321 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
1322 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
1323 public final class STGetSubsetOfCoursesResult extends STBusinessServiceOperationResult implements Serializable
1324 {
1325 private com.almamater.crs.services.coursesdomainsupport.STCourseDetails[] mCourses = null;
1326 private com.almamater.types.core.MOInvalidOperationInputError mInvalidOperationInputError = null;
1327 /** @return true if this structure is empty */
1328 public boolean isEmpty()
1329 {
1330 return mCourses == null && mInvalidOperationInputError == null;
1331 }
1332
1333 /** Getter for the Courses field.
1334 * Field description is: <i>Details of all Courses found in the domain starting from specified offset and spanning no more than required maximum number of records.</i>
1335 * @return the value of the Courses field */
1336 public com.almamater.crs.services.coursesdomainsupport.STCourseDetails[] getCourses()
1337 {
1338 return mCourses;
1339 }
1340
1341 /** Setter for the Courses field.
1342 * Field description is: <i>Details of all Courses found in the domain starting from specified offset and spanning no more than required maximum number of records.</i>
1343 * @param pCourses the new value of the field */
1344 public void setCourses( com.almamater.crs.services.coursesdomainsupport.STCourseDetails[] pCourses)
1345 {
1346 mCourses = pCourses;
1347 }
1348
1349 /** Getter for the InvalidOperationInputError message.
1350 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
1351 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
1352 * @return the InvalidOperationInputError field or null */
1353 public com.almamater.types.core.MOInvalidOperationInputError getInvalidOperationInputError()
1354 {
1355 return mInvalidOperationInputError;
1356 }
1357
1358 /** Setter for the InvalidOperationInputError field.
1359 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
1360 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
1361 * @param pInvalidOperationInputError the new value of the message. Use null to clear the old messages out */
1362 public void setInvalidOperationInputError( com.almamater.types.core.MOInvalidOperationInputError pInvalidOperationInputError)
1363 {
1364 mInvalidOperationInputError = pInvalidOperationInputError;
1365 }
1366 /** Overridden to return list of contained mesages. */
1367 protected java.util.List getContainedMessages()
1368 {
1369 java.util.List lReturnList = super.getContainedMessages();
1370 if (mInvalidOperationInputError != null)
1371 lReturnList.add(mInvalidOperationInputError);
1372 return lReturnList;
1373 }
1374 }
1375
1376 /** Operation description is: <i>Retrieves details of the required subset of Courses present in the domain.</i>
1377 *<p>This method represents the Enterprise/systems[CRS]/servicemodules[CoursesDomainSupport]/services[DataManagement]/operations[getSubsetOfCourses] operation.</p>
1378 */
1379 public STGetSubsetOfCoursesResult getSubsetOfCourses( STGetSubsetOfCoursesInput pInput) throws BSException;
1380
1381 /** This structure carries the input arguments to the updateCourse operation.
1382 *<P><I><U>Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
1383 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
1384 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
1385 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
1386 public final class STUpdateCourseInput extends STBusinessServiceOperationInput implements Serializable
1387 {
1388 private com.almamater.crs.services.coursesdomainsupport.STCourseDetails mProposedDetails = null;
1389 /** @return true if this structure is empty */
1390 public boolean isEmpty()
1391 {
1392 return mProposedDetails == null;
1393 }
1394
1395 /** Getter for the ProposedDetails field.
1396 * Field description is: <i>Proposed new details of the existing instance of the Course. Only identifier fields and fields with new values need to be populated.</i>
1397 * @return the value of the ProposedDetails field */
1398 public com.almamater.crs.services.coursesdomainsupport.STCourseDetails getProposedDetails()
1399 {
1400 return mProposedDetails;
1401 }
1402
1403 /** Setter for the ProposedDetails field.
1404 * Field description is: <i>Proposed new details of the existing instance of the Course. Only identifier fields and fields with new values need to be populated.</i>
1405 * @param pProposedDetails the new value of the field */
1406 public void setProposedDetails( com.almamater.crs.services.coursesdomainsupport.STCourseDetails pProposedDetails)
1407 {
1408 mProposedDetails = pProposedDetails;
1409 }
1410 }
1411
1412 /** This structure carries the result of the updateCourse operation.
1413 *<P><I><U> Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
1414 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
1415 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
1416 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
1417 public final class STUpdateCourseResult extends STBusinessServiceOperationResult implements Serializable
1418 {
1419 private com.almamater.crs.services.coursesdomainsupport.STCourseDetails mUpdatedDetails = null;
1420 private com.almamater.crs.services.coursesdomainsupport.MOCourseVersionMismatchError mVersionMismatchError = null;
1421 private com.almamater.crs.services.coursesdomainsupport.MOCourseInstanceNotFoundError mCourseNotFoundError = null;
1422 private com.almamater.crs.services.coursesdomainsupport.MOTeacherInstanceNotFoundError mTeacherNotFoundError = null;
1423 private com.almamater.types.core.MOInvalidOperationInputError mInvalidOperationInputError = null;
1424 /** @return true if this structure is empty */
1425 public boolean isEmpty()
1426 {
1427 return mUpdatedDetails == null && mVersionMismatchError == null && mCourseNotFoundError == null && mTeacherNotFoundError == null && mInvalidOperationInputError == null;
1428 }
1429
1430 /** Getter for the UpdatedDetails field.
1431 * Field description is: <i>Details of an instance after successfull update. Mostly the same as the details passed in, but may have some autogenerated fields populated or updated.</i>
1432 * @return the value of the UpdatedDetails field */
1433 public com.almamater.crs.services.coursesdomainsupport.STCourseDetails getUpdatedDetails()
1434 {
1435 return mUpdatedDetails;
1436 }
1437
1438 /** Setter for the UpdatedDetails field.
1439 * Field description is: <i>Details of an instance after successfull update. Mostly the same as the details passed in, but may have some autogenerated fields populated or updated.</i>
1440 * @param pUpdatedDetails the new value of the field */
1441 public void setUpdatedDetails( com.almamater.crs.services.coursesdomainsupport.STCourseDetails pUpdatedDetails)
1442 {
1443 mUpdatedDetails = pUpdatedDetails;
1444 }
1445
1446 /** Getter for the VersionMismatchError message.
1447 * Message field description is: <i>Error message in case of version mismatch or null if this error has not occurred.</i>
1448 * Message description is: <i>This error indicates that operation has failed because value of submitted Course VersionId was not the same as the one stored.</i>
1449 * @return the VersionMismatchError field or null */
1450 public com.almamater.crs.services.coursesdomainsupport.MOCourseVersionMismatchError getVersionMismatchError()
1451 {
1452 return mVersionMismatchError;
1453 }
1454
1455 /** Setter for the VersionMismatchError field.
1456 * Message field description is: <i>Error message in case of version mismatch or null if this error has not occurred.</i>
1457 * Message description is: <i>This error indicates that operation has failed because value of submitted Course VersionId was not the same as the one stored.</i>
1458 * @param pVersionMismatchError the new value of the message. Use null to clear the old messages out */
1459 public void setVersionMismatchError( com.almamater.crs.services.coursesdomainsupport.MOCourseVersionMismatchError pVersionMismatchError)
1460 {
1461 mVersionMismatchError = pVersionMismatchError;
1462 }
1463
1464 /** Getter for the CourseNotFoundError message.
1465 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
1466 * Message description is: <i>This error indicates that operation has failed because required Course instance was not found.</i>
1467 * @return the CourseNotFoundError field or null */
1468 public com.almamater.crs.services.coursesdomainsupport.MOCourseInstanceNotFoundError getCourseNotFoundError()
1469 {
1470 return mCourseNotFoundError;
1471 }
1472
1473 /** Setter for the CourseNotFoundError field.
1474 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
1475 * Message description is: <i>This error indicates that operation has failed because required Course instance was not found.</i>
1476 * @param pCourseNotFoundError the new value of the message. Use null to clear the old messages out */
1477 public void setCourseNotFoundError( com.almamater.crs.services.coursesdomainsupport.MOCourseInstanceNotFoundError pCourseNotFoundError)
1478 {
1479 mCourseNotFoundError = pCourseNotFoundError;
1480 }
1481
1482 /** Getter for the TeacherNotFoundError message.
1483 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
1484 * Message description is: <i>This error indicates that operation has failed because required Teacher instance was not found.</i>
1485 * @return the TeacherNotFoundError field or null */
1486 public com.almamater.crs.services.coursesdomainsupport.MOTeacherInstanceNotFoundError getTeacherNotFoundError()
1487 {
1488 return mTeacherNotFoundError;
1489 }
1490
1491 /** Setter for the TeacherNotFoundError field.
1492 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
1493 * Message description is: <i>This error indicates that operation has failed because required Teacher instance was not found.</i>
1494 * @param pTeacherNotFoundError the new value of the message. Use null to clear the old messages out */
1495 public void setTeacherNotFoundError( com.almamater.crs.services.coursesdomainsupport.MOTeacherInstanceNotFoundError pTeacherNotFoundError)
1496 {
1497 mTeacherNotFoundError = pTeacherNotFoundError;
1498 }
1499
1500 /** Getter for the InvalidOperationInputError message.
1501 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
1502 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
1503 * @return the InvalidOperationInputError field or null */
1504 public com.almamater.types.core.MOInvalidOperationInputError getInvalidOperationInputError()
1505 {
1506 return mInvalidOperationInputError;
1507 }
1508
1509 /** Setter for the InvalidOperationInputError field.
1510 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
1511 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
1512 * @param pInvalidOperationInputError the new value of the message. Use null to clear the old messages out */
1513 public void setInvalidOperationInputError( com.almamater.types.core.MOInvalidOperationInputError pInvalidOperationInputError)
1514 {
1515 mInvalidOperationInputError = pInvalidOperationInputError;
1516 }
1517 /** Overridden to return list of contained mesages. */
1518 protected java.util.List getContainedMessages()
1519 {
1520 java.util.List lReturnList = super.getContainedMessages();
1521 if (mVersionMismatchError != null)
1522 lReturnList.add(mVersionMismatchError);
1523 if (mCourseNotFoundError != null)
1524 lReturnList.add(mCourseNotFoundError);
1525 if (mTeacherNotFoundError != null)
1526 lReturnList.add(mTeacherNotFoundError);
1527 if (mInvalidOperationInputError != null)
1528 lReturnList.add(mInvalidOperationInputError);
1529 return lReturnList;
1530 }
1531 }
1532
1533 /** Operation description is: <i>Updates existing instance of Course in the domain.</i>
1534 *<p>This method represents the Enterprise/systems[CRS]/servicemodules[CoursesDomainSupport]/services[DataManagement]/operations[updateCourse] operation.</p>
1535 */
1536 public STUpdateCourseResult updateCourse( STUpdateCourseInput pInput) throws BSException;
1537
1538 /** This structure carries the input arguments to the getTeacher operation.
1539 *<P><I><U>Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
1540 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
1541 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
1542 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
1543 public final class STGetTeacherInput extends STBusinessServiceOperationInput implements Serializable
1544 {
1545 private com.almamater.crs.services.coursesdomainsupport.STTeacherKey mTeacherKey = null;
1546 /** @return true if this structure is empty */
1547 public boolean isEmpty()
1548 {
1549 return mTeacherKey == null;
1550 }
1551
1552 /** Getter for the TeacherKey field.
1553 * Field description is: <i>The unique key referring to the instance of Teacher to be retrieved.</i>
1554 * @return the value of the TeacherKey field */
1555 public com.almamater.crs.services.coursesdomainsupport.STTeacherKey getTeacherKey()
1556 {
1557 return mTeacherKey;
1558 }
1559
1560 /** Setter for the TeacherKey field.
1561 * Field description is: <i>The unique key referring to the instance of Teacher to be retrieved.</i>
1562 * @param pTeacherKey the new value of the field */
1563 public void setTeacherKey( com.almamater.crs.services.coursesdomainsupport.STTeacherKey pTeacherKey)
1564 {
1565 mTeacherKey = pTeacherKey;
1566 }
1567 }
1568
1569 /** This structure carries the result of the getTeacher operation.
1570 *<P><I><U> Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
1571 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
1572 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
1573 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
1574 public final class STGetTeacherResult extends STBusinessServiceOperationResult implements Serializable
1575 {
1576 private com.almamater.crs.services.coursesdomainsupport.STTeacherDetails mTeacher = null;
1577 private com.almamater.crs.services.coursesdomainsupport.MOTeacherInstanceNotFoundError mTeacherNotFoundError = null;
1578 private com.almamater.types.core.MOInvalidOperationInputError mInvalidOperationInputError = null;
1579 /** @return true if this structure is empty */
1580 public boolean isEmpty()
1581 {
1582 return mTeacher == null && mTeacherNotFoundError == null && mInvalidOperationInputError == null;
1583 }
1584
1585 /** Getter for the Teacher field.
1586 * Field description is: <i>Details of a particuar Teacher found in the domain.</i>
1587 * @return the value of the Teacher field */
1588 public com.almamater.crs.services.coursesdomainsupport.STTeacherDetails getTeacher()
1589 {
1590 return mTeacher;
1591 }
1592
1593 /** Setter for the Teacher field.
1594 * Field description is: <i>Details of a particuar Teacher found in the domain.</i>
1595 * @param pTeacher the new value of the field */
1596 public void setTeacher( com.almamater.crs.services.coursesdomainsupport.STTeacherDetails pTeacher)
1597 {
1598 mTeacher = pTeacher;
1599 }
1600
1601 /** Getter for the TeacherNotFoundError message.
1602 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
1603 * Message description is: <i>This error indicates that operation has failed because required Teacher instance was not found.</i>
1604 * @return the TeacherNotFoundError field or null */
1605 public com.almamater.crs.services.coursesdomainsupport.MOTeacherInstanceNotFoundError getTeacherNotFoundError()
1606 {
1607 return mTeacherNotFoundError;
1608 }
1609
1610 /** Setter for the TeacherNotFoundError field.
1611 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
1612 * Message description is: <i>This error indicates that operation has failed because required Teacher instance was not found.</i>
1613 * @param pTeacherNotFoundError the new value of the message. Use null to clear the old messages out */
1614 public void setTeacherNotFoundError( com.almamater.crs.services.coursesdomainsupport.MOTeacherInstanceNotFoundError pTeacherNotFoundError)
1615 {
1616 mTeacherNotFoundError = pTeacherNotFoundError;
1617 }
1618
1619 /** Getter for the InvalidOperationInputError message.
1620 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
1621 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
1622 * @return the InvalidOperationInputError field or null */
1623 public com.almamater.types.core.MOInvalidOperationInputError getInvalidOperationInputError()
1624 {
1625 return mInvalidOperationInputError;
1626 }
1627
1628 /** Setter for the InvalidOperationInputError field.
1629 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
1630 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
1631 * @param pInvalidOperationInputError the new value of the message. Use null to clear the old messages out */
1632 public void setInvalidOperationInputError( com.almamater.types.core.MOInvalidOperationInputError pInvalidOperationInputError)
1633 {
1634 mInvalidOperationInputError = pInvalidOperationInputError;
1635 }
1636 /** Overridden to return list of contained mesages. */
1637 protected java.util.List getContainedMessages()
1638 {
1639 java.util.List lReturnList = super.getContainedMessages();
1640 if (mTeacherNotFoundError != null)
1641 lReturnList.add(mTeacherNotFoundError);
1642 if (mInvalidOperationInputError != null)
1643 lReturnList.add(mInvalidOperationInputError);
1644 return lReturnList;
1645 }
1646 }
1647
1648 /** Operation description is: <i>Retrieves details of a particular Teacher instance from the domain. Instance is identified by key structure.</i>
1649 *<p>This method represents the Enterprise/systems[CRS]/servicemodules[CoursesDomainSupport]/services[DataManagement]/operations[getTeacher] operation.</p>
1650 */
1651 public STGetTeacherResult getTeacher( STGetTeacherInput pInput) throws BSException;
1652
1653 /** This structure carries the input arguments to the createTeacher operation.
1654 *<P><I><U>Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
1655 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
1656 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
1657 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
1658 public final class STCreateTeacherInput extends STBusinessServiceOperationInput implements Serializable
1659 {
1660 private com.almamater.crs.services.coursesdomainsupport.STTeacherDetails mProposedDetails = null;
1661 /** @return true if this structure is empty */
1662 public boolean isEmpty()
1663 {
1664 return mProposedDetails == null;
1665 }
1666
1667 /** Getter for the ProposedDetails field.
1668 * Field description is: <i>Proposed details of the new instance of the Teacher in the domain.</i>
1669 * @return the value of the ProposedDetails field */
1670 public com.almamater.crs.services.coursesdomainsupport.STTeacherDetails getProposedDetails()
1671 {
1672 return mProposedDetails;
1673 }
1674
1675 /** Setter for the ProposedDetails field.
1676 * Field description is: <i>Proposed details of the new instance of the Teacher in the domain.</i>
1677 * @param pProposedDetails the new value of the field */
1678 public void setProposedDetails( com.almamater.crs.services.coursesdomainsupport.STTeacherDetails pProposedDetails)
1679 {
1680 mProposedDetails = pProposedDetails;
1681 }
1682 }
1683
1684 /** This structure carries the result of the createTeacher operation.
1685 *<P><I><U> Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
1686 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
1687 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
1688 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
1689 public final class STCreateTeacherResult extends STBusinessServiceOperationResult implements Serializable
1690 {
1691 private com.almamater.crs.services.coursesdomainsupport.STTeacherDetails mCreatedDetails = null;
1692 private com.almamater.types.core.MOInvalidOperationInputError mInvalidOperationInputError = null;
1693 /** @return true if this structure is empty */
1694 public boolean isEmpty()
1695 {
1696 return mCreatedDetails == null && mInvalidOperationInputError == null;
1697 }
1698
1699 /** Getter for the CreatedDetails field.
1700 * Field description is: <i>Details of an instance after successfull creation. Mostly the same as the details passed in, but will have some autogenerated fields populated.</i>
1701 * @return the value of the CreatedDetails field */
1702 public com.almamater.crs.services.coursesdomainsupport.STTeacherDetails getCreatedDetails()
1703 {
1704 return mCreatedDetails;
1705 }
1706
1707 /** Setter for the CreatedDetails field.
1708 * Field description is: <i>Details of an instance after successfull creation. Mostly the same as the details passed in, but will have some autogenerated fields populated.</i>
1709 * @param pCreatedDetails the new value of the field */
1710 public void setCreatedDetails( com.almamater.crs.services.coursesdomainsupport.STTeacherDetails pCreatedDetails)
1711 {
1712 mCreatedDetails = pCreatedDetails;
1713 }
1714
1715 /** Getter for the InvalidOperationInputError message.
1716 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
1717 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
1718 * @return the InvalidOperationInputError field or null */
1719 public com.almamater.types.core.MOInvalidOperationInputError getInvalidOperationInputError()
1720 {
1721 return mInvalidOperationInputError;
1722 }
1723
1724 /** Setter for the InvalidOperationInputError field.
1725 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
1726 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
1727 * @param pInvalidOperationInputError the new value of the message. Use null to clear the old messages out */
1728 public void setInvalidOperationInputError( com.almamater.types.core.MOInvalidOperationInputError pInvalidOperationInputError)
1729 {
1730 mInvalidOperationInputError = pInvalidOperationInputError;
1731 }
1732 /** Overridden to return list of contained mesages. */
1733 protected java.util.List getContainedMessages()
1734 {
1735 java.util.List lReturnList = super.getContainedMessages();
1736 if (mInvalidOperationInputError != null)
1737 lReturnList.add(mInvalidOperationInputError);
1738 return lReturnList;
1739 }
1740 }
1741
1742 /** Operation description is: <i>Creates new instance of Teacher in the domain.</i>
1743 *<p>This method represents the Enterprise/systems[CRS]/servicemodules[CoursesDomainSupport]/services[DataManagement]/operations[createTeacher] operation.</p>
1744 */
1745 public STCreateTeacherResult createTeacher( STCreateTeacherInput pInput) throws BSException;
1746
1747 /** This structure carries the input arguments to the deleteTeacher operation.
1748 *<P><I><U>Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
1749 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
1750 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
1751 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
1752 public final class STDeleteTeacherInput extends STBusinessServiceOperationInput implements Serializable
1753 {
1754 private com.almamater.crs.services.coursesdomainsupport.STTeacherKey mTeacherKey = null;
1755 /** @return true if this structure is empty */
1756 public boolean isEmpty()
1757 {
1758 return mTeacherKey == null;
1759 }
1760
1761 /** Getter for the TeacherKey field.
1762 * Field description is: <i>The unique key referring to the instance of Teacher to be deleted.</i>
1763 * @return the value of the TeacherKey field */
1764 public com.almamater.crs.services.coursesdomainsupport.STTeacherKey getTeacherKey()
1765 {
1766 return mTeacherKey;
1767 }
1768
1769 /** Setter for the TeacherKey field.
1770 * Field description is: <i>The unique key referring to the instance of Teacher to be deleted.</i>
1771 * @param pTeacherKey the new value of the field */
1772 public void setTeacherKey( com.almamater.crs.services.coursesdomainsupport.STTeacherKey pTeacherKey)
1773 {
1774 mTeacherKey = pTeacherKey;
1775 }
1776 }
1777
1778 /** This structure carries the result of the deleteTeacher operation.
1779 *<P><I><U> Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
1780 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
1781 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
1782 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
1783 public final class STDeleteTeacherResult extends STBusinessServiceOperationResult implements Serializable
1784 {
1785 private com.almamater.crs.services.coursesdomainsupport.MOTeacherInstanceNotFoundError mTeacherNotFoundError = null;
1786 private com.almamater.types.core.MOInvalidOperationInputError mInvalidOperationInputError = null;
1787 /** @return true if this structure is empty */
1788 public boolean isEmpty()
1789 {
1790 return mTeacherNotFoundError == null && mInvalidOperationInputError == null;
1791 }
1792
1793 /** Getter for the TeacherNotFoundError message.
1794 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
1795 * Message description is: <i>This error indicates that operation has failed because required Teacher instance was not found.</i>
1796 * @return the TeacherNotFoundError field or null */
1797 public com.almamater.crs.services.coursesdomainsupport.MOTeacherInstanceNotFoundError getTeacherNotFoundError()
1798 {
1799 return mTeacherNotFoundError;
1800 }
1801
1802 /** Setter for the TeacherNotFoundError field.
1803 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
1804 * Message description is: <i>This error indicates that operation has failed because required Teacher instance was not found.</i>
1805 * @param pTeacherNotFoundError the new value of the message. Use null to clear the old messages out */
1806 public void setTeacherNotFoundError( com.almamater.crs.services.coursesdomainsupport.MOTeacherInstanceNotFoundError pTeacherNotFoundError)
1807 {
1808 mTeacherNotFoundError = pTeacherNotFoundError;
1809 }
1810
1811 /** Getter for the InvalidOperationInputError message.
1812 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
1813 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
1814 * @return the InvalidOperationInputError field or null */
1815 public com.almamater.types.core.MOInvalidOperationInputError getInvalidOperationInputError()
1816 {
1817 return mInvalidOperationInputError;
1818 }
1819
1820 /** Setter for the InvalidOperationInputError field.
1821 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
1822 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
1823 * @param pInvalidOperationInputError the new value of the message. Use null to clear the old messages out */
1824 public void setInvalidOperationInputError( com.almamater.types.core.MOInvalidOperationInputError pInvalidOperationInputError)
1825 {
1826 mInvalidOperationInputError = pInvalidOperationInputError;
1827 }
1828 /** Overridden to return list of contained mesages. */
1829 protected java.util.List getContainedMessages()
1830 {
1831 java.util.List lReturnList = super.getContainedMessages();
1832 if (mTeacherNotFoundError != null)
1833 lReturnList.add(mTeacherNotFoundError);
1834 if (mInvalidOperationInputError != null)
1835 lReturnList.add(mInvalidOperationInputError);
1836 return lReturnList;
1837 }
1838 }
1839
1840 /** Operation description is: <i>Deletes existing instance of Teacher in the domain.</i>
1841 *<p>This method represents the Enterprise/systems[CRS]/servicemodules[CoursesDomainSupport]/services[DataManagement]/operations[deleteTeacher] operation.</p>
1842 */
1843 public STDeleteTeacherResult deleteTeacher( STDeleteTeacherInput pInput) throws BSException;
1844
1845 /** This structure carries the input arguments to the getAllTeachersCount operation.
1846 *<P><I><U>Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
1847 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
1848 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
1849 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
1850 public final class STGetAllTeachersCountInput extends STBusinessServiceOperationInput implements Serializable
1851 {
1852 /** @return true if this structure is empty */
1853 public boolean isEmpty()
1854 {
1855 return true;
1856 }
1857 }
1858
1859 /** This structure carries the result of the getAllTeachersCount operation.
1860 *<P><I><U> Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
1861 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
1862 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
1863 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
1864 public final class STGetAllTeachersCountResult extends STBusinessServiceOperationResult implements Serializable
1865 {
1866 private com.almamater.types.core.CollectionSize mTeachersCount = null;
1867 /** @return true if this structure is empty */
1868 public boolean isEmpty()
1869 {
1870 return mTeachersCount == null;
1871 }
1872
1873 /** Getter for the TeachersCount field.
1874 * Field description is: <i>Number of Teachers found in the domain.</i>
1875 * @return the value of the TeachersCount field */
1876 public com.almamater.types.core.CollectionSize getTeachersCount()
1877 {
1878 return mTeachersCount;
1879 }
1880
1881 /** Setter for the TeachersCount field.
1882 * Field description is: <i>Number of Teachers found in the domain.</i>
1883 * @param pTeachersCount the new value of the field */
1884 public void setTeachersCount( com.almamater.types.core.CollectionSize pTeachersCount)
1885 {
1886 mTeachersCount = pTeachersCount;
1887 }
1888 }
1889
1890 /** Operation description is: <i>Retrieves count of all Teachers present in the domain.</i>
1891 *<p>This method represents the Enterprise/systems[CRS]/servicemodules[CoursesDomainSupport]/services[DataManagement]/operations[getAllTeachersCount] operation.</p>
1892 */
1893 public STGetAllTeachersCountResult getAllTeachersCount( STGetAllTeachersCountInput pInput) throws BSException;
1894
1895 /** This structure carries the input arguments to the getAllTeachers operation.
1896 *<P><I><U>Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
1897 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
1898 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
1899 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
1900 public final class STGetAllTeachersInput extends STBusinessServiceOperationInput implements Serializable
1901 {
1902 private com.almamater.crs.types.system.courses.TeacherOrderingInstruction[] mOrderingInstructions = null;
1903 /** @return true if this structure is empty */
1904 public boolean isEmpty()
1905 {
1906 return mOrderingInstructions == null;
1907 }
1908
1909 /** Getter for the OrderingInstructions field.
1910 * Field description is: <i>Array of zero or more ordering instructions (weight of the instruction is diminising towards the end of the array). Returned Teachers will be sorted in accordance with these instructions.</i>
1911 * @return the value of the OrderingInstructions field */
1912 public com.almamater.crs.types.system.courses.TeacherOrderingInstruction[] getOrderingInstructions()
1913 {
1914 return mOrderingInstructions;
1915 }
1916
1917 /** Setter for the OrderingInstructions field.
1918 * Field description is: <i>Array of zero or more ordering instructions (weight of the instruction is diminising towards the end of the array). Returned Teachers will be sorted in accordance with these instructions.</i>
1919 * @param pOrderingInstructions the new value of the field */
1920 public void setOrderingInstructions( com.almamater.crs.types.system.courses.TeacherOrderingInstruction[] pOrderingInstructions)
1921 {
1922 mOrderingInstructions = pOrderingInstructions;
1923 }
1924 }
1925
1926 /** This structure carries the result of the getAllTeachers operation.
1927 *<P><I><U> Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
1928 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
1929 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
1930 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
1931 public final class STGetAllTeachersResult extends STBusinessServiceOperationResult implements Serializable
1932 {
1933 private com.almamater.crs.services.coursesdomainsupport.STTeacherDetails[] mTeachers = null;
1934 private com.almamater.types.core.MOInvalidOperationInputError mInvalidOperationInputError = null;
1935 /** @return true if this structure is empty */
1936 public boolean isEmpty()
1937 {
1938 return mTeachers == null && mInvalidOperationInputError == null;
1939 }
1940
1941 /** Getter for the Teachers field.
1942 * Field description is: <i>Details of all Teachers found in the domain.</i>
1943 * @return the value of the Teachers field */
1944 public com.almamater.crs.services.coursesdomainsupport.STTeacherDetails[] getTeachers()
1945 {
1946 return mTeachers;
1947 }
1948
1949 /** Setter for the Teachers field.
1950 * Field description is: <i>Details of all Teachers found in the domain.</i>
1951 * @param pTeachers the new value of the field */
1952 public void setTeachers( com.almamater.crs.services.coursesdomainsupport.STTeacherDetails[] pTeachers)
1953 {
1954 mTeachers = pTeachers;
1955 }
1956
1957 /** Getter for the InvalidOperationInputError message.
1958 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
1959 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
1960 * @return the InvalidOperationInputError field or null */
1961 public com.almamater.types.core.MOInvalidOperationInputError getInvalidOperationInputError()
1962 {
1963 return mInvalidOperationInputError;
1964 }
1965
1966 /** Setter for the InvalidOperationInputError field.
1967 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
1968 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
1969 * @param pInvalidOperationInputError the new value of the message. Use null to clear the old messages out */
1970 public void setInvalidOperationInputError( com.almamater.types.core.MOInvalidOperationInputError pInvalidOperationInputError)
1971 {
1972 mInvalidOperationInputError = pInvalidOperationInputError;
1973 }
1974 /** Overridden to return list of contained mesages. */
1975 protected java.util.List getContainedMessages()
1976 {
1977 java.util.List lReturnList = super.getContainedMessages();
1978 if (mInvalidOperationInputError != null)
1979 lReturnList.add(mInvalidOperationInputError);
1980 return lReturnList;
1981 }
1982 }
1983
1984 /** Operation description is: <i>Retrieves details of all Teachers present in the domain.</i>
1985 *<p>This method represents the Enterprise/systems[CRS]/servicemodules[CoursesDomainSupport]/services[DataManagement]/operations[getAllTeachers] operation.</p>
1986 */
1987 public STGetAllTeachersResult getAllTeachers( STGetAllTeachersInput pInput) throws BSException;
1988
1989 /** This structure carries the input arguments to the getSubsetOfTeachers operation.
1990 *<P><I><U>Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
1991 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
1992 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
1993 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
1994 public final class STGetSubsetOfTeachersInput extends STBusinessServiceOperationInput implements Serializable
1995 {
1996 private com.almamater.types.core.CollectionOffset mFirstRecordOffset = null;
1997 private com.almamater.types.core.SubsetSize mRequiredMaxSize = null;
1998 private com.almamater.crs.types.system.courses.TeacherOrderingInstruction[] mOrderingInstructions = null;
1999 /** @return true if this structure is empty */
2000 public boolean isEmpty()
2001 {
2002 return mFirstRecordOffset == null && mRequiredMaxSize == null && mOrderingInstructions == null;
2003 }
2004
2005 /** Getter for the FirstRecordOffset field.
2006 * Field description is: <i>Zero-based offset from the first entity details to be returned to the beginning of the whole collection of Teachers present in domain.</i>
2007 * @return the value of the FirstRecordOffset field */
2008 public com.almamater.types.core.CollectionOffset getFirstRecordOffset()
2009 {
2010 return mFirstRecordOffset;
2011 }
2012
2013 /** Setter for the FirstRecordOffset field.
2014 * Field description is: <i>Zero-based offset from the first entity details to be returned to the beginning of the whole collection of Teachers present in domain.</i>
2015 * @param pFirstRecordOffset the new value of the field */
2016 public void setFirstRecordOffset( com.almamater.types.core.CollectionOffset pFirstRecordOffset)
2017 {
2018 mFirstRecordOffset = pFirstRecordOffset;
2019 }
2020
2021 /** Getter for the RequiredMaxSize field.
2022 * Field description is: <i>The desired maximum number of detail records to be returned. Note that actual number of details returned might be lower if domain does not have sufficient number of Teachers.</i>
2023 * @return the value of the RequiredMaxSize field */
2024 public com.almamater.types.core.SubsetSize getRequiredMaxSize()
2025 {
2026 return mRequiredMaxSize;
2027 }
2028
2029 /** Setter for the RequiredMaxSize field.
2030 * Field description is: <i>The desired maximum number of detail records to be returned. Note that actual number of details returned might be lower if domain does not have sufficient number of Teachers.</i>
2031 * @param pRequiredMaxSize the new value of the field */
2032 public void setRequiredMaxSize( com.almamater.types.core.SubsetSize pRequiredMaxSize)
2033 {
2034 mRequiredMaxSize = pRequiredMaxSize;
2035 }
2036
2037 /** Getter for the OrderingInstructions field.
2038 * Field description is: <i>Array of zero or more ordering instructions (weight of the instruction is diminising towards the end of the array). Returned subset of the Teachers will be cut out after sorting of the whole set has been done in accordance with these instructions.</i>
2039 * @return the value of the OrderingInstructions field */
2040 public com.almamater.crs.types.system.courses.TeacherOrderingInstruction[] getOrderingInstructions()
2041 {
2042 return mOrderingInstructions;
2043 }
2044
2045 /** Setter for the OrderingInstructions field.
2046 * Field description is: <i>Array of zero or more ordering instructions (weight of the instruction is diminising towards the end of the array). Returned subset of the Teachers will be cut out after sorting of the whole set has been done in accordance with these instructions.</i>
2047 * @param pOrderingInstructions the new value of the field */
2048 public void setOrderingInstructions( com.almamater.crs.types.system.courses.TeacherOrderingInstruction[] pOrderingInstructions)
2049 {
2050 mOrderingInstructions = pOrderingInstructions;
2051 }
2052 }
2053
2054 /** This structure carries the result of the getSubsetOfTeachers operation.
2055 *<P><I><U> Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
2056 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
2057 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
2058 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
2059 public final class STGetSubsetOfTeachersResult extends STBusinessServiceOperationResult implements Serializable
2060 {
2061 private com.almamater.crs.services.coursesdomainsupport.STTeacherDetails[] mTeachers = null;
2062 private com.almamater.types.core.MOInvalidOperationInputError mInvalidOperationInputError = null;
2063 /** @return true if this structure is empty */
2064 public boolean isEmpty()
2065 {
2066 return mTeachers == null && mInvalidOperationInputError == null;
2067 }
2068
2069 /** Getter for the Teachers field.
2070 * Field description is: <i>Details of all Teachers found in the domain starting from specified offset and spanning no more than required maximum number of records.</i>
2071 * @return the value of the Teachers field */
2072 public com.almamater.crs.services.coursesdomainsupport.STTeacherDetails[] getTeachers()
2073 {
2074 return mTeachers;
2075 }
2076
2077 /** Setter for the Teachers field.
2078 * Field description is: <i>Details of all Teachers found in the domain starting from specified offset and spanning no more than required maximum number of records.</i>
2079 * @param pTeachers the new value of the field */
2080 public void setTeachers( com.almamater.crs.services.coursesdomainsupport.STTeacherDetails[] pTeachers)
2081 {
2082 mTeachers = pTeachers;
2083 }
2084
2085 /** Getter for the InvalidOperationInputError message.
2086 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
2087 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
2088 * @return the InvalidOperationInputError field or null */
2089 public com.almamater.types.core.MOInvalidOperationInputError getInvalidOperationInputError()
2090 {
2091 return mInvalidOperationInputError;
2092 }
2093
2094 /** Setter for the InvalidOperationInputError field.
2095 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
2096 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
2097 * @param pInvalidOperationInputError the new value of the message. Use null to clear the old messages out */
2098 public void setInvalidOperationInputError( com.almamater.types.core.MOInvalidOperationInputError pInvalidOperationInputError)
2099 {
2100 mInvalidOperationInputError = pInvalidOperationInputError;
2101 }
2102 /** Overridden to return list of contained mesages. */
2103 protected java.util.List getContainedMessages()
2104 {
2105 java.util.List lReturnList = super.getContainedMessages();
2106 if (mInvalidOperationInputError != null)
2107 lReturnList.add(mInvalidOperationInputError);
2108 return lReturnList;
2109 }
2110 }
2111
2112 /** Operation description is: <i>Retrieves details of the required subset of Teachers present in the domain.</i>
2113 *<p>This method represents the Enterprise/systems[CRS]/servicemodules[CoursesDomainSupport]/services[DataManagement]/operations[getSubsetOfTeachers] operation.</p>
2114 */
2115 public STGetSubsetOfTeachersResult getSubsetOfTeachers( STGetSubsetOfTeachersInput pInput) throws BSException;
2116
2117 /** This structure carries the input arguments to the updateTeacher operation.
2118 *<P><I><U>Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
2119 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
2120 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
2121 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
2122 public final class STUpdateTeacherInput extends STBusinessServiceOperationInput implements Serializable
2123 {
2124 private com.almamater.crs.services.coursesdomainsupport.STTeacherDetails mProposedDetails = null;
2125 /** @return true if this structure is empty */
2126 public boolean isEmpty()
2127 {
2128 return mProposedDetails == null;
2129 }
2130
2131 /** Getter for the ProposedDetails field.
2132 * Field description is: <i>Proposed new details of the existing instance of the Teacher. Only identifier fields and fields with new values need to be populated.</i>
2133 * @return the value of the ProposedDetails field */
2134 public com.almamater.crs.services.coursesdomainsupport.STTeacherDetails getProposedDetails()
2135 {
2136 return mProposedDetails;
2137 }
2138
2139 /** Setter for the ProposedDetails field.
2140 * Field description is: <i>Proposed new details of the existing instance of the Teacher. Only identifier fields and fields with new values need to be populated.</i>
2141 * @param pProposedDetails the new value of the field */
2142 public void setProposedDetails( com.almamater.crs.services.coursesdomainsupport.STTeacherDetails pProposedDetails)
2143 {
2144 mProposedDetails = pProposedDetails;
2145 }
2146 }
2147
2148 /** This structure carries the result of the updateTeacher operation.
2149 *<P><I><U> Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
2150 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
2151 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
2152 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
2153 public final class STUpdateTeacherResult extends STBusinessServiceOperationResult implements Serializable
2154 {
2155 private com.almamater.crs.services.coursesdomainsupport.STTeacherDetails mUpdatedDetails = null;
2156 private com.almamater.crs.services.coursesdomainsupport.MOTeacherVersionMismatchError mVersionMismatchError = null;
2157 private com.almamater.crs.services.coursesdomainsupport.MOTeacherInstanceNotFoundError mTeacherNotFoundError = null;
2158 private com.almamater.types.core.MOInvalidOperationInputError mInvalidOperationInputError = null;
2159 /** @return true if this structure is empty */
2160 public boolean isEmpty()
2161 {
2162 return mUpdatedDetails == null && mVersionMismatchError == null && mTeacherNotFoundError == null && mInvalidOperationInputError == null;
2163 }
2164
2165 /** Getter for the UpdatedDetails field.
2166 * Field description is: <i>Details of an instance after successfull update. Mostly the same as the details passed in, but may have some autogenerated fields populated or updated.</i>
2167 * @return the value of the UpdatedDetails field */
2168 public com.almamater.crs.services.coursesdomainsupport.STTeacherDetails getUpdatedDetails()
2169 {
2170 return mUpdatedDetails;
2171 }
2172
2173 /** Setter for the UpdatedDetails field.
2174 * Field description is: <i>Details of an instance after successfull update. Mostly the same as the details passed in, but may have some autogenerated fields populated or updated.</i>
2175 * @param pUpdatedDetails the new value of the field */
2176 public void setUpdatedDetails( com.almamater.crs.services.coursesdomainsupport.STTeacherDetails pUpdatedDetails)
2177 {
2178 mUpdatedDetails = pUpdatedDetails;
2179 }
2180
2181 /** Getter for the VersionMismatchError message.
2182 * Message field description is: <i>Error message in case of version mismatch or null if this error has not occurred.</i>
2183 * Message description is: <i>This error indicates that operation has failed because value of submitted Teacher VersionId was not the same as the one stored.</i>
2184 * @return the VersionMismatchError field or null */
2185 public com.almamater.crs.services.coursesdomainsupport.MOTeacherVersionMismatchError getVersionMismatchError()
2186 {
2187 return mVersionMismatchError;
2188 }
2189
2190 /** Setter for the VersionMismatchError field.
2191 * Message field description is: <i>Error message in case of version mismatch or null if this error has not occurred.</i>
2192 * Message description is: <i>This error indicates that operation has failed because value of submitted Teacher VersionId was not the same as the one stored.</i>
2193 * @param pVersionMismatchError the new value of the message. Use null to clear the old messages out */
2194 public void setVersionMismatchError( com.almamater.crs.services.coursesdomainsupport.MOTeacherVersionMismatchError pVersionMismatchError)
2195 {
2196 mVersionMismatchError = pVersionMismatchError;
2197 }
2198
2199 /** Getter for the TeacherNotFoundError message.
2200 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
2201 * Message description is: <i>This error indicates that operation has failed because required Teacher instance was not found.</i>
2202 * @return the TeacherNotFoundError field or null */
2203 public com.almamater.crs.services.coursesdomainsupport.MOTeacherInstanceNotFoundError getTeacherNotFoundError()
2204 {
2205 return mTeacherNotFoundError;
2206 }
2207
2208 /** Setter for the TeacherNotFoundError field.
2209 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
2210 * Message description is: <i>This error indicates that operation has failed because required Teacher instance was not found.</i>
2211 * @param pTeacherNotFoundError the new value of the message. Use null to clear the old messages out */
2212 public void setTeacherNotFoundError( com.almamater.crs.services.coursesdomainsupport.MOTeacherInstanceNotFoundError pTeacherNotFoundError)
2213 {
2214 mTeacherNotFoundError = pTeacherNotFoundError;
2215 }
2216
2217 /** Getter for the InvalidOperationInputError message.
2218 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
2219 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
2220 * @return the InvalidOperationInputError field or null */
2221 public com.almamater.types.core.MOInvalidOperationInputError getInvalidOperationInputError()
2222 {
2223 return mInvalidOperationInputError;
2224 }
2225
2226 /** Setter for the InvalidOperationInputError field.
2227 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
2228 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
2229 * @param pInvalidOperationInputError the new value of the message. Use null to clear the old messages out */
2230 public void setInvalidOperationInputError( com.almamater.types.core.MOInvalidOperationInputError pInvalidOperationInputError)
2231 {
2232 mInvalidOperationInputError = pInvalidOperationInputError;
2233 }
2234 /** Overridden to return list of contained mesages. */
2235 protected java.util.List getContainedMessages()
2236 {
2237 java.util.List lReturnList = super.getContainedMessages();
2238 if (mVersionMismatchError != null)
2239 lReturnList.add(mVersionMismatchError);
2240 if (mTeacherNotFoundError != null)
2241 lReturnList.add(mTeacherNotFoundError);
2242 if (mInvalidOperationInputError != null)
2243 lReturnList.add(mInvalidOperationInputError);
2244 return lReturnList;
2245 }
2246 }
2247
2248 /** Operation description is: <i>Updates existing instance of Teacher in the domain.</i>
2249 *<p>This method represents the Enterprise/systems[CRS]/servicemodules[CoursesDomainSupport]/services[DataManagement]/operations[updateTeacher] operation.</p>
2250 */
2251 public STUpdateTeacherResult updateTeacher( STUpdateTeacherInput pInput) throws BSException;
2252
2253 /** This structure carries the input arguments to the addLecturersToCourse operation.
2254 *<P><I><U>Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
2255 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
2256 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
2257 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
2258 public final class STAddLecturersToCourseInput extends STBusinessServiceOperationInput implements Serializable
2259 {
2260 private com.almamater.crs.services.coursesdomainsupport.STCourseKey mCourseKey = null;
2261 private com.almamater.crs.services.coursesdomainsupport.STTeacherKey[] mLecturerKeys = null;
2262 /** @return true if this structure is empty */
2263 public boolean isEmpty()
2264 {
2265 return mCourseKey == null && mLecturerKeys == null;
2266 }
2267
2268 /** Getter for the CourseKey field.
2269 * Field description is: <i>The unique key identifying the Course to be edited.</i>
2270 * @return the value of the CourseKey field */
2271 public com.almamater.crs.services.coursesdomainsupport.STCourseKey getCourseKey()
2272 {
2273 return mCourseKey;
2274 }
2275
2276 /** Setter for the CourseKey field.
2277 * Field description is: <i>The unique key identifying the Course to be edited.</i>
2278 * @param pCourseKey the new value of the field */
2279 public void setCourseKey( com.almamater.crs.services.coursesdomainsupport.STCourseKey pCourseKey)
2280 {
2281 mCourseKey = pCourseKey;
2282 }
2283
2284 /** Getter for the LecturerKeys field.
2285 * Field description is: <i>The array of unique keys identifying Lecturers to be added.</i>
2286 * @return the value of the LecturerKeys field */
2287 public com.almamater.crs.services.coursesdomainsupport.STTeacherKey[] getLecturerKeys()
2288 {
2289 return mLecturerKeys;
2290 }
2291
2292 /** Setter for the LecturerKeys field.
2293 * Field description is: <i>The array of unique keys identifying Lecturers to be added.</i>
2294 * @param pLecturerKeys the new value of the field */
2295 public void setLecturerKeys( com.almamater.crs.services.coursesdomainsupport.STTeacherKey[] pLecturerKeys)
2296 {
2297 mLecturerKeys = pLecturerKeys;
2298 }
2299 }
2300
2301 /** This structure carries the result of the addLecturersToCourse operation.
2302 *<P><I><U> Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
2303 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
2304 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
2305 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
2306 public final class STAddLecturersToCourseResult extends STBusinessServiceOperationResult implements Serializable
2307 {
2308 private com.almamater.crs.services.coursesdomainsupport.MOCourseInstanceNotFoundError mCourseNotFoundError = null;
2309 private com.almamater.crs.services.coursesdomainsupport.MOTeacherInstanceNotFoundError mTeacherNotFoundError = null;
2310 private com.almamater.types.core.MOInvalidOperationInputError mInvalidOperationInputError = null;
2311 /** @return true if this structure is empty */
2312 public boolean isEmpty()
2313 {
2314 return mCourseNotFoundError == null && mTeacherNotFoundError == null && mInvalidOperationInputError == null;
2315 }
2316
2317 /** Getter for the CourseNotFoundError message.
2318 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
2319 * Message description is: <i>This error indicates that operation has failed because required Course instance was not found.</i>
2320 * @return the CourseNotFoundError field or null */
2321 public com.almamater.crs.services.coursesdomainsupport.MOCourseInstanceNotFoundError getCourseNotFoundError()
2322 {
2323 return mCourseNotFoundError;
2324 }
2325
2326 /** Setter for the CourseNotFoundError field.
2327 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
2328 * Message description is: <i>This error indicates that operation has failed because required Course instance was not found.</i>
2329 * @param pCourseNotFoundError the new value of the message. Use null to clear the old messages out */
2330 public void setCourseNotFoundError( com.almamater.crs.services.coursesdomainsupport.MOCourseInstanceNotFoundError pCourseNotFoundError)
2331 {
2332 mCourseNotFoundError = pCourseNotFoundError;
2333 }
2334
2335 /** Getter for the TeacherNotFoundError message.
2336 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
2337 * Message description is: <i>This error indicates that operation has failed because required Teacher instance was not found.</i>
2338 * @return the TeacherNotFoundError field or null */
2339 public com.almamater.crs.services.coursesdomainsupport.MOTeacherInstanceNotFoundError getTeacherNotFoundError()
2340 {
2341 return mTeacherNotFoundError;
2342 }
2343
2344 /** Setter for the TeacherNotFoundError field.
2345 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
2346 * Message description is: <i>This error indicates that operation has failed because required Teacher instance was not found.</i>
2347 * @param pTeacherNotFoundError the new value of the message. Use null to clear the old messages out */
2348 public void setTeacherNotFoundError( com.almamater.crs.services.coursesdomainsupport.MOTeacherInstanceNotFoundError pTeacherNotFoundError)
2349 {
2350 mTeacherNotFoundError = pTeacherNotFoundError;
2351 }
2352
2353 /** Getter for the InvalidOperationInputError message.
2354 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
2355 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
2356 * @return the InvalidOperationInputError field or null */
2357 public com.almamater.types.core.MOInvalidOperationInputError getInvalidOperationInputError()
2358 {
2359 return mInvalidOperationInputError;
2360 }
2361
2362 /** Setter for the InvalidOperationInputError field.
2363 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
2364 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
2365 * @param pInvalidOperationInputError the new value of the message. Use null to clear the old messages out */
2366 public void setInvalidOperationInputError( com.almamater.types.core.MOInvalidOperationInputError pInvalidOperationInputError)
2367 {
2368 mInvalidOperationInputError = pInvalidOperationInputError;
2369 }
2370 /** Overridden to return list of contained mesages. */
2371 protected java.util.List getContainedMessages()
2372 {
2373 java.util.List lReturnList = super.getContainedMessages();
2374 if (mCourseNotFoundError != null)
2375 lReturnList.add(mCourseNotFoundError);
2376 if (mTeacherNotFoundError != null)
2377 lReturnList.add(mTeacherNotFoundError);
2378 if (mInvalidOperationInputError != null)
2379 lReturnList.add(mInvalidOperationInputError);
2380 return lReturnList;
2381 }
2382 }
2383
2384 /** Operation description is: <i>Adds one or more Lecturers to the specified Course instance.</i>
2385 *<p>This method represents the Enterprise/systems[CRS]/servicemodules[CoursesDomainSupport]/services[DataManagement]/operations[addLecturersToCourse] operation.</p>
2386 */
2387 public STAddLecturersToCourseResult addLecturersToCourse( STAddLecturersToCourseInput pInput) throws BSException;
2388
2389 /** This structure carries the input arguments to the removeLecturersFromCourse operation.
2390 *<P><I><U>Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
2391 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
2392 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
2393 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
2394 public final class STRemoveLecturersFromCourseInput extends STBusinessServiceOperationInput implements Serializable
2395 {
2396 private com.almamater.crs.services.coursesdomainsupport.STCourseKey mCourseKey = null;
2397 private com.almamater.crs.services.coursesdomainsupport.STTeacherKey[] mLecturerKeys = null;
2398 /** @return true if this structure is empty */
2399 public boolean isEmpty()
2400 {
2401 return mCourseKey == null && mLecturerKeys == null;
2402 }
2403
2404 /** Getter for the CourseKey field.
2405 * Field description is: <i>The unique key identifying the Course to be edited.</i>
2406 * @return the value of the CourseKey field */
2407 public com.almamater.crs.services.coursesdomainsupport.STCourseKey getCourseKey()
2408 {
2409 return mCourseKey;
2410 }
2411
2412 /** Setter for the CourseKey field.
2413 * Field description is: <i>The unique key identifying the Course to be edited.</i>
2414 * @param pCourseKey the new value of the field */
2415 public void setCourseKey( com.almamater.crs.services.coursesdomainsupport.STCourseKey pCourseKey)
2416 {
2417 mCourseKey = pCourseKey;
2418 }
2419
2420 /** Getter for the LecturerKeys field.
2421 * Field description is: <i>The array of unique keys identifying Lecturers to be removed.</i>
2422 * @return the value of the LecturerKeys field */
2423 public com.almamater.crs.services.coursesdomainsupport.STTeacherKey[] getLecturerKeys()
2424 {
2425 return mLecturerKeys;
2426 }
2427
2428 /** Setter for the LecturerKeys field.
2429 * Field description is: <i>The array of unique keys identifying Lecturers to be removed.</i>
2430 * @param pLecturerKeys the new value of the field */
2431 public void setLecturerKeys( com.almamater.crs.services.coursesdomainsupport.STTeacherKey[] pLecturerKeys)
2432 {
2433 mLecturerKeys = pLecturerKeys;
2434 }
2435 }
2436
2437 /** This structure carries the result of the removeLecturersFromCourse operation.
2438 *<P><I><U> Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
2439 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
2440 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
2441 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
2442 public final class STRemoveLecturersFromCourseResult extends STBusinessServiceOperationResult implements Serializable
2443 {
2444 private com.almamater.crs.services.coursesdomainsupport.MOCourseInstanceNotFoundError mCourseNotFoundError = null;
2445 private com.almamater.crs.services.coursesdomainsupport.MOTeacherInstanceNotFoundError mTeacherNotFoundError = null;
2446 private com.almamater.types.core.MOInvalidOperationInputError mInvalidOperationInputError = null;
2447 /** @return true if this structure is empty */
2448 public boolean isEmpty()
2449 {
2450 return mCourseNotFoundError == null && mTeacherNotFoundError == null && mInvalidOperationInputError == null;
2451 }
2452
2453 /** Getter for the CourseNotFoundError message.
2454 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
2455 * Message description is: <i>This error indicates that operation has failed because required Course instance was not found.</i>
2456 * @return the CourseNotFoundError field or null */
2457 public com.almamater.crs.services.coursesdomainsupport.MOCourseInstanceNotFoundError getCourseNotFoundError()
2458 {
2459 return mCourseNotFoundError;
2460 }
2461
2462 /** Setter for the CourseNotFoundError field.
2463 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
2464 * Message description is: <i>This error indicates that operation has failed because required Course instance was not found.</i>
2465 * @param pCourseNotFoundError the new value of the message. Use null to clear the old messages out */
2466 public void setCourseNotFoundError( com.almamater.crs.services.coursesdomainsupport.MOCourseInstanceNotFoundError pCourseNotFoundError)
2467 {
2468 mCourseNotFoundError = pCourseNotFoundError;
2469 }
2470
2471 /** Getter for the TeacherNotFoundError message.
2472 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
2473 * Message description is: <i>This error indicates that operation has failed because required Teacher instance was not found.</i>
2474 * @return the TeacherNotFoundError field or null */
2475 public com.almamater.crs.services.coursesdomainsupport.MOTeacherInstanceNotFoundError getTeacherNotFoundError()
2476 {
2477 return mTeacherNotFoundError;
2478 }
2479
2480 /** Setter for the TeacherNotFoundError field.
2481 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
2482 * Message description is: <i>This error indicates that operation has failed because required Teacher instance was not found.</i>
2483 * @param pTeacherNotFoundError the new value of the message. Use null to clear the old messages out */
2484 public void setTeacherNotFoundError( com.almamater.crs.services.coursesdomainsupport.MOTeacherInstanceNotFoundError pTeacherNotFoundError)
2485 {
2486 mTeacherNotFoundError = pTeacherNotFoundError;
2487 }
2488
2489 /** Getter for the InvalidOperationInputError message.
2490 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
2491 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
2492 * @return the InvalidOperationInputError field or null */
2493 public com.almamater.types.core.MOInvalidOperationInputError getInvalidOperationInputError()
2494 {
2495 return mInvalidOperationInputError;
2496 }
2497
2498 /** Setter for the InvalidOperationInputError field.
2499 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
2500 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
2501 * @param pInvalidOperationInputError the new value of the message. Use null to clear the old messages out */
2502 public void setInvalidOperationInputError( com.almamater.types.core.MOInvalidOperationInputError pInvalidOperationInputError)
2503 {
2504 mInvalidOperationInputError = pInvalidOperationInputError;
2505 }
2506 /** Overridden to return list of contained mesages. */
2507 protected java.util.List getContainedMessages()
2508 {
2509 java.util.List lReturnList = super.getContainedMessages();
2510 if (mCourseNotFoundError != null)
2511 lReturnList.add(mCourseNotFoundError);
2512 if (mTeacherNotFoundError != null)
2513 lReturnList.add(mTeacherNotFoundError);
2514 if (mInvalidOperationInputError != null)
2515 lReturnList.add(mInvalidOperationInputError);
2516 return lReturnList;
2517 }
2518 }
2519
2520 /** Operation description is: <i>Removes one or more Lecturers from the specified Course instance.</i>
2521 *<p>This method represents the Enterprise/systems[CRS]/servicemodules[CoursesDomainSupport]/services[DataManagement]/operations[removeLecturersFromCourse] operation.</p>
2522 */
2523 public STRemoveLecturersFromCourseResult removeLecturersFromCourse( STRemoveLecturersFromCourseInput pInput) throws BSException;
2524
2525 /** This structure carries the input arguments to the getAllLecturersForCourse operation.
2526 *<P><I><U>Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
2527 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
2528 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
2529 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
2530 public final class STGetAllLecturersForCourseInput extends STBusinessServiceOperationInput implements Serializable
2531 {
2532 private com.almamater.crs.services.coursesdomainsupport.STCourseKey mCourseKey = null;
2533 /** @return true if this structure is empty */
2534 public boolean isEmpty()
2535 {
2536 return mCourseKey == null;
2537 }
2538
2539 /** Getter for the CourseKey field.
2540 * Field description is: <i>The unique key identifying the Course to be queried.</i>
2541 * @return the value of the CourseKey field */
2542 public com.almamater.crs.services.coursesdomainsupport.STCourseKey getCourseKey()
2543 {
2544 return mCourseKey;
2545 }
2546
2547 /** Setter for the CourseKey field.
2548 * Field description is: <i>The unique key identifying the Course to be queried.</i>
2549 * @param pCourseKey the new value of the field */
2550 public void setCourseKey( com.almamater.crs.services.coursesdomainsupport.STCourseKey pCourseKey)
2551 {
2552 mCourseKey = pCourseKey;
2553 }
2554 }
2555
2556 /** This structure carries the result of the getAllLecturersForCourse operation.
2557 *<P><I><U> Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
2558 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
2559 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
2560 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
2561 public final class STGetAllLecturersForCourseResult extends STBusinessServiceOperationResult implements Serializable
2562 {
2563 private com.almamater.crs.services.coursesdomainsupport.STTeacherDetails[] mLecturers = null;
2564 private com.almamater.crs.services.coursesdomainsupport.MOCourseInstanceNotFoundError mCourseNotFoundError = null;
2565 private com.almamater.types.core.MOInvalidOperationInputError mInvalidOperationInputError = null;
2566 /** @return true if this structure is empty */
2567 public boolean isEmpty()
2568 {
2569 return mLecturers == null && mCourseNotFoundError == null && mInvalidOperationInputError == null;
2570 }
2571
2572 /** Getter for the Lecturers field.
2573 * Field description is: <i>Details of all Lecturers associated with the given Course</i>
2574 * @return the value of the Lecturers field */
2575 public com.almamater.crs.services.coursesdomainsupport.STTeacherDetails[] getLecturers()
2576 {
2577 return mLecturers;
2578 }
2579
2580 /** Setter for the Lecturers field.
2581 * Field description is: <i>Details of all Lecturers associated with the given Course</i>
2582 * @param pLecturers the new value of the field */
2583 public void setLecturers( com.almamater.crs.services.coursesdomainsupport.STTeacherDetails[] pLecturers)
2584 {
2585 mLecturers = pLecturers;
2586 }
2587
2588 /** Getter for the CourseNotFoundError message.
2589 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
2590 * Message description is: <i>This error indicates that operation has failed because required Course instance was not found.</i>
2591 * @return the CourseNotFoundError field or null */
2592 public com.almamater.crs.services.coursesdomainsupport.MOCourseInstanceNotFoundError getCourseNotFoundError()
2593 {
2594 return mCourseNotFoundError;
2595 }
2596
2597 /** Setter for the CourseNotFoundError field.
2598 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
2599 * Message description is: <i>This error indicates that operation has failed because required Course instance was not found.</i>
2600 * @param pCourseNotFoundError the new value of the message. Use null to clear the old messages out */
2601 public void setCourseNotFoundError( com.almamater.crs.services.coursesdomainsupport.MOCourseInstanceNotFoundError pCourseNotFoundError)
2602 {
2603 mCourseNotFoundError = pCourseNotFoundError;
2604 }
2605
2606 /** Getter for the InvalidOperationInputError message.
2607 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
2608 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
2609 * @return the InvalidOperationInputError field or null */
2610 public com.almamater.types.core.MOInvalidOperationInputError getInvalidOperationInputError()
2611 {
2612 return mInvalidOperationInputError;
2613 }
2614
2615 /** Setter for the InvalidOperationInputError field.
2616 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
2617 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
2618 * @param pInvalidOperationInputError the new value of the message. Use null to clear the old messages out */
2619 public void setInvalidOperationInputError( com.almamater.types.core.MOInvalidOperationInputError pInvalidOperationInputError)
2620 {
2621 mInvalidOperationInputError = pInvalidOperationInputError;
2622 }
2623 /** Overridden to return list of contained mesages. */
2624 protected java.util.List getContainedMessages()
2625 {
2626 java.util.List lReturnList = super.getContainedMessages();
2627 if (mCourseNotFoundError != null)
2628 lReturnList.add(mCourseNotFoundError);
2629 if (mInvalidOperationInputError != null)
2630 lReturnList.add(mInvalidOperationInputError);
2631 return lReturnList;
2632 }
2633 }
2634
2635 /** Operation description is: <i>Returns all Lecturers associated with the specified Course instance.</i>
2636 *<p>This method represents the Enterprise/systems[CRS]/servicemodules[CoursesDomainSupport]/services[DataManagement]/operations[getAllLecturersForCourse] operation.</p>
2637 */
2638 public STGetAllLecturersForCourseResult getAllLecturersForCourse( STGetAllLecturersForCourseInput pInput) throws BSException;
2639
2640 /** This structure carries the input arguments to the addCoursesToStudent operation.
2641 *<P><I><U>Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
2642 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
2643 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
2644 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
2645 public final class STAddCoursesToStudentInput extends STBusinessServiceOperationInput implements Serializable
2646 {
2647 private com.almamater.crs.services.coursesdomainsupport.STStudentKey mStudentKey = null;
2648 private com.almamater.crs.services.coursesdomainsupport.STCourseKey[] mCourseKeys = null;
2649 /** @return true if this structure is empty */
2650 public boolean isEmpty()
2651 {
2652 return mStudentKey == null && mCourseKeys == null;
2653 }
2654
2655 /** Getter for the StudentKey field.
2656 * Field description is: <i>The unique key identifying the Student to be edited.</i>
2657 * @return the value of the StudentKey field */
2658 public com.almamater.crs.services.coursesdomainsupport.STStudentKey getStudentKey()
2659 {
2660 return mStudentKey;
2661 }
2662
2663 /** Setter for the StudentKey field.
2664 * Field description is: <i>The unique key identifying the Student to be edited.</i>
2665 * @param pStudentKey the new value of the field */
2666 public void setStudentKey( com.almamater.crs.services.coursesdomainsupport.STStudentKey pStudentKey)
2667 {
2668 mStudentKey = pStudentKey;
2669 }
2670
2671 /** Getter for the CourseKeys field.
2672 * Field description is: <i>The array of unique keys identifying Courses to be added.</i>
2673 * @return the value of the CourseKeys field */
2674 public com.almamater.crs.services.coursesdomainsupport.STCourseKey[] getCourseKeys()
2675 {
2676 return mCourseKeys;
2677 }
2678
2679 /** Setter for the CourseKeys field.
2680 * Field description is: <i>The array of unique keys identifying Courses to be added.</i>
2681 * @param pCourseKeys the new value of the field */
2682 public void setCourseKeys( com.almamater.crs.services.coursesdomainsupport.STCourseKey[] pCourseKeys)
2683 {
2684 mCourseKeys = pCourseKeys;
2685 }
2686 }
2687
2688 /** This structure carries the result of the addCoursesToStudent operation.
2689 *<P><I><U> Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
2690 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
2691 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
2692 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
2693 public final class STAddCoursesToStudentResult extends STBusinessServiceOperationResult implements Serializable
2694 {
2695 private com.almamater.crs.services.coursesdomainsupport.MOCourseInstanceNotFoundError mCourseNotFoundError = null;
2696 private com.almamater.crs.services.coursesdomainsupport.MOStudentInstanceNotFoundError mStudentNotFoundError = null;
2697 private com.almamater.types.core.MOInvalidOperationInputError mInvalidOperationInputError = null;
2698 /** @return true if this structure is empty */
2699 public boolean isEmpty()
2700 {
2701 return mCourseNotFoundError == null && mStudentNotFoundError == null && mInvalidOperationInputError == null;
2702 }
2703
2704 /** Getter for the CourseNotFoundError message.
2705 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
2706 * Message description is: <i>This error indicates that operation has failed because required Course instance was not found.</i>
2707 * @return the CourseNotFoundError field or null */
2708 public com.almamater.crs.services.coursesdomainsupport.MOCourseInstanceNotFoundError getCourseNotFoundError()
2709 {
2710 return mCourseNotFoundError;
2711 }
2712
2713 /** Setter for the CourseNotFoundError field.
2714 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
2715 * Message description is: <i>This error indicates that operation has failed because required Course instance was not found.</i>
2716 * @param pCourseNotFoundError the new value of the message. Use null to clear the old messages out */
2717 public void setCourseNotFoundError( com.almamater.crs.services.coursesdomainsupport.MOCourseInstanceNotFoundError pCourseNotFoundError)
2718 {
2719 mCourseNotFoundError = pCourseNotFoundError;
2720 }
2721
2722 /** Getter for the StudentNotFoundError message.
2723 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
2724 * Message description is: <i>This error indicates that operation has failed because required Student instance was not found.</i>
2725 * @return the StudentNotFoundError field or null */
2726 public com.almamater.crs.services.coursesdomainsupport.MOStudentInstanceNotFoundError getStudentNotFoundError()
2727 {
2728 return mStudentNotFoundError;
2729 }
2730
2731 /** Setter for the StudentNotFoundError field.
2732 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
2733 * Message description is: <i>This error indicates that operation has failed because required Student instance was not found.</i>
2734 * @param pStudentNotFoundError the new value of the message. Use null to clear the old messages out */
2735 public void setStudentNotFoundError( com.almamater.crs.services.coursesdomainsupport.MOStudentInstanceNotFoundError pStudentNotFoundError)
2736 {
2737 mStudentNotFoundError = pStudentNotFoundError;
2738 }
2739
2740 /** Getter for the InvalidOperationInputError message.
2741 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
2742 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
2743 * @return the InvalidOperationInputError field or null */
2744 public com.almamater.types.core.MOInvalidOperationInputError getInvalidOperationInputError()
2745 {
2746 return mInvalidOperationInputError;
2747 }
2748
2749 /** Setter for the InvalidOperationInputError field.
2750 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
2751 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
2752 * @param pInvalidOperationInputError the new value of the message. Use null to clear the old messages out */
2753 public void setInvalidOperationInputError( com.almamater.types.core.MOInvalidOperationInputError pInvalidOperationInputError)
2754 {
2755 mInvalidOperationInputError = pInvalidOperationInputError;
2756 }
2757 /** Overridden to return list of contained mesages. */
2758 protected java.util.List getContainedMessages()
2759 {
2760 java.util.List lReturnList = super.getContainedMessages();
2761 if (mCourseNotFoundError != null)
2762 lReturnList.add(mCourseNotFoundError);
2763 if (mStudentNotFoundError != null)
2764 lReturnList.add(mStudentNotFoundError);
2765 if (mInvalidOperationInputError != null)
2766 lReturnList.add(mInvalidOperationInputError);
2767 return lReturnList;
2768 }
2769 }
2770
2771 /** Operation description is: <i>Adds one or more Courses to the specified Student instance.</i>
2772 *<p>This method represents the Enterprise/systems[CRS]/servicemodules[CoursesDomainSupport]/services[DataManagement]/operations[addCoursesToStudent] operation.</p>
2773 */
2774 public STAddCoursesToStudentResult addCoursesToStudent( STAddCoursesToStudentInput pInput) throws BSException;
2775
2776 /** This structure carries the input arguments to the removeCoursesFromStudent operation.
2777 *<P><I><U>Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
2778 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
2779 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
2780 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
2781 public final class STRemoveCoursesFromStudentInput extends STBusinessServiceOperationInput implements Serializable
2782 {
2783 private com.almamater.crs.services.coursesdomainsupport.STStudentKey mStudentKey = null;
2784 private com.almamater.crs.services.coursesdomainsupport.STCourseKey[] mCourseKeys = null;
2785 /** @return true if this structure is empty */
2786 public boolean isEmpty()
2787 {
2788 return mStudentKey == null && mCourseKeys == null;
2789 }
2790
2791 /** Getter for the StudentKey field.
2792 * Field description is: <i>The unique key identifying the Student to be edited.</i>
2793 * @return the value of the StudentKey field */
2794 public com.almamater.crs.services.coursesdomainsupport.STStudentKey getStudentKey()
2795 {
2796 return mStudentKey;
2797 }
2798
2799 /** Setter for the StudentKey field.
2800 * Field description is: <i>The unique key identifying the Student to be edited.</i>
2801 * @param pStudentKey the new value of the field */
2802 public void setStudentKey( com.almamater.crs.services.coursesdomainsupport.STStudentKey pStudentKey)
2803 {
2804 mStudentKey = pStudentKey;
2805 }
2806
2807 /** Getter for the CourseKeys field.
2808 * Field description is: <i>The array of unique keys identifying Courses to be removed.</i>
2809 * @return the value of the CourseKeys field */
2810 public com.almamater.crs.services.coursesdomainsupport.STCourseKey[] getCourseKeys()
2811 {
2812 return mCourseKeys;
2813 }
2814
2815 /** Setter for the CourseKeys field.
2816 * Field description is: <i>The array of unique keys identifying Courses to be removed.</i>
2817 * @param pCourseKeys the new value of the field */
2818 public void setCourseKeys( com.almamater.crs.services.coursesdomainsupport.STCourseKey[] pCourseKeys)
2819 {
2820 mCourseKeys = pCourseKeys;
2821 }
2822 }
2823
2824 /** This structure carries the result of the removeCoursesFromStudent operation.
2825 *<P><I><U> Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
2826 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
2827 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
2828 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
2829 public final class STRemoveCoursesFromStudentResult extends STBusinessServiceOperationResult implements Serializable
2830 {
2831 private com.almamater.crs.services.coursesdomainsupport.MOCourseInstanceNotFoundError mCourseNotFoundError = null;
2832 private com.almamater.crs.services.coursesdomainsupport.MOStudentInstanceNotFoundError mStudentNotFoundError = null;
2833 private com.almamater.types.core.MOInvalidOperationInputError mInvalidOperationInputError = null;
2834 /** @return true if this structure is empty */
2835 public boolean isEmpty()
2836 {
2837 return mCourseNotFoundError == null && mStudentNotFoundError == null && mInvalidOperationInputError == null;
2838 }
2839
2840 /** Getter for the CourseNotFoundError message.
2841 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
2842 * Message description is: <i>This error indicates that operation has failed because required Course instance was not found.</i>
2843 * @return the CourseNotFoundError field or null */
2844 public com.almamater.crs.services.coursesdomainsupport.MOCourseInstanceNotFoundError getCourseNotFoundError()
2845 {
2846 return mCourseNotFoundError;
2847 }
2848
2849 /** Setter for the CourseNotFoundError field.
2850 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
2851 * Message description is: <i>This error indicates that operation has failed because required Course instance was not found.</i>
2852 * @param pCourseNotFoundError the new value of the message. Use null to clear the old messages out */
2853 public void setCourseNotFoundError( com.almamater.crs.services.coursesdomainsupport.MOCourseInstanceNotFoundError pCourseNotFoundError)
2854 {
2855 mCourseNotFoundError = pCourseNotFoundError;
2856 }
2857
2858 /** Getter for the StudentNotFoundError message.
2859 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
2860 * Message description is: <i>This error indicates that operation has failed because required Student instance was not found.</i>
2861 * @return the StudentNotFoundError field or null */
2862 public com.almamater.crs.services.coursesdomainsupport.MOStudentInstanceNotFoundError getStudentNotFoundError()
2863 {
2864 return mStudentNotFoundError;
2865 }
2866
2867 /** Setter for the StudentNotFoundError field.
2868 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
2869 * Message description is: <i>This error indicates that operation has failed because required Student instance was not found.</i>
2870 * @param pStudentNotFoundError the new value of the message. Use null to clear the old messages out */
2871 public void setStudentNotFoundError( com.almamater.crs.services.coursesdomainsupport.MOStudentInstanceNotFoundError pStudentNotFoundError)
2872 {
2873 mStudentNotFoundError = pStudentNotFoundError;
2874 }
2875
2876 /** Getter for the InvalidOperationInputError message.
2877 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
2878 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
2879 * @return the InvalidOperationInputError field or null */
2880 public com.almamater.types.core.MOInvalidOperationInputError getInvalidOperationInputError()
2881 {
2882 return mInvalidOperationInputError;
2883 }
2884
2885 /** Setter for the InvalidOperationInputError field.
2886 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
2887 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
2888 * @param pInvalidOperationInputError the new value of the message. Use null to clear the old messages out */
2889 public void setInvalidOperationInputError( com.almamater.types.core.MOInvalidOperationInputError pInvalidOperationInputError)
2890 {
2891 mInvalidOperationInputError = pInvalidOperationInputError;
2892 }
2893 /** Overridden to return list of contained mesages. */
2894 protected java.util.List getContainedMessages()
2895 {
2896 java.util.List lReturnList = super.getContainedMessages();
2897 if (mCourseNotFoundError != null)
2898 lReturnList.add(mCourseNotFoundError);
2899 if (mStudentNotFoundError != null)
2900 lReturnList.add(mStudentNotFoundError);
2901 if (mInvalidOperationInputError != null)
2902 lReturnList.add(mInvalidOperationInputError);
2903 return lReturnList;
2904 }
2905 }
2906
2907 /** Operation description is: <i>Removes one or more Courses from the specified Student instance.</i>
2908 *<p>This method represents the Enterprise/systems[CRS]/servicemodules[CoursesDomainSupport]/services[DataManagement]/operations[removeCoursesFromStudent] operation.</p>
2909 */
2910 public STRemoveCoursesFromStudentResult removeCoursesFromStudent( STRemoveCoursesFromStudentInput pInput) throws BSException;
2911
2912 /** This structure carries the input arguments to the getAllCoursesForStudent operation.
2913 *<P><I><U>Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
2914 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
2915 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
2916 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
2917 public final class STGetAllCoursesForStudentInput extends STBusinessServiceOperationInput implements Serializable
2918 {
2919 private com.almamater.crs.services.coursesdomainsupport.STStudentKey mStudentKey = null;
2920 /** @return true if this structure is empty */
2921 public boolean isEmpty()
2922 {
2923 return mStudentKey == null;
2924 }
2925
2926 /** Getter for the StudentKey field.
2927 * Field description is: <i>The unique key identifying the Student to be queried.</i>
2928 * @return the value of the StudentKey field */
2929 public com.almamater.crs.services.coursesdomainsupport.STStudentKey getStudentKey()
2930 {
2931 return mStudentKey;
2932 }
2933
2934 /** Setter for the StudentKey field.
2935 * Field description is: <i>The unique key identifying the Student to be queried.</i>
2936 * @param pStudentKey the new value of the field */
2937 public void setStudentKey( com.almamater.crs.services.coursesdomainsupport.STStudentKey pStudentKey)
2938 {
2939 mStudentKey = pStudentKey;
2940 }
2941 }
2942
2943 /** This structure carries the result of the getAllCoursesForStudent operation.
2944 *<P><I><U> Field values note.</U> If field is null - it is interpreted as "not specified by client" or "not retrieved from the storage"
2945 * Compare this to the empty instance or zero length array - they are interpreted as specified or retrieved empty data value
2946 * For example if null field is submitted for update operation - it will be ignored and value in storage will not be changed
2947 * On the other hand if empty instance or zero-length array is submitted for update operation - the values in storage will be updated accordingly</I> */
2948 public final class STGetAllCoursesForStudentResult extends STBusinessServiceOperationResult implements Serializable
2949 {
2950 private com.almamater.crs.services.coursesdomainsupport.STCourseDetails[] mCourses = null;
2951 private com.almamater.crs.services.coursesdomainsupport.MOStudentInstanceNotFoundError mStudentNotFoundError = null;
2952 private com.almamater.types.core.MOInvalidOperationInputError mInvalidOperationInputError = null;
2953 /** @return true if this structure is empty */
2954 public boolean isEmpty()
2955 {
2956 return mCourses == null && mStudentNotFoundError == null && mInvalidOperationInputError == null;
2957 }
2958
2959 /** Getter for the Courses field.
2960 * Field description is: <i>Details of all Courses associated with the given Student</i>
2961 * @return the value of the Courses field */
2962 public com.almamater.crs.services.coursesdomainsupport.STCourseDetails[] getCourses()
2963 {
2964 return mCourses;
2965 }
2966
2967 /** Setter for the Courses field.
2968 * Field description is: <i>Details of all Courses associated with the given Student</i>
2969 * @param pCourses the new value of the field */
2970 public void setCourses( com.almamater.crs.services.coursesdomainsupport.STCourseDetails[] pCourses)
2971 {
2972 mCourses = pCourses;
2973 }
2974
2975 /** Getter for the StudentNotFoundError message.
2976 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
2977 * Message description is: <i>This error indicates that operation has failed because required Student instance was not found.</i>
2978 * @return the StudentNotFoundError field or null */
2979 public com.almamater.crs.services.coursesdomainsupport.MOStudentInstanceNotFoundError getStudentNotFoundError()
2980 {
2981 return mStudentNotFoundError;
2982 }
2983
2984 /** Setter for the StudentNotFoundError field.
2985 * Message field description is: <i>Error message in case of failure or null if this error has not occurred.</i>
2986 * Message description is: <i>This error indicates that operation has failed because required Student instance was not found.</i>
2987 * @param pStudentNotFoundError the new value of the message. Use null to clear the old messages out */
2988 public void setStudentNotFoundError( com.almamater.crs.services.coursesdomainsupport.MOStudentInstanceNotFoundError pStudentNotFoundError)
2989 {
2990 mStudentNotFoundError = pStudentNotFoundError;
2991 }
2992
2993 /** Getter for the InvalidOperationInputError message.
2994 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
2995 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
2996 * @return the InvalidOperationInputError field or null */
2997 public com.almamater.types.core.MOInvalidOperationInputError getInvalidOperationInputError()
2998 {
2999 return mInvalidOperationInputError;
3000 }
3001
3002 /** Setter for the InvalidOperationInputError field.
3003 * Message field description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
3004 * Message description is: <i>This error message indicates that operation has failed because it was invoked with invalid combination of input fields. In other words it indicates that the input data validation constraint has been violated.</i>
3005 * @param pInvalidOperationInputError the new value of the message. Use null to clear the old messages out */
3006 public void setInvalidOperationInputError( com.almamater.types.core.MOInvalidOperationInputError pInvalidOperationInputError)
3007 {
3008 mInvalidOperationInputError = pInvalidOperationInputError;
3009 }
3010 /** Overridden to return list of contained mesages. */
3011 protected java.util.List getContainedMessages()
3012 {
3013 java.util.List lReturnList = super.getContainedMessages();
3014 if (mStudentNotFoundError != null)
3015 lReturnList.add(mStudentNotFoundError);
3016 if (mInvalidOperationInputError != null)
3017 lReturnList.add(mInvalidOperationInputError);
3018 return lReturnList;
3019 }
3020 }
3021
3022 /** Operation description is: <i>Returns all Courses associated with the specified Student instance.</i>
3023 *<p>This method represents the Enterprise/systems[CRS]/servicemodules[CoursesDomainSupport]/services[DataManagement]/operations[getAllCoursesForStudent] operation.</p>
3024 */
3025 public STGetAllCoursesForStudentResult getAllCoursesForStudent( STGetAllCoursesForStudentInput pInput) throws BSException;
3026 }
|