/projects/jtopen-7.8/src/com/ibm/as400/resource/RUser.java
Java | 1219 lines | 371 code | 208 blank | 640 comment | 6 complexity | b8a8aed30e9f682fff52143b3f8d66f5 MD5 | raw file
- ///////////////////////////////////////////////////////////////////////////////
- //
- // JTOpen (IBM Toolbox for Java - OSS version)
- //
- // Filename: RUser.java
- //
- // The source code contained herein is licensed under the IBM Public License
- // Version 1.0, which has been approved by the Open Source Initiative.
- // Copyright (C) 1997-2004 International Business Machines Corporation and
- // others. All rights reserved.
- //
- ///////////////////////////////////////////////////////////////////////////////
-
- package com.ibm.as400.resource;
-
- import com.ibm.as400.access.AS400;
- import com.ibm.as400.access.CommandCall;
- import com.ibm.as400.access.ExtendedIllegalArgumentException; //@B1A
- import com.ibm.as400.access.ExtendedIllegalStateException;
- import com.ibm.as400.access.Trace;
- import com.ibm.as400.data.PcmlException;
- import com.ibm.as400.data.ProgramCallDocument;
- import java.beans.PropertyVetoException;
- import java.io.IOException; // @A3A
- import java.net.InetAddress; // @A3A
- import java.util.Date;
-
-
-
- /**
- The RUser class represents a user profile and directory entry on the system.
-
- <a name="attributeIDs"><p>The following attribute IDs are supported:
- <ul>
- <li>{@link #ACCOUNTING_CODE ACCOUNTING_CODE}
- <li>{@link #ALLOW_SYNCHRONIZATION ALLOW_SYNCHRONIZATION}
- <li>{@link #ASSISTANCE_LEVEL ASSISTANCE_LEVEL}
- <li>{@link #ATTENTION_KEY_HANDLING_PROGRAM ATTENTION_KEY_HANDLING_PROGRAM}
- <li>{@link #BUILDING BUILDING}
- <li>{@link #CC_MAIL_ADDRESS CC_MAIL_ADDRESS}
- <li>{@link #CC_MAIL_COMMENT CC_MAIL_COMMENT}
- <li>{@link #CHARACTER_CODE_SET_ID CHARACTER_CODE_SET_ID}
- <li>{@link #CHARACTER_IDENTIFIER_CONTROL CHARACTER_IDENTIFIER_CONTROL}
- <li>{@link #COMPANY COMPANY}
- <li>{@link #COUNTRY_ID COUNTRY_ID}
- <li>{@link #CURRENT_LIBRARY_NAME CURRENT_LIBRARY_NAME}
- <li>{@link #DATE_PASSWORD_EXPIRES DATE_PASSWORD_EXPIRES}
- <li>{@link #DAYS_UNTIL_PASSWORD_EXPIRES DAYS_UNTIL_PASSWORD_EXPIRES}
- <li>{@link #DEPARTMENT DEPARTMENT}
- <li>{@link #DIGITAL_CERTIFICATE_INDICATOR DIGITAL_CERTIFICATE_INDICATOR}
- <li>{@link #DISPLAY_SIGN_ON_INFORMATION DISPLAY_SIGN_ON_INFORMATION}
- <li>{@link #FAX_TELEPHONE_NUMBER FAX_TELEPHONE_NUMBER}
- <li>{@link #FIRST_NAME FIRST_NAME}
- <li>{@link #FULL_NAME FULL_NAME}
- <li>{@link #GROUP_AUTHORITY GROUP_AUTHORITY}
- <li>{@link #GROUP_AUTHORITY_TYPE GROUP_AUTHORITY_TYPE}
- <li>{@link #GROUP_ID_NUMBER GROUP_ID_NUMBER}
- <li>{@link #GROUP_MEMBER_INDICATOR GROUP_MEMBER_INDICATOR}
- <li>{@link #GROUP_PROFILE_NAME GROUP_PROFILE_NAME}
- <li>{@link #HIGHEST_SCHEDULING_PRIORITY HIGHEST_SCHEDULING_PRIORITY}
- <li>{@link #HOME_DIRECTORY HOME_DIRECTORY}
- <li>{@link #INDIRECT_USER INDIRECT_USER}
- <li>{@link #INITIAL_MENU INITIAL_MENU}
- <li>{@link #INITIAL_PROGRAM INITIAL_PROGRAM}
- <li>{@link #JOB_DESCRIPTION JOB_DESCRIPTION}
- <li>{@link #JOB_TITLE JOB_TITLE}
- <li>{@link #KEYBOARD_BUFFERING KEYBOARD_BUFFERING}
- <li>{@link #LANGUAGE_ID LANGUAGE_ID}
- <li>{@link #LAST_NAME LAST_NAME}
- <li>{@link #LIMIT_CAPABILITIES LIMIT_CAPABILITIES}
- <li>{@link #LIMIT_DEVICE_SESSIONS LIMIT_DEVICE_SESSIONS}
- <li>{@link #LOCALE_JOB_ATTRIBUTES LOCALE_JOB_ATTRIBUTES}
- <li>{@link #LOCALE_PATH_NAME LOCALE_PATH_NAME}
- <li>{@link #LOCAL_DATA_INDICATOR LOCAL_DATA_INDICATOR}
- <li>{@link #LOCATION LOCATION}
- <li>{@link #MAILING_ADDRESS_LINE_1 MAILING_ADDRESS_LINE_1}
- <li>{@link #MAILING_ADDRESS_LINE_2 MAILING_ADDRESS_LINE_2}
- <li>{@link #MAILING_ADDRESS_LINE_3 MAILING_ADDRESS_LINE_3}
- <li>{@link #MAILING_ADDRESS_LINE_4 MAILING_ADDRESS_LINE_4}
- <li>{@link #MAIL_NOTIFICATION MAIL_NOTIFICATION}
- <li>{@link #MANAGER_CODE MANAGER_CODE}
- <li>{@link #MAXIMUM_ALLOWED_STORAGE MAXIMUM_ALLOWED_STORAGE}
- <li>{@link #MESSAGE_NOTIFICATION MESSAGE_NOTIFICATION}
- <li>{@link #MESSAGE_QUEUE_DELIVERY_METHOD MESSAGE_QUEUE_DELIVERY_METHOD}
- <li>{@link #MESSAGE_QUEUE MESSAGE_QUEUE}
- <li>{@link #MESSAGE_QUEUE_SEVERITY MESSAGE_QUEUE_SEVERITY}
- <li>{@link #MIDDLE_NAME MIDDLE_NAME}
- <li>{@link #NETWORK_USER_ID NETWORK_USER_ID}
- <li>{@link #NO_PASSWORD_INDICATOR NO_PASSWORD_INDICATOR}
- <li>{@link #OBJECT_AUDITING_VALUE OBJECT_AUDITING_VALUE}
- <li>{@link #OFFICE OFFICE}
- <li>{@link #OR_NAME OR_NAME}
- <li>{@link #OUTPUT_QUEUE OUTPUT_QUEUE}
- <li>{@link #OWNER OWNER}
- <li>{@link #PASSWORD_CHANGE_DATE PASSWORD_CHANGE_DATE}
- <li>{@link #PASSWORD_EXPIRATION_INTERVAL PASSWORD_EXPIRATION_INTERVAL}
- <li>{@link #PREFERRED_NAME PREFERRED_NAME}
- <li>{@link #PREVIOUS_SIGN_ON PREVIOUS_SIGN_ON}
- <li>{@link #PRINT_COVER_PAGE PRINT_COVER_PAGE}
- <li>{@link #PRINT_DEVICE PRINT_DEVICE}
- <li>{@link #PRIORITY_MAIL_NOTIFICATION PRIORITY_MAIL_NOTIFICATION}
- <li>{@link #SET_PASSWORD_TO_EXPIRE SET_PASSWORD_TO_EXPIRE}
- <li>{@link #SIGN_ON_ATTEMPTS_NOT_VALID SIGN_ON_ATTEMPTS_NOT_VALID}
- <li>{@link #SMTP_DOMAIN SMTP_DOMAIN}
- <li>{@link #SMTP_ROUTE SMTP_ROUTE}
- <li>{@link #SMTP_USER_ID SMTP_USER_ID}
- <li>{@link #SORT_SEQUENCE_TABLE SORT_SEQUENCE_TABLE}
- <li>{@link #SPECIAL_AUTHORITIES SPECIAL_AUTHORITIES}
- <li>{@link #SPECIAL_ENVIRONMENT SPECIAL_ENVIRONMENT}
- <li>{@link #STATUS STATUS}
- <li>{@link #STORAGE_USED STORAGE_USED}
- <li>{@link #SUPPLEMENTAL_GROUPS SUPPLEMENTAL_GROUPS}
- <li>{@link #TELEPHONE_NUMBER_1 TELEPHONE_NUMBER_1}
- <li>{@link #TELEPHONE_NUMBER_2 TELEPHONE_NUMBER_2}
- <li>{@link #TEXT TEXT}
- <li>{@link #TEXT_DESCRIPTION TEXT_DESCRIPTION}
- <li>{@link #USER_ACTION_AUDIT_LEVEL USER_ACTION_AUDIT_LEVEL}
- <li>{@link #USER_ADDRESS USER_ADDRESS}
- <li>{@link #USER_CLASS USER_CLASS}
- <li>{@link #USER_DESCRIPTION USER_DESCRIPTION}
- <li>{@link #USER_ID USER_ID}
- <li>{@link #USER_ID_NUMBER USER_ID_NUMBER}
- <li>{@link #USER_OPTIONS USER_OPTIONS}
- <li>{@link #USER_PROFILE_NAME USER_PROFILE_NAME}
- </ul>
- </a>
-
- <p>Use any of these attribute IDs with
- {@link com.ibm.as400.resource.ChangeableResource#getAttributeValue getAttributeValue()}
- and {@link com.ibm.as400.resource.ChangeableResource#setAttributeValue setAttributeValue()}
- to access the attribute values for an RUser.
-
- <blockquote><pre>
- // Create an RUser object to refer to a specific user.
- AS400 system = new AS400("MYSYSTEM", "MYUSERID", "MYPASSWORD");
- RUser user = new RUser(system, "AUSERID");
- <br>
- // Get the user status.
- String status = (String)user.getAttributeValue(RUser.STATUS);
- <br>
- // Set the print device for a user to work station.
- user.setAttributeValue(RUser.PRINT_DEVICE, RUser.PRINT_DEVICE_WORK_STATION);
- <br>
- // Commit the attribute change.
- user.commitAttributeChanges();
- </pre></blockquote>
-
- @deprecated Use
- {@link com.ibm.as400.access.User User} instead, as this package may be removed in the future.
- @see RUserList
- **/
- public class RUser
- extends ChangeableResource
- {
- private static final String copyright = "Copyright (C) 1997-2004 International Business Machines Corporation and others.";
-
-
-
-
- static final long serialVersionUID = 4L;
-
-
-
- //-----------------------------------------------------------------------------------------
- // Presentation.
- //-----------------------------------------------------------------------------------------
-
- private static PresentationLoader presentationLoader_ = new PresentationLoader("com.ibm.as400.resource.ResourceMRI");
- private static final String ICON_BASE_NAME_ = "RUser";
- private static final String PRESENTATION_KEY_ = "USER";
-
-
-
- //-----------------------------------------------------------------------------------------
- // Attribute values.
- //-----------------------------------------------------------------------------------------
-
- /**
- Attribute value for system value.
- **/
- public static final String SYSTEM_VALUE = "*SYSVAL";
-
- /**
- Attribute value for yes.
- **/
- public static final String YES = "*YES";
-
- /**
- Attribute value for no.
- **/
- public static final String NO = "*NO";
-
- /**
- Attribute value for none.
- **/
- public static final String NONE = "*NONE";
-
- /**
- Attribute value for no date.
- **/
- public static final Date NO_DATE = DateValueMap.NO_DATE;
-
-
- //-----------------------------------------------------------------------------------------
- // Attribute IDs.
- //
- // * If you add an attribute here, make sure and add it to the class javadoc.
- //-----------------------------------------------------------------------------------------
-
- // Private data.
- static ResourceMetaDataTable attributes_ = new ResourceMetaDataTable(presentationLoader_, PRESENTATION_KEY_);
- private static ProgramMap getterMap_ = new ProgramMap();
- private static CommandMap setterMap_ = new CommandMap();
-
- private static final ArrayValueMap arrayValueMap_ = new ArrayValueMap();
- private static final ArrayValueMap arrayValueMapNone_ = new ArrayValueMap(NONE);
- private static final ArrayTypeValueMap arrayTypeValueMapString_= new ArrayTypeValueMap(String.class);
- private static final BooleanValueMap booleanValueMap01_ = new BooleanValueMap("0", "1");
- private static final BooleanValueMap booleanValueMapNY_ = new BooleanValueMap("N", "Y");
- private static final BooleanValueMap booleanValueMapNoYes_ = new BooleanValueMap(NO, YES);
- private static final IntegerToLongValueMap integerToLongValueMap_ = new IntegerToLongValueMap();
- private static final QuoteValueMap quoteValueMap_ = new QuoteValueMap();
- private static final QuoteValueMap quoteValueMapBlank_ = new QuoteValueMap("*BLANK");
- private static final QuoteValueMap quoteValueMapNone_ = new QuoteValueMap(NONE);
-
- //@B1D private static final String ADDDIRE_ = "ADDDIRE";
- private static final String CHGDIRE_ = "CHGDIRE";
- private static final String CHGUSRPRF_ = "CHGUSRPRF";
- private static final String CHGUSRAUD_ = "CHGUSRAUD";
- //@B1D private static final String CRTUSRPRF_ = "CRTUSRPRF";
- private static final int[] INDEX_0_ = new int[] { 0 };
- private static final String QOKSCHD_ = "qokschd";
- private static final String USRI0100_ = "qsyrusri_usri0100";
- private static final String USRI0200_ = "qsyrusri_usri0200";
- private static final String USRI0300_ = "qsyrusri_usri0300";
- private static final String USRD_PARAMETER_ = "USRD";
- private static final String USRPRF_PARAMETER_ = "USRPRF";
- private static final String USRID_PARAMETER_ = "USRID";
-
-
-
- /**
- Attribute ID for accounting code. This identifies a String
- attribute, which represents the accounting code associated with this user.
- **/
- public static final String ACCOUNTING_CODE = "ACCOUNTING_CODE";
-
- static {
- attributes_.add(ACCOUNTING_CODE, String.class, false);
- getterMap_.add(ACCOUNTING_CODE, USRI0300_, "receiverVariable.accountingCode");
- setterMap_.add(ACCOUNTING_CODE, CHGUSRPRF_, "ACGCDE", quoteValueMapBlank_);
- }
-
-
-
- /**
- Attribute ID for allow synchronization. This identifies a Boolean
- attribute, which indicates whether the user's directory entry should be
- synchronized with directories other than the System Distribution Directory.
- **/
- public static final String ALLOW_SYNCHRONIZATION = "ALLOW_SYNCHRONIZATION";
-
- static {
- attributes_.add(ALLOW_SYNCHRONIZATION, Boolean.class, false);
- getterMap_.add(ALLOW_SYNCHRONIZATION, QOKSCHD_, "receiverVariable.directoryEntries.allowSynchronization.fieldValue", INDEX_0_, booleanValueMap01_);
- setterMap_.add(ALLOW_SYNCHRONIZATION, CHGDIRE_, "ALWSYNC", booleanValueMapNoYes_);
- }
-
-
-
-
- /**
- Attribute ID for assistance level. This identifies a String
- attribute, which represents the user interface that the user will use.
- Possible values are:
- <ul>
- <li>{@link #SYSTEM_VALUE SYSTEM_VALUE}
- - The system value QASTLVL determines which user interface the user is using.
- <li>{@link #ASSISTANCE_LEVEL_BASIC ASSISTANCE_LEVEL_BASIC}
- - The Operational Assistant user interface.
- <li>{@link #ASSISTANCE_LEVEL_INTERMEDIATE ASSISTANCE_LEVEL_INTERMEDIATE}
- - The system user interface.
- <li>{@link #ASSISTANCE_LEVEL_ADVANCED ASSISTANCE_LEVEL_ADVANCED}
- - The expert system user interface.
- </ul>
- **/
- public static final String ASSISTANCE_LEVEL = "ASSISTANCE_LEVEL";
-
- /**
- Attribute value indicating the Operational Assistant user interface.
-
- @see #ASSISTANCE_LEVEL
- **/
- public static final String ASSISTANCE_LEVEL_BASIC = "*BASIC";
-
- /**
- Attribute value indicating the system user interface.
-
- @see #ASSISTANCE_LEVEL
- **/
- public static final String ASSISTANCE_LEVEL_INTERMEDIATE = "*INTERMED";
-
- /**
- Attribute value indicating the expert system user interface.
-
- @see #ASSISTANCE_LEVEL
- **/
- public static final String ASSISTANCE_LEVEL_ADVANCED = "*ADVANCED";
-
- static {
- attributes_.add(ASSISTANCE_LEVEL, String.class, false,
- new Object[] {SYSTEM_VALUE,
- ASSISTANCE_LEVEL_BASIC,
- ASSISTANCE_LEVEL_INTERMEDIATE,
- ASSISTANCE_LEVEL_ADVANCED}, null, true);
- getterMap_.add(ASSISTANCE_LEVEL, USRI0300_, "receiverVariable.assistanceLevel");
- setterMap_.add(ASSISTANCE_LEVEL, CHGUSRPRF_, "ASTLVL");
- }
-
-
-
- /**
- Attribute ID for attention key handling program. This identifies a
- String attribute, which represents the fully qualified integrated file system
- path name of the attention key handling program for
- this user. Possible values are:
- <ul>
- <li>{@link #SYSTEM_VALUE SYSTEM_VALUE}
- - The system value QATNPGM determines the user's attention key handling program.
- <li>{@link #NONE NONE}
- - No attention key handling program is used.
- <li>{@link #ATTENTION_KEY_HANDLING_PROGRAM_ASSIST ATTENTION_KEY_HANDLING_PROGRAM_ASSIST}
- - The Operational Assistant attention key handling program.
- <li>The attention key handling program name.
- </ul>
-
- @see com.ibm.as400.access.QSYSObjectPathName
- **/
- public static final String ATTENTION_KEY_HANDLING_PROGRAM = "ATTENTION_KEY_HANDLING_PROGRAM";
-
- /**
- Attribute value indicating the Operational Assistant attention key handling program.
-
- @see #ATTENTION_KEY_HANDLING_PROGRAM
- **/
- public static final String ATTENTION_KEY_HANDLING_PROGRAM_ASSIST = "*ASSIST";
-
- static {
- attributes_.add(ATTENTION_KEY_HANDLING_PROGRAM, String.class, false,
- new Object[] {SYSTEM_VALUE, NONE, ATTENTION_KEY_HANDLING_PROGRAM_ASSIST}, null, false);
- getterMap_.add(ATTENTION_KEY_HANDLING_PROGRAM, USRI0300_, "receiverVariable.attentionKeyHandlingProgram",
- new QualifiedValueMap(QualifiedValueMap.FORMAT_20, "PGM"));
- ValueMap valueMap = new QualifiedValueMap(QualifiedValueMap.FORMAT_CL, "PGM");
- setterMap_.add(ATTENTION_KEY_HANDLING_PROGRAM, CHGUSRPRF_, "ATNPGM", valueMap);
- }
-
-
-
- /**
- Attribute ID for building. This identifies a String
- attribute, which represents the building in the user's directory entry.
- **/
- public static final String BUILDING = "BUILDING";
-
- static {
- attributes_.add(BUILDING, String.class, false);
- getterMap_.add(BUILDING, QOKSCHD_, "receiverVariable.directoryEntries.building.fieldValue", INDEX_0_);
- setterMap_.add(BUILDING, CHGDIRE_, "BLDG", quoteValueMapNone_);
- }
-
-
-
- /**
- Attribute ID for cc:Mail address. This identifies a String
- attribute, which represents the cc:Mail address in the user's directory entry.
- **/
- public static final String CC_MAIL_ADDRESS = "CC_MAIL_ADDRESS";
-
- static {
- attributes_.add(CC_MAIL_ADDRESS, String.class, false);
- getterMap_.add(CC_MAIL_ADDRESS, QOKSCHD_, "receiverVariable.directoryEntries.ccMailAddress.fieldValue", INDEX_0_);
- setterMap_.add(CC_MAIL_ADDRESS, CHGDIRE_, "CCMAILADR", quoteValueMapNone_);
- }
-
-
-
-
- /**
- Attribute ID for cc:Mail comment. This identifies a String
- attribute, which represents the cc:Mail comment in the user's directory entry.
- **/
- public static final String CC_MAIL_COMMENT = "CC_MAIL_COMMENT";
-
- static {
- attributes_.add(CC_MAIL_COMMENT, String.class, false);
- getterMap_.add(CC_MAIL_COMMENT, QOKSCHD_, "receiverVariable.directoryEntries.ccMailComment.fieldValue", INDEX_0_);
- setterMap_.add(CC_MAIL_COMMENT, CHGDIRE_, "CCMAILCMT", quoteValueMapNone_);
- }
-
-
-
- /**
- Attribute ID for character code set ID. This identifies a Integer
- attribute, which represents the character code set ID to be used by the system
- for this user.
- **/
- public static final String CHARACTER_CODE_SET_ID = "CHARACTER_CODE_SET_ID";
-
- static {
- attributes_.add(CHARACTER_CODE_SET_ID, Integer.class, false);
- getterMap_.add(CHARACTER_CODE_SET_ID, USRI0300_, "receiverVariable.characterCodeSetID");
- ValueMap valueMap = new CharacterCodeSetIDValueMap_();
- setterMap_.add(CHARACTER_CODE_SET_ID, CHGUSRPRF_, "CCSID", valueMap);
- }
-
- private static class CharacterCodeSetIDValueMap_ extends AbstractValueMap
- {
- public Object ltop(Object logicalValue)
- {
- if (((Integer)logicalValue).intValue() == -2)
- return SYSTEM_VALUE;
- else
- return logicalValue;
- }
- }
-
-
-
- /**
- Attribute ID for character identifier control. This identifies a String
- attribute, which represents the character identifier control for the user. Possible
- values are:
- <ul>
- <li>{@link #SYSTEM_VALUE SYSTEM_VALUE}
- - The system value QCHRIDCTL will be used to determine the character
- identifier control for this user.
- <li>{@link #CHARACTER_IDENTIFIER_CONTROL_DEVICE_DESCRIPTION CHARACTER_IDENTIFIER_CONTROL_DEVICE_DESCRIPTION}
- - Performs the same function as on the CHRID command parameter for display
- files, printer files, and panel groups.
- <li>{@link #CHARACTER_IDENTIFIER_CONTROL_JOB_CCSID CHARACTER_IDENTIFIER_CONTROL_JOB_CCSID}
- - Performs the same function as on the CHRID command parameter for display
- files, printer files, and panel groups.
- </ul>
- **/
- public static final String CHARACTER_IDENTIFIER_CONTROL = "CHARACTER_IDENTIFIER_CONTROL";
-
- /**
- Attribute value indicating the same function as on the CHRID command parameter for display
- files, printer files, and panel groups.
-
- @see #CHARACTER_IDENTIFIER_CONTROL
- **/
- public static final String CHARACTER_IDENTIFIER_CONTROL_DEVICE_DESCRIPTION = "*DEVD";
-
- /**
- Attribute value indicating the same function as on the CHRID command parameter for display
- files, printer files, and panel groups.
-
- @see #CHARACTER_IDENTIFIER_CONTROL
- **/
- public static final String CHARACTER_IDENTIFIER_CONTROL_JOB_CCSID = "*JOBCCSID";
-
- static {
- attributes_.add(CHARACTER_IDENTIFIER_CONTROL, String.class, false,
- new Object[] {SYSTEM_VALUE,
- CHARACTER_IDENTIFIER_CONTROL_DEVICE_DESCRIPTION,
- CHARACTER_IDENTIFIER_CONTROL_JOB_CCSID}, null, true);
- getterMap_.add(CHARACTER_IDENTIFIER_CONTROL, USRI0300_, "receiverVariable.characterIdentifierControl");
- setterMap_.add(CHARACTER_IDENTIFIER_CONTROL, CHGUSRPRF_, "CHRIDCTL");
- }
-
-
-
-
- /**
- Attribute ID for company. This identifies a String
- attribute, which represents the company in the user's directory entry.
- **/
- public static final String COMPANY = "COMPANY";
-
- static {
- attributes_.add(COMPANY, String.class, false);
- getterMap_.add(COMPANY, QOKSCHD_, "receiverVariable.directoryEntries.company.fieldValue", INDEX_0_);
- setterMap_.add(COMPANY, CHGDIRE_, "CMPNY", quoteValueMapNone_);
- }
-
-
-
- /**
- Attribute ID for country ID. This identifies a String
- attribute, which represents the country ID used by the system for this user.
- Possible values are:
- <ul>
- <li>{@link #SYSTEM_VALUE SYSTEM_VALUE}
- - The system value QCNTRYID will be used to determine the country ID.
- <li>The country ID.
- </ul>
- **/
- public static final String COUNTRY_ID = "COUNTRY_ID";
-
- static {
- attributes_.add(COUNTRY_ID, String.class, false,
- new Object[] {SYSTEM_VALUE}, null, false);
- getterMap_.add(COUNTRY_ID, USRI0300_, "receiverVariable.countryID");
- setterMap_.add(COUNTRY_ID, CHGUSRPRF_, "CNTRYID", quoteValueMap_);
- }
-
-
-
- /**
- Attribute ID for current library. This identifies a String
- attribute, which represents the name of the user's current library.
- Possible values are:
- <ul>
- <li>{@link #CURRENT_LIBRARY_NAME_DEFAULT CURRENT_LIBRARY_NAME_DEFAULT}
- - The user does not have a current library.
- <li>The library name.
- </ul>
- **/
- public static final String CURRENT_LIBRARY_NAME = "CURRENT_LIBRARY_NAME";
-
- /**
- Attribute value indicating that the user does not have a current library.
-
- @see #CURRENT_LIBRARY_NAME
- **/
- public static final String CURRENT_LIBRARY_NAME_DEFAULT = "*CRTDFT";
-
- static {
- attributes_.add(CURRENT_LIBRARY_NAME, String.class, false,
- new Object[] {CURRENT_LIBRARY_NAME_DEFAULT}, null, false);
- getterMap_.add(CURRENT_LIBRARY_NAME, USRI0300_, "receiverVariable.currentLibraryName");
- setterMap_.add(CURRENT_LIBRARY_NAME, CHGUSRPRF_, "CURLIB");
- }
-
-
-
- /**
- Attribute ID for date password expires. This identifies a read-only Date
- attribute, which represents the date the user's password expires. If the
- password is not set to expire, or is already expired, then this will
- be {@link #NO_DATE NO_DATE}.
- **/
- public static final String DATE_PASSWORD_EXPIRES = "DATE_PASSWORD_EXPIRES";
-
- static {
- attributes_.add(DATE_PASSWORD_EXPIRES, Date.class, true);
- ValueMap valueMap = new DateValueMap(DateValueMap.FORMAT_DTS);
- getterMap_.add(DATE_PASSWORD_EXPIRES, USRI0100_, "receiverVariable.datePasswordExpires", valueMap);
- getterMap_.add(DATE_PASSWORD_EXPIRES, USRI0300_, "receiverVariable.datePasswordExpires", valueMap);
- }
-
-
-
- /**
- Attribute ID for days until password expires. This identifies a read-only Integer
- attribute, which represents the number of days until the password will expire.
- Possible values are:
- <ul>
- <li>0 - The password is expired.
- <li>1-7 - The number of days until the password expires.
- <li>-1 - The password will not expire in the next 7 days.
- </ul>
- **/
- public static final String DAYS_UNTIL_PASSWORD_EXPIRES = "DAYS_UNTIL_PASSWORD_EXPIRES";
-
- static {
- attributes_.add(DAYS_UNTIL_PASSWORD_EXPIRES, Integer.class, true);
- getterMap_.add(DAYS_UNTIL_PASSWORD_EXPIRES, USRI0100_, "receiverVariable.daysUntilPasswordExpires");
- getterMap_.add(DAYS_UNTIL_PASSWORD_EXPIRES, USRI0300_, "receiverVariable.daysUntilPasswordExpires");
- }
-
-
-
- /**
- Attribute ID for department. This identifies a String
- attribute, which represents the department in the user's directory entry.
- **/
- public static final String DEPARTMENT = "DEPARTMENT";
-
- static {
- attributes_.add(DEPARTMENT, String.class, false);
- getterMap_.add(DEPARTMENT, QOKSCHD_, "receiverVariable.directoryEntries.department.fieldValue", INDEX_0_);
- setterMap_.add(DEPARTMENT, CHGDIRE_, "DEPT", quoteValueMapNone_);
- }
-
-
- /**
- Attribute ID for digital certificate indicator. This identifies a read-only Boolean
- attribute, which indicates whether there are digital certificates associated with
- this user.
- **/
- public static final String DIGITAL_CERTIFICATE_INDICATOR = "DIGITAL_CERTIFICATE_INDICATOR";
-
- static {
- attributes_.add(DIGITAL_CERTIFICATE_INDICATOR, Boolean.class, true);
- getterMap_.add(DIGITAL_CERTIFICATE_INDICATOR, USRI0300_, "receiverVariable.digitalCertificateIndicator", booleanValueMap01_);
- }
-
-
-
- /**
- Attribute ID for display sign-on information. This identifies a String
- attribute, which represents whether the sign-on information display is shown when
- the user signs on. Possible values are:
- <ul>
- <li>{@link #SYSTEM_VALUE SYSTEM_VALUE}
- - The system value QDSPSGNINF determines if the sign-on information display
- is shown when the user signs on.
- <li>{@link #YES YES}
- - The sign-on information display is shown when the user signs on.
- <li>{@link #NO NO}
- - The sign-on information display is not shown when the user signs on.
- </ul>
- **/
- public static final String DISPLAY_SIGN_ON_INFORMATION = "DISPLAY_SIGN_ON_INFORMATION";
-
- static {
- attributes_.add(DISPLAY_SIGN_ON_INFORMATION, String.class, false,
- new Object[] {SYSTEM_VALUE, YES, NO }, null, true);
- getterMap_.add(DISPLAY_SIGN_ON_INFORMATION, USRI0100_, "receiverVariable.displaySignOnInformation");
- getterMap_.add(DISPLAY_SIGN_ON_INFORMATION, USRI0300_, "receiverVariable.displaySignOnInformation");
- setterMap_.add(DISPLAY_SIGN_ON_INFORMATION, CHGUSRPRF_, "DSPSGNINF");
- }
-
-
-
- /**
- Attribute ID for fax telephone number. This identifies a String
- attribute, which represents the fax telephone number in the user's directory entry.
- **/
- public static final String FAX_TELEPHONE_NUMBER = "FAX_TELEPHONE_NUMBER";
-
- static {
- attributes_.add(FAX_TELEPHONE_NUMBER, String.class, false);
- getterMap_.add(FAX_TELEPHONE_NUMBER, QOKSCHD_, "receiverVariable.directoryEntries.faxTelephoneNumber.fieldValue", INDEX_0_);
- setterMap_.add(FAX_TELEPHONE_NUMBER, CHGDIRE_, "FAXTELNBR", quoteValueMapNone_);
- }
-
-
- /**
- Attribute ID for first name. This identifies a String
- attribute, which represents the first name in the user's directory entry.
- **/
- public static final String FIRST_NAME = "FIRST_NAME";
-
- static {
- attributes_.add(FIRST_NAME, String.class, false);
- getterMap_.add(FIRST_NAME, QOKSCHD_, "receiverVariable.directoryEntries.firstName.fieldValue", INDEX_0_);
- setterMap_.add(FIRST_NAME, CHGDIRE_, "FSTNAM", quoteValueMapNone_);
- }
-
-
- /**
- Attribute ID for full name. This identifies a String
- attribute, which represents the full name in the user's directory entry.
- **/
- public static final String FULL_NAME = "FULL_NAME";
-
- static {
- attributes_.add(FULL_NAME, String.class, false);
- getterMap_.add(FULL_NAME, QOKSCHD_, "receiverVariable.directoryEntries.fullName.fieldValue", INDEX_0_);
- setterMap_.add(FULL_NAME, CHGDIRE_, "FULNAM", quoteValueMapNone_);
- }
-
-
-
- /**
- Attribute ID for group authority. This identifies a String
- attribute, which represents the authority the user's group profile
- has to objects the user creates. This can only be set to
- {@link #NONE NONE} if the user does not belong to a group.
- Possible values are:
- <ul>
- <li>{@link #NONE NONE}
- - The group profile has no authority to the objects the user creates,
- or the user does not have a group profile.
- <li>{@link #GROUP_AUTHORITY_ALL GROUP_AUTHORITY_ALL}
- - The group profile has all authority to the objects the user creates.
- <li>{@link #GROUP_AUTHORITY_CHANGE GROUP_AUTHORITY_CHANGE}
- - The group profile has change authority to the objects the user creates.
- <li>{@link #GROUP_AUTHORITY_USE GROUP_AUTHORITY_USE}
- - The group profile has use authority to the objects the user creates.
- <li>{@link #GROUP_AUTHORITY_EXCLUDE GROUP_AUTHORITY_EXCLUDE}
- - The group profile has exclude authority to the objects the user creates.
- </ul>
- **/
- public static final String GROUP_AUTHORITY = "GROUP_AUTHORITY";
-
- /**
- Attribute value indicating that the group profile has all authority to the objects the user creates.
-
- @see #GROUP_AUTHORITY
- **/
- public static final String GROUP_AUTHORITY_ALL = "*ALL";
-
- /**
- Attribute value indicating that the group profile has change authority to the objects the user creates.
-
- @see #GROUP_AUTHORITY
- **/
- public static final String GROUP_AUTHORITY_CHANGE = "*CHANGE";
-
- /**
- Attribute value indicating that the group profile has use authority to the objects the user creates.
-
- @see #GROUP_AUTHORITY
- **/
- public static final String GROUP_AUTHORITY_USE = "*USE";
-
- /**
- Attribute value indicating that the group profile has exclude authority to the objects the user creates.
-
- @see #GROUP_AUTHORITY
- **/
- public static final String GROUP_AUTHORITY_EXCLUDE = "*EXCLUDE";
-
- static {
- attributes_.add(GROUP_AUTHORITY, String.class, false,
- new Object[] {NONE,
- GROUP_AUTHORITY_ALL,
- GROUP_AUTHORITY_CHANGE,
- GROUP_AUTHORITY_USE,
- GROUP_AUTHORITY_EXCLUDE }, null, true);
- getterMap_.add(GROUP_AUTHORITY, USRI0200_, "receiverVariable.groupAuthority");
- getterMap_.add(GROUP_AUTHORITY, USRI0300_, "receiverVariable.groupAuthority");
- setterMap_.add(GROUP_AUTHORITY, CHGUSRPRF_, "GRPAUT");
- }
-
-
-
- /**
- Attribute ID for group authority type. This identifies a String
- attribute, which represents the type of authority the user's group has to
- objects the user creates. Possible values are:
- <ul>
- <li>{@link #GROUP_AUTHORITY_TYPE_PRIVATE GROUP_AUTHORITY_TYPE_PRIVATE}
- - The group profile has a private authority to the objects the user creates,
- or the user does not have a group profile.
- <li>{@link #GROUP_AUTHORITY_TYPE_PGP GROUP_AUTHORITY_TYPE_PGP}
- - The group profile will be the primary group for objects the user creates.
- </ul>
- **/
- public static final String GROUP_AUTHORITY_TYPE = "GROUP_AUTHORITY_TYPE";
-
- /**
- Attribute value indicating that the group profile has a private authority to the objects the user creates,
- or the user does not have a group profile.
-
- @see #GROUP_AUTHORITY_TYPE
- **/
- public static final String GROUP_AUTHORITY_TYPE_PRIVATE = "*PRIVATE";
-
- /**
- Attribute value indicating that the group profile will be the primary group for objects the user creates.
-
- @see #GROUP_AUTHORITY_TYPE
- **/
- public static final String GROUP_AUTHORITY_TYPE_PGP = "*PGP";
-
- static {
- attributes_.add(GROUP_AUTHORITY_TYPE, String.class, false,
- new Object[] {GROUP_AUTHORITY_TYPE_PRIVATE,
- GROUP_AUTHORITY_TYPE_PGP }, null, true);
- getterMap_.add(GROUP_AUTHORITY_TYPE, USRI0200_, "receiverVariable.groupAuthorityType");
- getterMap_.add(GROUP_AUTHORITY_TYPE, USRI0300_, "receiverVariable.groupAuthorityType");
- setterMap_.add(GROUP_AUTHORITY_TYPE, CHGUSRPRF_, "GRPAUTTYP");
- }
-
-
-
- /**
- Attribute ID for group ID number. This identifies a Long
- attribute, which represents the group ID number for the user profile.
- The group ID number is used to identify the user when it is a group and a
- member of the group is using the integrated file system. This will
- be {@link #GROUP_ID_NUMBER_NONE GROUP_ID_NUMBER_NONE} if the user does not
- have a group ID. It will be {@link #GROUP_ID_NUMBER_GENERATE GROUP_ID_NUMBER_GENERATE}
- if it was set as such; in which case, call
- {@link #refreshAttributeValues refreshAttributeValues()} to retrieve the actual group ID
- that was generated by the system.
- **/
- public static final String GROUP_ID_NUMBER = "GROUP_ID_NUMBER";
-
- static {
- attributes_.add(GROUP_ID_NUMBER, Long.class, false);
- getterMap_.add(GROUP_ID_NUMBER, USRI0300_, "receiverVariable.groupIDNumber", integerToLongValueMap_);
- ValueMap valueMap = new GroupIDNumberValueMap_();
- setterMap_.add(GROUP_ID_NUMBER, CHGUSRPRF_, "GID", valueMap);
- }
-
- private static class GroupIDNumberValueMap_ extends AbstractValueMap
- {
- public Object ltop(Object logicalValue)
- {
- long val = ((Long)logicalValue).longValue(); //@B2A
- if (val == 0) return "*NONE"; //@B2C
- if (val == -1) return "*GEN"; //@B2A
- return logicalValue; //@B2C
- }
- }
-
- /**
- * Attribute value indicating the system should generate a unique group ID number (*GEN).
- * @see #GROUP_ID_NUMBER
- **/
- public static final Long GROUP_ID_NUMBER_GENERATE = new Long(-1); //@B2A
-
-
- /**
- * Attribute value indicating the group ID number is *NONE.
- * @see #GROUP_ID_NUMBER
- **/
- public static final Long GROUP_ID_NUMBER_NONE = new Long(0); //@B2A
-
-
-
- /**
- Attribute ID for group member indicator. This identifies a read-only Boolean
- attribute, which indicates whether this user is a group that has members.
- **/
- public static final String GROUP_MEMBER_INDICATOR = "GROUP_MEMBER_INDICATOR";
-
- static {
- attributes_.add(GROUP_MEMBER_INDICATOR, Boolean.class, true);
- getterMap_.add(GROUP_MEMBER_INDICATOR, USRI0300_, "receiverVariable.groupMemberIndicator", booleanValueMap01_);
- }
-
-
- /**
- Attribute ID for group profile name. This identifies a String attribute,
- which represents the name of the group profile.
- Possible values are:
- <ul>
- <li>{@link #NONE NONE}
- - If the user does not have a group profile.
- <li>The group profile name.
- </ul>
- **/
- public static final String GROUP_PROFILE_NAME = "GROUP_PROFILE_NAME";
-
- static {
- attributes_.add(GROUP_PROFILE_NAME, String.class, false,
- new Object[] {NONE }, null, false);
- getterMap_.add(GROUP_PROFILE_NAME, USRI0200_, "receiverVariable.groupProfileName");
- getterMap_.add(GROUP_PROFILE_NAME, USRI0300_, "receiverVariable.groupProfileName");
- setterMap_.add(GROUP_PROFILE_NAME, CHGUSRPRF_, "GRPPRF");
- }
-
-
-
- /**
- Attribute ID for highest scheduling priority. This identifies a Integer
- attribute, which represents the highest scheduling priority the user is allowed
- to have for each job submitted to the system. The priority is a value from 0
- to 9, with 0 being the highest priority.
- **/
- public static final String HIGHEST_SCHEDULING_PRIORITY = "HIGHEST_SCHEDULING_PRIORITY";
-
- static {
- attributes_.add(HIGHEST_SCHEDULING_PRIORITY, Integer.class, false);
- ValueMap valueMap = new IntegerValueMap();
- getterMap_.add(HIGHEST_SCHEDULING_PRIORITY, USRI0300_, "receiverVariable.highestSchedulingPriority", valueMap);
- setterMap_.add(HIGHEST_SCHEDULING_PRIORITY, CHGUSRPRF_, "PTYLMT");
- }
-
-
-
- /**
- Attribute ID for home directory. This identifies a String
- attribute, which represents the home directory for this user profile.
- **/
- public static final String HOME_DIRECTORY = "HOME_DIRECTORY";
-
- static {
- attributes_.add(HOME_DIRECTORY, String.class, false);
- getterMap_.add(HOME_DIRECTORY, USRI0300_, "receiverVariable.homeDirectory.homeDirectoryNameValue");
- setterMap_.add(HOME_DIRECTORY, CHGUSRPRF_, "HOMEDIR", quoteValueMap_);
- }
-
-
-
-
- /**
- Attribute ID for indirect user. This identifies a Boolean
- attribute, which indicates whether the user is an indirect user
- as specified in the user's directory entry.
- **/
- public static final String INDIRECT_USER = "INDIRECT_USER";
-
- static {
- attributes_.add(INDIRECT_USER, Boolean.class, false);
- getterMap_.add(INDIRECT_USER, QOKSCHD_, "receiverVariable.directoryEntries.indirectUser.fieldValue", INDEX_0_, booleanValueMap01_);
- setterMap_.add(INDIRECT_USER, CHGDIRE_, "INDUSR", booleanValueMapNoYes_);
- }
-
-
-
- /**
- Attribute ID for initial menu. This identifies a String attribute,
- which represents the fully qualified integrated file system path name
- of the initial menu for the user. Possible values are:
- <ul>
- <li>{@link #INITIAL_MENU_SIGNOFF INITIAL_MENU_SIGNOFF}
- <li>The initial menu name.
- </ul>
-
- @see com.ibm.as400.access.QSYSObjectPathName
- **/
- public static final String INITIAL_MENU = "INITIAL_MENU";
-
- /**
- Attribute value for initial menu signoff.
-
- @see #INITIAL_MENU
- **/
- public static final String INITIAL_MENU_SIGNOFF = "*SIGNOFF";
-
- static {
- attributes_.add(INITIAL_MENU, String.class, false,
- new Object[] {INITIAL_MENU_SIGNOFF}, null, false);
- getterMap_.add(INITIAL_MENU, USRI0300_, "receiverVariable.initialMenu",
- new QualifiedValueMap(QualifiedValueMap.FORMAT_20, "MNU"));
- ValueMap valueMap = new QualifiedValueMap(QualifiedValueMap.FORMAT_CL, "MNU");
- setterMap_.add(INITIAL_MENU, CHGUSRPRF_, "INLMNU", valueMap);
- }
-
-
-
- /**
- Attribute ID for initial program. This identifies a String attribute,
- which represents the fully qualified integrated file system path name of
- the initial program for the user. Possible values are:
- <ul>
- <li>{@link #NONE NONE}
- <li>The initial program name.
- </ul>
-
- @see com.ibm.as400.access.QSYSObjectPathName
- **/
- public static final String INITIAL_PROGRAM = "INITIAL_PROGRAM";
-
- static {
- attributes_.add(INITIAL_PROGRAM, String.class, false,
- new Object[] {NONE}, null, false);
- getterMap_.add(INITIAL_PROGRAM, USRI0300_, "receiverVariable.initialProgram",
- new QualifiedValueMap(QualifiedValueMap.FORMAT_20, "PGM"));
- ValueMap valueMap = new QualifiedValueMap(QualifiedValueMap.FORMAT_CL, "PGM");
- setterMap_.add(INITIAL_PROGRAM, CHGUSRPRF_, "INLPGM", valueMap);
- }
-
-
-
- /**
- Attribute ID for job description. This identifies a String attribute,
- which represents the fully qualified integrated file system path name
- of the job description used for jobs that start through
- subsystem work station entries.
-
- @see com.ibm.as400.access.QSYSObjectPathName
- **/
- public static final String JOB_DESCRIPTION = "JOB_DESCRIPTION";
-
- static {
- attributes_.add(JOB_DESCRIPTION, String.class, false);
- getterMap_.add(JOB_DESCRIPTION, USRI0300_, "receiverVariable.jobDescription",
- new QualifiedValueMap(QualifiedValueMap.FORMAT_20, "JOBD"));
- ValueMap valueMap = new QualifiedValueMap(QualifiedValueMap.FORMAT_CL, "JOBD");
- setterMap_.add(JOB_DESCRIPTION, CHGUSRPRF_, "JOBD", valueMap);
- }
-
-
-
- /**
- Attribute ID for job title. This identifies a String
- attribute, which represents the job title in the user's directory entry.
- **/
- public static final String JOB_TITLE = "JOB_TITLE";
-
- static {
- attributes_.add(JOB_TITLE, String.class, false);
- getterMap_.add(JOB_TITLE, QOKSCHD_, "receiverVariable.directoryEntries.jobTitle.fieldValue", INDEX_0_);
- setterMap_.add(JOB_TITLE, CHGDIRE_, "TITLE", quoteValueMapNone_);
- }
-
-
-
- /**
- Attribute ID for keyboard buffering. This identifies a String
- attribute, which represents the keyboard buffering value that is
- used when a job is initialized for this user. Possible values are:
- <ul>
- <li>{@link #SYSTEM_VALUE SYSTEM_VALUE}
- - The system value QKBDBUF determines the keybpard buffering value for
- this user.
- <li>{@link #YES YES}
- - The type-ahead and attention-key buffering options are both on.
- <li>{@link #NO NO}
- - The type-ahead and attention-key buffering options are not on.
- <li>{@link #KEYBOARD_BUFFERING_TYPE_AHEAD KEYBOARD_BUFFERING_TYPE_AHEAD}
- - The type-ahead option is on, but the attention-key buffering options is not.
- </ul>
- **/
- public static final String KEYBOARD_BUFFERING = "KEYBOARD_BUFFERING";
-
- /**
- Attribute value indicating the type-ahead option is on, but the attention-key buffering options is not.
-
- @see #KEYBOARD_BUFFERING
- **/
- public static final String KEYBOARD_BUFFERING_TYPE_AHEAD = "*TYPEAHEAD";
-
- static {
- attributes_.add(KEYBOARD_BUFFERING, String.class, false,
- new Object[] {SYSTEM_VALUE, YES, NO, KEYBOARD_BUFFERING_TYPE_AHEAD }, null, true);
- getterMap_.add(KEYBOARD_BUFFERING, USRI0300_, "receiverVariable.keyboardBuffering");
- setterMap_.add(KEYBOARD_BUFFERING, CHGUSRPRF_, "KBDBUF");
- }
-
-
-
- /**
- Attribute ID for language ID. This identifies a String
- attribute, which represents the language ID used by the system for this user.
- Possible values are:
- <ul>
- <li>{@link #SYSTEM_VALUE SYSTEM_VALUE}
- - The system value QLANGID will be used to determine the language ID.
- <li>The language ID.
- </ul>
- **/
- public static final String LANGUAGE_ID = "LANGUAGE_ID";
-
- static {
- attributes_.add(LANGUAGE_ID, String.class, false,
- new Object[] {SYSTEM_VALUE}, null, false);
- getterMap_.add(LANGUAGE_ID, USRI0300_, "receiverVariable.languageID");
- setterMap_.add(LANGUAGE_ID, CHGUSRPRF_, "LANGID");
- }
-
-
-
- /**
- Attribute ID for last name. This identifies a String
- attribute, which represents the last name in the user's directory entry.
- **/
- public static final String LAST_NAME = "LAST_NAME";
-
- static {
- attributes_.add(LAST_NAME, String.class, false);
- getterMap_.add(LAST_NAME, QOKSCHD_, "receiverVariable.directoryEntries.lastName.fieldValue", INDEX_0_);
- setterMap_.add(LAST_NAME, CHGDIRE_, "LSTNAM", quoteValueMapNone_);
- }
-
-
-
- /**
- Attribute ID for limit capabilities. This identifies a String
- attribute, which indicates whether the user has limited capabilites.
- Possible values are:
- <ul>
- <li>{@link #LIMIT_CAPABILITIES_PARTIAL LIMIT_CAPABILITIES_PARTIAL}
- - The user cannot change the initial program or current library.
- <li>{@link #YES YES}
- - The user cannot change the initial menu, initial program,
- or current library. The user cannot run commands from the
- command line.
- <li>{@link #NO NO}
- - The user is not limited.
- </ul>
- **/
- public static final String LIMIT_CAPABILITIES = "LIMIT_CAPABILITIES";
-
- /**
- Attribute value indicating the user cannot change the initial program or current library.
-
- @see #LIMIT_CAPABILITIES
- **/
- public static final String LIMIT_CAPABILITIES_PARTIAL = "*PARTIAL";
-
- static {
- attributes_.add(LIMIT_CAPABILITIES, String.class, false,
- new Object[] {LIMIT_CAPABILITIES_PARTIAL, YES, NO }, null, true);
- getterMap_.add(LIMIT_CAPABILITIES, USRI0200_, "receiverVariable.limitCapabilities");
- getterMap_.add(LIMIT_CAPABILITIES, USRI0300_, "receiverVariable.limitCapabilities");
- setterMap_.add(LIMIT_CAPABILITIES, CHGUSRPRF_, "LMTCPB");
- }
-
-
-
- /**
- Attribute ID for limit device sessions. This identifies a String
- attribute, which indicates whether the user is limited to one device
- session. Possible values are:
- <ul>
- <li>{@link #SYSTEM_VALUE SYSTEM_VALUE}
- - The system value QLMTDEVSSN determines if the user is limited to one
- device session.
- <li>{@link #YES YES}
- - The user is limited to one session.
- <li>{@link #NO NO}
- - The user is not limited to one device session.
- </ul>
- **/
- public static final String LIMIT_DEVICE_SESSIONS = "LIMIT_DEVICE_SESSIONS";
-
- static {
- attributes_.add(LIMIT_DEVICE_SESSIONS, String.class, false,
- new Object[] {SYSTEM_VALUE, YES, NO}, null, true);
- getterMap_.add(LIMIT_DEVICE_SESSIONS, USRI0300_, "receiverVariable.limitDeviceSessions");
- setterMap_.add(LIMIT_DEVICE_SESSIONS, CHGUSRPRF_, "LMTDEVSSN");
- }
-
-
-
- /**
- Attribute ID for locale job attributes. This identifies a String array
- attribute, which represents a list of attributes which are set from the locale path
- name at the time a job is started for this user. Possible values for the elements
- of this array are:
- <ul>
- <li>{@link #NONE NONE}
- - No job attributes are used from the locale path name at the time a job is
- started for this user profile. If this is specified, then no other values
- can be specified.
- <li>{@link #SYSTEM_VALUE SYSTEM_VALUE}
- - The job attributes assigned from the locale path name are determined by
- the system value QSETJOBATR at the time a job is started for this user profile.
- If this is specified, then no other values can be specified.
- <li>{@link #LOCALE_JOB_ATTRIBUTES_CCSID LOCALE_JOB_ATTRIBUTES_CCSID}
- - The coded character set identifier is set from the locale path name
- at the time a job is started for this user profile.
- <li>{@link #LOCALE_JOB_ATTRIBUTES_DATE_FORMAT LOCALE_JOB_ATTRIBUTES_DATE_FORMAT}
- - The date format is set from the locale path name
- at the time a job is started for this user profile.
- <li>{@link #LOCALE_JOB_ATTRIBUTES_DATE_SEPARATOR LOCALE_JOB_ATTRIBUTES_DATE_SEPARATOR}
- - The date separator is set from the locale path name
- at the time a job is started for this user profile.
- <li>{@link #LOCALE_JOB_ATTRIBUTES_SORT_SEQUENCE LOCALE_JOB_ATTRIBUTES_SORT_SEQUENCE}
- - The sort sequence is set from the locale path name
- at the time a job is started for this user profile.
- <li>{@link #LOCALE_JOB_ATTRIBUTES_TIME_SEPARATOR LOCALE_JOB_ATTRIBUTES_TIME_SEPARATOR}
- - The time separator is set from the locale path name
- at the time a job is started for this user profile.
- <li>{@link #LOCALE_JOB_ATTRIBUTES_DECIMAL_FORMAT LOCALE_JOB_ATTRIBUTES_DECIMAL_FORMAT}
- - The decimal format is set from the locale path name
- at the time a job is started for this user profile.
- </ul>
- **/
- public static final String LOCALE_JOB_ATTRIBUTES = "LOCALE_JOB_ATTRIBUTES";
-
- /**
- Attribute value indicating that the coded character set identifier is set from the locale path name
- at the time a job is started for this user profile.
-
- @see #LOCALE_JOB_ATTRIBUTES
- **/
- public static final String LOCALE_JOB_ATTRIBUTES_CCSID = "*CCSID";
-
- /**
- Attribute value indicating that the date format is set from the locale path name
- at the time a job is started for this user profile.
-
- @see #LOCALE_JOB_ATTRIBUTES
- **/
- public static final String LOCALE_JOB_ATTRIBUTES_DATE_FORMAT = "*DATFMT";
-
- /**
- Attribute value indicating that the date separator is set from the locale path name
- at the time a job is started for this user profile.
-
- @see #LOCALE_JOB_ATTRIBUTES
- **/
- public static final String LOCALE_JOB_ATTRIBUTES_DATE_SEPARATOR = "*DATSEP";
-
- /**
- Attribute value indicating that the sort sequence is set from the locale path name
- at the time a job is started for this user profile.
-
- @see #LOCALE_JOB_ATTRIBUTES
- **/
- public static final String LOCALE_JOB_ATTRIBUTES_SORT_SEQUENCE = "*SRTSEQ";
-
- /**
- Attribute value indicating that the time separator is set from the locale path name
- at the time a job is started for this user profile.
-
- @see #LOCALE_JOB_ATTRIBUTES
- **/
- public static final String LOCALE_JOB_ATTRIBUTES_TIME_SEPARATOR = "*TIMSEP";
-
- /**
- Attribute value indicating that the decimal format is set from the locale path name
- at the time a job is started for this user profile.
-
- @see #LOCALE_JOB_ATTRIBUTES
- **/
- public static final String LOCALE_JOB_ATTRIBUTES_DECIMAL_FORMAT = "*DECFMT";
-
- static {
- String[] possibleValues = new String[] {NONE,
- SYSTEM_VALUE,
- LOCALE_JOB_ATTRIBUTES_CCSID,
- LOCALE_JOB_ATTRIBUTES_DATE_FORMAT,
- LOCALE_JOB_ATTRIBUTES_DATE_SEPARATOR,
- LOCALE_JOB_ATTRIBUTES_SORT_SEQUENCE,
- LOCALE_JOB_ATTRIBUTES_TIME_SEPARATOR,
- LOCALE_JOB_ATTRIBUTES_DECIMAL_FORMAT};
- attributes_.add(LOCALE_JOB_ATTRIBUTES, String.class, false,
- possibleValues, null, true, true);
- ValueMap valueMap = new OptionsValueMap('N', 'Y', possibleValues);
- getterMap_.add(LOCALE_JOB_ATTRIBUTES, USRI0300_, "receiverVariable.localeJobAttributes", valueMap);
- setterMap_.add(LOCALE_JOB_ATTRIBUTES, CHGUSRPRF_, "SETJOBATR", arrayValueMapNone_); //@B1C
- }
-
-
-
- /**
- Attribute ID for locale p