AD属性常量类
参考:http://www.selfadsi.org/user-attributes.htm
- namespace Common
- {
- /// <summary>
- /// AD中的属性,没有出现的后续接着补充
- /// </summary>
- public class LdapUserEntryProperty
- {
- public static string AccountExpires
- {
- get
- {
- return "accountExpires";
- }
- }
- public static string AccountNameHistory
- {
- get { return "accountNameHistory"; }
- }
- public static string ACSPolicyName
- {
- get { return "aCSPolicyName"; }
- }
- public static string AdminCount
- {
- get
- {
- return "adminCount";
- }
- }
- public static string AdminDescription
- {
- get
- {
- return "adminDescription";
- }
- }
- public static string AdminDisplayName
- {
- get
- {
- return "adminDisplayName";
- }
- }
- public static string ADsPath
- {
- get
- {
- return "ADsPath";
- }
- }
- public static string AltRecipient
- {
- get
- {
- return "altRecipient";
- }
- }
- public static string AltRecipientBL
- {
- get
- {
- return "altRecipientBL";
- }
- }
- public static string AltSecurityIdentities
- {
- get
- {
- return "altSecurityIdentities";
- }
- }
- public static string Assistant
- {
- get
- {
- return "assistant";
- }
- }
- public static string AuthOrig
- {
- get
- {
- return "authOrig";
- }
- }
- public static string AuthOrigBL
- {
- get
- {
- return "authOrigBL";
- }
- }
- public static string AutoReplyMessage
- {
- get
- {
- return "autoReplyMessage";
- }
- }
- public static string BadPasswordTime
- {
- get
- {
- return "badPasswordTime";
- }
- }
- public static string BadPwdCount
- {
- get
- {
- return "badPwdCount";
- }
- }
- /// <summary>
- /// c (Country)
- /// </summary>
- /// <param name=""></param>
- /// <returns></returns>
- public static string C
- {
- get
- {
- return "c";
- }
- }
- public static string CanonicalName
- {
- get
- {
- return "canonicalName";
- }
- }
- public static string Class
- {
- get
- {
- return "Class";
- }
- }
- /// <summary>
- /// Country
- /// </summary>
- /// <returns></returns>
- public static string Co
- {
- get
- {
- return "co";
- }
- }
- public static string Comment
- {
- get
- {
- return "comment";
- }
- }
- public static string Company
- {
- get
- {
- return "company";
- }
- }
- public static string CountryCode
- {
- get
- {
- return "countryCode";
- }
- }
- public static string CreateTimeStamp
- {
- get
- {
- return "createTimeStamp";
- }
- }
- public static string DeletedItemFlags
- {
- get
- {
- return "deletedItemFlags";
- }
- }
- public static string DelivContLength
- {
- get
- {
- return "delivContLength";
- }
- }
- public static string DeliverAndRedirect
- {
- get
- {
- return "deliverAndRedirect";
- }
- }
- public static string Department
- {
- get
- {
- return "department";
- }
- }
- public static string DepartmentNumber
- {
- get
- {
- return "departmentNumber";
- }
- }
- public static string Description
- {
- get
- {
- return "description";
- }
- }
- public static string DirectReports
- {
- get
- {
- return "directReports";
- }
- }
- public static string DisplayName
- {
- get
- {
- return "displayName";
- }
- }
- public static string DisplayNamePrintable
- {
- get
- {
- return "displayNamePrintable";
- }
- }
- public static string DistinguishedName
- {
- get
- {
- return "distinguishedName";
- }
- }
- public static string Division
- {
- get
- {
- return "division";
- }
- }
- public static string DLMemRejectPerms
- {
- get
- {
- return "dLMemRejectPerms";
- }
- }
- public static string DLMemRejectPermsBL
- {
- get
- {
- return "dLMemRejectPermsBL";
- }
- }
- public static string DLMemSubmitPerms
- {
- get
- {
- return "dLMemSubmitPerms";
- }
- }
- public static string DLMemSubmitPermsBL
- {
- get
- {
- return "dLMemSubmitPermsBL";
- }
- }
- public static string EmployeeID
- {
- get
- {
- return "employeeID";
- }
- }
- public static string EmployeeNumber
- {
- get
- {
- return "employeeNumber";
- }
- }
- public static string EmployeeType
- {
- get
- {
- return "employeeType";
- }
- }
- public static string ExtensionData
- {
- get
- {
- return "extensionData";
- }
- }
- public static string ExtensionAttribute1
- {
- get
- {
- return "extensionAttribute1";
- }
- }
- public static string ExtensionAttribute2
- {
- get
- {
- return "extensionAttribute2";
- }
- }
- public static string ExtensionAttribute3
- {
- get
- {
- return "extensionAttribute3";
- }
- }
- public static string ExtensionAttribute4
- {
- get
- {
- return "extensionAttribute4";
- }
- }
- public static string ExtensionAttribute5
- {
- get
- {
- return "extensionAttribute5";
- }
- }
- public static string ExtensionAttribute6
- {
- get
- {
- return "extensionAttribute6";
- }
- }
- public static string ExtensionAttribute7
- {
- get
- {
- return "extensionAttribute7";
- }
- }
- public static string ExtensionAttribute8
- {
- get
- {
- return "extensionAttribute8";
- }
- }
- public static string ExtensionAttribute9
- {
- get
- {
- return "extensionAttribute9";
- }
- }
- public static string ExtensionAttribute10
- {
- get
- {
- return "extensionAttribute10";
- }
- }
- public static string ExtensionAttribute11
- {
- get
- {
- return "extensionAttribute11";
- }
- }
- public static string ExtensionAttribute12
- {
- get
- {
- return "extensionAttribute12";
- }
- }
- public static string ExtensionAttribute13
- {
- get
- {
- return "extensionAttribute13";
- }
- }
- public static string ExtensionAttribute14
- {
- get
- {
- return "extensionAttribute14";
- }
- }
- public static string ExtensionAttribute15
- {
- get
- {
- return "extensionAttribute15";
- }
- }
- public static string FacsimileTelephoneNumber
- {
- get
- {
- return "facsimileTelephoneNumber";
- }
- }
- public static string GarbageCollPeriod
- {
- get
- {
- return "garbageCollPeriod";
- }
- }
- public static string GivenName
- {
- get
- {
- return "givenName";
- }
- }
- public static string HomeDirectory
- {
- get
- {
- return "homeDirectory";
- }
- }
- public static string HomeDrive
- {
- get
- {
- return "homeDrive";
- }
- }
- public static string HomeMDB
- {
- get
- {
- return "homeMDB";
- }
- }
- public static string HomeMTA
- {
- get
- {
- return "homeMTA";
- }
- }
- public static string HomePhone
- {
- get
- {
- return "homePhone";
- }
- }
- public static string Info
- {
- get
- {
- return "info";
- }
- }
- public static string Initials
- {
- get
- {
- return "initials";
- }
- }
- public static string IpPhone
- {
- get
- {
- return "ipPhone";
- }
- }
- public static string IsDeleted
- {
- get
- {
- return "isDeleted";
- }
- }
- public static string IsRecycled
- {
- get
- {
- return "isRecycled";
- }
- }
- /// <summary>
- /// (Location)
- /// </summary>
- public static string L
- {
- get
- {
- return "l";
- }
- }
- public static string LastKnownParent
- {
- get
- {
- return "lastKnownParent";
- }
- }
- public static string LastLogoff
- {
- get
- {
- return "lastLogoff";
- }
- }
- public static string LastLogon
- {
- get
- {
- return "lastLogon";
- }
- }
- public static string LastLogonTimestamp
- {
- get
- {
- return "lastLogonTimestamp";
- }
- }
- public static string LegacyExchangeDN
- {
- get
- {
- return "legacyExchangeDN";
- }
- }
- public static string LockoutTime
- {
- get
- {
- return "lockoutTime";
- }
- }
- public static string LogonCount
- {
- get
- {
- return "logonCount";
- }
- }
- public static string LogonHours
- {
- get
- {
- return "logonHours";
- }
- }
- public static string Mail
- {
- get
- {
- return "mail";
- }
- }
- public static string MailNickname
- {
- get
- {
- return "mailNickname";
- }
- }
- public static string Manager
- {
- get
- {
- return "manager";
- }
- }
- public static string ManagedBy
- {
- get
- {
- return "managedBy";
- }
- }
- public static string MDBOverHardQuotaLimit
- {
- get
- {
- return "mDBOverHardQuotaLimit";
- }
- }
- public static string MDBOverQuotaLimit
- {
- get
- {
- return "mDBOverQuotaLimit";
- }
- }
- public static string MDBStorageQuota
- {
- get
- {
- return "mDBStorageQuota";
- }
- }
- public static string MDBUseDefaults
- {
- get
- {
- return "mDBUseDefaults";
- }
- }
- public static string MemberOf
- {
- get
- {
- return "memberOf";
- }
- }
- public static string Member
- {
- get
- {
- return "member";
- }
- }
- public static string Mobile
- {
- get
- {
- return "mobile";
- }
- }
- public static string ModifyTimeStamp
- {
- get
- {
- return "modifyTimeStamp";
- }
- }
- public static string MsCOM_UserPartitionSetLink
- {
- get
- {
- return "msCOM-UserPartitionSetLink";
- }
- }
- public static string MsDS_User_Account_Control_Computed
- {
- get
- {
- return "msDS-User-Account-Control-Computed";
- }
- }
- public static string MsDS_UserPassword
- {
- get
- {
- return "msDS-UserPassword";
- }
- }
- public static string MsExchHideFromAddressLists
- {
- get
- {
- return "msExchHideFromAddressLists";
- }
- }
- public static string MsExchHomeServerName
- {
- get
- {
- return "msExchHomeServerName";
- }
- }
- public static string ExpiryTimeComputed
- {
- get
- {
- return "ExpiryTimeComputed";
- }
- }
- public static string MsExchMailboxSecurityDescriptor
- {
- get
- {
- return "msExchMailboxSecurityDescriptor";
- }
- }
- public static string MsExchMasterAccountSID
- {
- get
- {
- return "msExchMasterAccountSID";
- }
- }
- public static string MsExchOmaAdminWirelessEnable
- {
- get
- {
- return "msExchOmaAdminWirelessEnable";
- }
- }
- public static string MsExchPoliciesExcluded
- {
- get
- {
- return "msExchPoliciesExcluded";
- }
- }
- public static string MsExchRecipLimit
- {
- get
- {
- return "msExchRecipLimit";
- }
- }
- public static string MsExchRBACPolicyLink
- {
- get
- {
- return "msExchRBACPolicyLink";
- }
- }
- public static string MsExchRequireAuthToSendTo
- {
- get
- {
- return "msExchRequireAuthToSendTo";
- }
- }
- public static string MsExchUserAccountControl
- {
- get
- {
- return "msExchUserAccountControl";
- }
- }
- public static string MsExchWhenMailboxCreated
- {
- get
- {
- return "msExchWhenMailboxCreated";
- }
- }
- public static string MsNPAllowDialin
- {
- get
- {
- return "msNPAllowDialin";
- }
- }
- public static string MsNPCallingStationID
- {
- get
- {
- return "msNPCallingStationID";
- }
- }
- public static string MsNPSavedCallingStationID
- {
- get
- {
- return "msNPSavedCallingStationID";
- }
- }
- public static string MsRADIUSCallbackNumber
- {
- get
- {
- return "msRADIUSCallbackNumber";
- }
- }
- public static string MsRADIUSFramedIPAddress
- {
- get
- {
- return "msRADIUSFramedIPAddress";
- }
- }
- public static string MsRADIUSFramedRoute
- {
- get
- {
- return "msRADIUSFramedRoute";
- }
- }
- public static string MsRADIUSServiceType
- {
- get
- {
- return "msRADIUSServiceType";
- }
- }
- public static string MsRASSavedCallbackNumber
- {
- get
- {
- return "msRASSavedCallbackNumber";
- }
- }
- public static string MsRASSavedFramedIPAddress
- {
- get
- {
- return "msRASSavedFramedIPAddress";
- }
- }
- public static string MsRASSavedFramedRoute
- {
- get
- {
- return "msRASSavedFramedRoute";
- }
- }
- public static string MsSFU30GidNumber
- {
- get
- {
- return "msSFU30GidNumber";
- }
- }
- public static string MsSFU30HomeDirectory
- {
- get
- {
- return "msSFU30HomeDirectory";
- }
- }
- public static string MsSFU30LoginShell
- {
- get
- {
- return "msSFU30LoginShell";
- }
- }
- public static string MsSFU30Name
- {
- get
- {
- return "msSFU30Name";
- }
- }
- public static string MsSFU30NisDomain
- {
- get
- {
- return "msSFU30NisDomain";
- }
- }
- public static string MsSFU30Password
- {
- get
- {
- return "msSFU30Password";
- }
- }
- public static string MsSFU30UidNumber
- {
- get
- {
- return "msSFU30UidNumber";
- }
- }
- public static string Name
- {
- get
- {
- return "name";
- }
- }
- public static string NTSecurityDescriptor
- {
- get
- {
- return "nTSecurityDescriptor";
- }
- }
- public static string ObjectCategory
- {
- get
- {
- return "objectCategory";
- }
- }
- public static string ObjectClass
- {
- get
- {
- return "objectClass";
- }
- }
- public static string ObjectGUID
- {
- get
- {
- return "objectGUID";
- }
- }
- public static string ObjectSid
- {
- get
- {
- return "objectSid";
- }
- }
- public static string OtherFacsimileTelephoneNumber
- {
- get
- {
- return "otherFacsimileTelephoneNumber";
- }
- }
- public static string OtherHomePhone
- {
- get
- {
- return "otherHomePhone";
- }
- }
- public static string OtherIpPhone
- {
- get
- {
- return "otherIpPhone";
- }
- }
- public static string OtherMobile
- {
- get
- {
- return "otherMobile";
- }
- }
- public static string OtherPager
- {
- get
- {
- return "otherPager";
- }
- }
- public static string OtherTelephone
- {
- get
- {
- return "otherTelephone";
- }
- }
- public static string Pager
- {
- get
- {
- return "pager";
- }
- }
- public static string Parent
- {
- get
- {
- return "Parent";
- }
- }
- public static string PhysicalDeliveryOfficeName
- {
- get
- {
- return "physicalDeliveryOfficeName";
- }
- }
- public static string PostalCode
- {
- get
- {
- return "postalCode";
- }
- }
- public static string PostOfficeBox
- {
- get
- {
- return "postOfficeBox";
- }
- }
- public static string GroupType
- {
- get
- {
- return "groupType";
- }
- }
- public static string PrimaryGroupID
- {
- get
- {
- return "primaryGroupID";
- }
- }
- public static string ProfilePath
- {
- get
- {
- return "profilePath";
- }
- }
- public static string ProtocolSettings
- {
- get
- {
- return "protocolSettings";
- }
- }
- public static string ProxyAddresses
- {
- get
- {
- return "proxyAddresses";
- }
- }
- public static string PublicDelegates
- {
- get
- {
- return "publicDelegates";
- }
- }
- public static string PublicDelegatesBL
- {
- get
- {
- return "publicDelegatesBL";
- }
- }
- public static string PwdLastSet
- {
- get
- {
- return "pwdLastSet";
- }
- }
- public static string SAMAccountName
- {
- get
- {
- return "sAMAccountName";
- }
- }
- public static string ScriptPath
- {
- get
- {
- return "scriptPath";
- }
- }
- public static string SeeAlso
- {
- get
- {
- return "seeAlso";
- }
- }
- public static string SecurityProtocol
- {
- get
- {
- return "securityProtocol";
- }
- }
- public static string SIDHistory
- {
- get
- {
- return "sIDHistory";
- }
- }
- /// <summary>
- /// (Surname)
- /// </summary>
- public static string Sn
- {
- get
- {
- return "sn";
- }
- }
- /// <summary>
- /// (State)
- /// </summary>
- public static string St
- {
- get
- {
- return "st";
- }
- }
- public static string StreetAddress
- {
- get
- {
- return "streetAddress";
- }
- }
- public static string SubmissionContLength
- {
- get
- {
- return "submissionContLength";
- }
- }
- public static string TelephoneNumber
- {
- get
- {
- return "telephoneNumber";
- }
- }
- public static string TextEncodedORAddress
- {
- get
- {
- return "textEncodedORAddress";
- }
- }
- public static string Title
- {
- get
- {
- return "title";
- }
- }
- public static string UnauthOrig
- {
- get
- {
- return "unauthOrig";
- }
- }
- public static string UnauthOrigBL
- {
- get
- {
- return "unauthOrigBL";
- }
- }
- public static string Url
- {
- get
- {
- return "url";
- }
- }
- public static string UserAccountControl
- {
- get
- {
- return "userAccountControl";
- }
- }
- public static string UserCertificate
- {
- get
- {
- return "userCertificate";
- }
- }
- public static string UserParameters
- {
- get
- {
- return "userParameters";
- }
- }
- public static string UserPrincipalName
- {
- get
- {
- return "userPrincipalName";
- }
- }
- public static string UserWorkstations
- {
- get
- {
- return "userWorkstations";
- }
- }
- public static string USNChanged
- {
- get
- {
- return "uSNChanged";
- }
- }
- public static string USNCreated
- {
- get
- {
- return "uSNCreated";
- }
- }
- public static string WhenChanged
- {
- get
- {
- return "whenChanged";
- }
- }
- public static string WhenCreated
- {
- get
- {
- return "whenCreated";
- }
- }
- public static string WWWHomePage
- {
- get
- {
- return "wWWHomePage";
- }
- }
- public static string MsDRM_IdentityCertificate
- {
- get
- {
- return "msDRM-IdentityCertificate";
- }
- }
- public static string MsDS_AllowedToActOnBehalfOfOtherIdentity
- {
- get
- {
- return "msDS-AllowedToActOnBehalfOfOtherIdentity";
- }
- }
- public static string MsDS_AllowedToDelegateTo
- {
- get
- {
- return "msDS-AllowedToDelegateTo";
- }
- }
- public static string MsDS_AssignedAuthNPolicy
- {
- get
- {
- return "msDS-AssignedAuthNPolicy";
- }
- }
- public static string MsDS_AssignedAuthNPolicySilo
- {
- get
- {
- return "msDS-AssignedAuthNPolicySilo";
- }
- }
- public static string MsDS_AuthenticatedAtDC
- {
- get
- {
- return "msDS-AuthenticatedAtDC";
- }
- }
- public static string MsDS_Cached_Membership
- {
- get
- {
- return "msDS-Cached-Membership";
- }
- }
- public static string MsDS_Cached_Membership_Time_Stamp
- {
- get
- {
- return "msDS-Cached-Membership-Time-Stamp";
- }
- }
- public static string MsDS_CloudAnchor
- {
- get
- {
- return "msDS-CloudAnchor";
- }
- }
- public static string MsDS_cloudExtensionAttribute1
- {
- get
- {
- return "msDS-cloudExtensionAttribute1";
- }
- }
- public static string MsDS_cloudExtensionAttribute2
- {
- get
- {
- return "msDS-cloudExtensionAttribute2";
- }
- }
- public static string MsDS_cloudExtensionAttribute3
- {
- get
- {
- return "msDS-cloudExtensionAttribute3";
- }
- }
- public static string MsDS_cloudExtensionAttribute4
- {
- get
- {
- return "msDS-cloudExtensionAttribute4";
- }
- }
- public static string MsDS_cloudExtensionAttribute5
- {
- get
- {
- return "msDS-cloudExtensionAttribute5";
- }
- }
- public static string MsDS_cloudExtensionAttribute6
- {
- get
- {
- return "msDS-cloudExtensionAttribute6";
- }
- }
- public static string MsDS_cloudExtensionAttribute7
- {
- get
- {
- return "msDS-cloudExtensionAttribute7";
- }
- }
- public static string MsDS_cloudExtensionAttribute8
- {
- get
- {
- return "msDS-cloudExtensionAttribute8";
- }
- }
- public static string MsDS_cloudExtensionAttribute9
- {
- get
- {
- return "msDS-cloudExtensionAttribute9";
- }
- }
- public static string MsDS_cloudExtensionAttribute10
- {
- get
- {
- return "msDS-cloudExtensionAttribute10";
- }
- }
- public static string MsDS_cloudExtensionAttribute11
- {
- get
- {
- return "msDS-cloudExtensionAttribute11";
- }
- }
- public static string MsDS_cloudExtensionAttribute12
- {
- get
- {
- return "msDS-cloudExtensionAttribute12";
- }
- }
- public static string MsDS_cloudExtensionAttribute13
- {
- get
- {
- return "msDS-cloudExtensionAttribute13";
- }
- }
- public static string MsDS_cloudExtensionAttribute14
- {
- get
- {
- return "msDS-cloudExtensionAttribute14";
- }
- }
- public static string MsDS_cloudExtensionAttribute15
- {
- get
- {
- return "msDS-cloudExtensionAttribute15";
- }
- }
- public static string MsDS_cloudExtensionAttribute16
- {
- get
- {
- return "msDS-cloudExtensionAttribute16";
- }
- }
- public static string MsDS_cloudExtensionAttribute17
- {
- get
- {
- return "msDS-cloudExtensionAttribute17";
- }
- }
- public static string MsDS_cloudExtensionAttribute18
- {
- get
- {
- return "msDS-cloudExtensionAttribute18";
- }
- }
- public static string MsDS_cloudExtensionAttribute19
- {
- get
- {
- return "msDS-cloudExtensionAttribute19";
- }
- }
- public static string MsDS_cloudExtensionAttribute20
- {
- get
- {
- return "msDS-cloudExtensionAttribute20";
- }
- }
- public static string MS_DS_ConsistencyChildCount
- {
- get
- {
- return "mS-DS-ConsistencyChildCount";
- }
- }
- public static string MS_DS_ConsistencyGuid
- {
- get
- {
- return "mS-DS-ConsistencyGuid";
- }
- }
- public static string MS_DS_CreatorSID
- {
- get
- {
- return "mS-DS-CreatorSID";
- }
- }
- public static string MsDS_ExternalDirectoryObjectId
- {
- get
- {
- return "msDS-ExternalDirectoryObjectId";
- }
- }
- public static string MsDS_FailedInteractiveLogonCount
- {
- get
- {
- return "msDS-FailedInteractiveLogonCount";
- }
- }
- public static string MsDS_FailedInteractiveLogonCountAtLastSuccessfulLogon
- {
- get
- {
- return "msDS-FailedInteractiveLogonCountAtLastSuccessfulLogon";
- }
- }
- public static string MsDS_GeoCoordinatesAltitude
- {
- get
- {
- return "msDS-GeoCoordinatesAltitude";
- }
- }
- public static string MsDS_GeoCoordinatesLatitude
- {
- get
- {
- return "msDS-GeoCoordinatesLatitude";
- }
- }
- public static string MsDS_GeoCoordinatesLongitude
- {
- get
- {
- return "msDS-GeoCoordinatesLongitude";
- }
- }
- public static string MsDS_HABSeniorityIndex
- {
- get
- {
- return "msDS-HABSeniorityIndex";
- }
- }
- public static string MsDS_KeyCredentialLink
- {
- get
- {
- return "msDS-KeyCredentialLink";
- }
- }
- public static string MsDS_LastFailedInteractiveLogonTime
- {
- get
- {
- return "msDS-LastFailedInteractiveLogonTime";
- }
- }
- public static string MsDS_LastKnownRDN
- {
- get
- {
- return "msDS-LastKnownRDN";
- }
- }
- public static string MsDS_LastSuccessfulInteractiveLogonTime
- {
- get
- {
- return "msDS-LastSuccessfulInteractiveLogonTime";
- }
- }
- public static string MsDS_NcType
- {
- get
- {
- return "msDS-NcType";
- }
- }
- public static string MsDS_ObjectSoa
- {
- get
- {
- return "msDS-ObjectSoa";
- }
- }
- public static string MsDS_PhoneticCompanyName
- {
- get
- {
- return "msDS-PhoneticCompanyName";
- }
- }
- public static string MsDS_PhoneticDepartment
- {
- get
- {
- return "msDS-PhoneticDepartment";
- }
- }
- public static string MsDS_PhoneticDisplayName
- {
- get
- {
- return "msDS-PhoneticDisplayName";
- }
- }
- public static string MsDS_PhoneticFirstName
- {
- get
- {
- return "msDS-PhoneticFirstName";
- }
- }
- public static string NtSecurityDescriptor
- {
- get
- {
- return "ntSecurityDescriptor";
- }
- }
- public static string ThumbnailPhoto
- {
- get
- {
- return "thumbnailPhoto";
- }
- }
- public static string IsCriticalSystemObject
- {
- get
- {
- return "isCriticalSystemObject";
- }
- }
- }
- }
AD属性常量类
AD属性常量类的更多相关文章
- PHP面向对象学习-属性 类常量 类的自动加载 构造函数和析构函数 访问控制(可见性)
在类的成员方法里面,可以用 ->(对象运算符):$this->property(其中 property 是该属性名)这种方式来访问非静态属性.静态属性则是用 ::(双冒号):self::$ ...
- [一]class 文件浅析 .class文件格式详解 字段方法属性常量池字段 class文件属性表 数据类型 数据结构
前言概述 本文旨在讲解class文件的整体结构信息,阅读本文后应该可以完整的了解class文件的格式以及各个部分的逻辑组成含义 class文件包含了java虚拟机指令集 和 符号表 以及若 ...
- Python面向对象 -- 继承和多态、获取对象信息、实例属性和类属性
继承和多态 继承的好处: 1,子类可以使用父类的全部功能 2,多态:当子类和父类都存在相同的方法时,子类的方法会覆盖父类的方法,即调用时会调用子类的方法.这就是继承的另一个好处:多态. 多态: 调用方 ...
- Java中由常量类引发的思考
我们都知道,定义一个常量类是十分简单的.首先差固件一个类,然后类中声明一些public修饰的静态常量.没错就这么简单: 写好之后,在其他地方使用的时候,直接类名.属性名就可以使用了. 而LZ现在想的是 ...
- java常量类的实现方式_枚举类_项目实践
前言 众所周知,系统里有很多比如订单状态.审核状态:性别.结算方式.交易类型等属性,这些属性只有几个值,一般用0.1.2.3等的数字标识存入数据库,每次对这些属性所属对象的增删改操作,都会在代码里给状 ...
- 【记录】mybatis中获取常量类中数据
部分转载,已注明来源: 1.mybatis中获取常量类中数据 <update id="refuseDebt"> UPDATE dt_debt a SET ...
- Python 定义自己的常量类
在实际的程序开发中,我们通常会将一个不可变的变量声明为一个常量.在很多高级语言中都会提供常量的关键字来定义常量,如 C++ 中的 const , Java 中的 final 等,但是 Python 语 ...
- 【Python】[面性对象编程] 获取对象信息,实例属性和类属性
获取对象信息1.使用isinstance()判断class类型2.dir() 返回一个对象的所有属性和方法3.如果试图获取不存在的对象会抛出异常[AttributeError]4.正确利用对象内置函数 ...
- python基础——实例属性和类属性
python基础——实例属性和类属性 由于Python是动态语言,根据类创建的实例可以任意绑定属性. 给实例绑定属性的方法是通过实例变量,或者通过self变量: class Student(objec ...
随机推荐
- hadoop再次集群搭建(5)-CDH Install
登录 http://node1.com:7180/.用户名和密码都是admin.启动服务命令是 service cloudera-scm-server start 最开始两个页面直接conti ...
- oracle DDL(create、alter、drop)
一.创建表1.创建表CREATE TABLE <table_name>( column1 DATATYPE [NOT NULL] [PRIMARY KEY], column2 DATATY ...
- ActiveMQ (三) Spring整合JMS入门
Spring整合JMS入门 前提:安装好了ActiveMQ ActiveMQ安装 Demo结构: 生产者项目springjms_producer: pom.xml <?xml versio ...
- Hbuilder实用技巧(转)
Hbuilder实用技巧 原创 2016年05月19日 10:25:42 标签: hbuilder 操作 16551 1. Q:怎么实现代码追踪? A:在编辑代码时经常会出现需要跳转到引用文件或者变量 ...
- SQl Server 与数据库的第一次相遇
数据库就是 数据库(Database)是按照数据结构来组织.存储和管理数据的仓库,简单说就是存储在硬盘上的文件. 市面上常见数据库有<关系数据库系统>: ORACLE(甲骨文).DB2.S ...
- iOS UITableView制作类似QQ好友列表视图
#import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDele ...
- Linux,du、df统计的硬盘使用情况不一致问题
[转]http://blog.linezing.com/?p=2136 Linux,du.df统计的硬盘使用情况不一致问题 在运维Linux服务器时,会碰到需要查看硬盘空间的情况,这时候,通常会使 ...
- css选择器的一些说明
标签选择器.ID选择器.类选择器 这三个很简单,没啥可说的. 子选择器得说一下. <ul class="food"> <li>水果 &l ...
- 算法Sedgewick第四版-第1章基础-1.4 Analysis of Algorithms-004计算内存
1. 2. 3.字符串
- C语言-郝斌笔记-005菲波拉契序列
菲波拉契序列 /* 菲波拉契序列 1 2 3 5 8 13 21 34 */ # include <stdio.h> int main(void) { int n; int f1, f2, ...