コード例 #1
0
 public static void propertyLabel(
     PropertyDefinition propertyDef, ApplicationService as, Session session) {
   String propName = propertyDef.getPropertyName();
   if (propName.equals(PROPERTY_NAME)) {
     propertyDef.setPropertyLabel("Phone Number");
   }
 }
コード例 #2
0
 public static void propertyLabel(
     PropertyDefinition propDef, ApplicationService as, Session session) {
   String propName = propDef.getPropertyName();
   if (propName.equals(PROPERTY_NAME)) {
     propDef.setPropertyLabel(PROPERTY_SUBJECT);
   } else if (propName.equals(PROPERTY_DESCRIPTION)) {
     propDef.setPropertyLabel("Message");
   }
 }