function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
suneel.patchipulusu@gmail.comsuneel.patchipulusu@gmail.com 

correction of method

public with sharing class SharedConstants {
	private static final String STD_CUSTOMER_ACC_RECORDTYPE = 'Standard_Customer';
		
	public static ID STD_CUSTOMER_ACC_RECORDTYPE_ID {
		get {
			if( /*do this*/ LIMIT 1].Id;
			}
			return STD_CUSTOMER_ACC_RECORDTYPE_ID;
		}
	}

 

I have a class called 'Shared Constants' and it has an string attribute, here I have a question

Can I say  the below one is a method.and which returns an ID?? Is it correct

 

public static ID STD_CUSTOMER_ACC_RECORDTYPE_ID

+STD_CUSTOMER_ACC_RECORDTYPE_ID():ID can I specify llike this in a class diagram in the method section??????

Thanks in Advance