| | |
| | | import org.forgerock.i18n.LocalizableMessageBuilder; |
| | | import org.opends.server.api.MatchingRule; |
| | | import org.opends.server.api.AttributeSyntax; |
| | | import org.opends.server.api.SubstringMatchingRule; |
| | | import org.opends.server.types.AttributeType; |
| | | import org.forgerock.opendj.ldap.schema.AttributeUsage; |
| | | import org.opends.server.types.ObjectClass; |
| | |
| | | } |
| | | } |
| | | |
| | | private SubstringMatchingRule getSubstringMatchingRule() |
| | | private MatchingRule getSubstringMatchingRule() |
| | | { |
| | | if (substring.getSelectedIndex() == 0) |
| | | { |
| | |
| | | } |
| | | else |
| | | { |
| | | return (SubstringMatchingRule)substring.getSelectedItem(); |
| | | return (MatchingRule)substring.getSelectedItem(); |
| | | } |
| | | } |
| | | |