uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "julien nioche (JIRA)" <uima-...@incubator.apache.org>
Subject [jira] Commented: (UIMA-1188) More constraints for primitive types
Date Wed, 22 Oct 2008 13:04:44 GMT

    [ https://issues.apache.org/jira/browse/UIMA-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12641808#action_12641808
] 

julien nioche commented on UIMA-1188:
-------------------------------------

Indeed, I forgot to do "svn add" before generating the diff.

Maybe we could add the following method to FSBooleanConstraintImpl?

public String toString() {
		// need to escape quotes and backslashes
		StringBuffer buf = new StringBuffer();
		buf.append("= \"");
		buf.append(constraint);
		buf.append("\"");
		return buf.toString();
}


> More constraints for primitive types
> ------------------------------------
>
>                 Key: UIMA-1188
>                 URL: https://issues.apache.org/jira/browse/UIMA-1188
>             Project: UIMA
>          Issue Type: New Feature
>          Components: Core Java Framework
>            Reporter: julien nioche
>            Assignee: Thilo Goetz
>            Priority: Minor
>             Fix For: 2.3
>
>         Attachments: booleanConstraint.diff
>
>
> ConstraintFactory currently has the following methods:   
> createIntConstraint() 
> createFloatConstraint() 
> createStringConstraint()
> but there is corresponding constraints for bytes, shorts, longs or booleans.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message