class Ids {

    
    private final ITemplateContext context;
    
    
    public String seq(final Object id) {<FILL_FUNCTION_BODY>}
    
    public String next(final Object id) {
        Validate.notNull(id, "ID cannot be null");
        final String str = id.toString();
        return str + this.context.getIdentifierSequences().getNextIDSeq(str);
    }
    
    public String prev(final Object id) {
        Validate.notNull(id, "ID cannot be null");
        final String str = id.toString();
        return str + this.context.getIdentifierSequences().getPreviousIDSeq(str);
    }
    

    
    public Ids(final ITemplateContext context) {
        super();
        Validate.notNull(context, "Context cannot be null");
        this.context = context;
    }
    
}

        Validate.notNull(id, "ID cannot be null");
        final String str = id.toString();
        return str + this.context.getIdentifierSequences().getAndIncrementIDSeq(str);
    
<no_super_class>