You need to sign in to do that
Don't have an account?
suneel.patchipulusu@gmail.com
What are the Attributes and Methods??
Hello all
Could any one tell us what are the attributes and what are the Operations or methods in the belo mention code, I am trying to draw an Class UML diagram???
public with sharing class SharedConstants { private static final String STD_OPP_RECORDTYPE = 'Standard_Opportunity'; //use Singleton to query the RecordType only if really needed public static ID STD_OPP_RECORDTYPE_ID { get { if(STD_OPP_RECORDTYPE_ID == null) { STD_OPP_RECORDTYPE_ID = [SELECT Id FROM RecordType WHERE DeveloperName = :STD_OPP_RECORDTYPE AND SobjectType = 'Opportunity' LIMIT 1].Id; } return STD_OPP_RECORDTYPE_ID; } } }
Thanks in advance
STD_OPP_RECORDTYPE
STD_OPP_RECORDTYPE_ID are attributes. The latter has a getter method.
All Answers
STD_OPP_RECORDTYPE
STD_OPP_RECORDTYPE_ID are attributes. The latter has a getter method.
Thanks