org.openpermis.editor.policy.gui.binding
Class ObligationNameConverter
java.lang.Object
org.jdesktop.beansbinding.Converter<String,String>
org.openpermis.editor.policy.gui.binding.ObligationNameConverter
public class ObligationNameConverter
- extends org.jdesktop.beansbinding.Converter<String,String>
Converter that converts String
to String
and vice versa.
- Since:
- 0.3.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
presenter
private ObligationPresenter presenter
ObligationNameConverter
public ObligationNameConverter(ObligationPresenter presenter)
- Since:
- 0.3.0
convertForward
public String convertForward(String value)
- Specified by:
convertForward
in class org.jdesktop.beansbinding.Converter<String,String>
- Notes:
- Add name validity rule and auto-extensions here.
- Since:
- 0.3.0
obligationTextInUse
private boolean obligationTextInUse(String text)
- Check if a obligation text is already used by another Obligation.
- Parameters:
text
- text of the obligation
- Returns:
- if text if already used
- Since:
- 0.3.0
convertReverse
public String convertReverse(String value)
- Specified by:
convertReverse
in class org.jdesktop.beansbinding.Converter<String,String>
- Since:
- 0.3.0
PERMIS Role Based Access Control 0.3.0 (Build 14)
2009/05/08 09:06:48
Copyright (c) 2002-2007 Ergon Informatik AG