/** * Returns the type constant associated with the String value. */ protected static PrivacyRule fromString(String value) { if (value == null) { return null; } PrivacyRule rule = new PrivacyRule(); rule.setType(Type.valueOf(value.toLowerCase())); return rule; }
/** * Returns the type constant associated with the String value. */ protected static PrivacyRule fromString(String value) { if (value == null) { return null; } PrivacyRule rule = new PrivacyRule(); rule.setType(Type.valueOf(value.toLowerCase())); return rule; }
/** * Returns the type constant associated with the String value. */ protected static PrivacyRule fromString(String value) { if (value == null) { return null; } PrivacyRule rule = new PrivacyRule(); rule.setType(Type.valueOf(value.toLowerCase())); return rule; }