Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.s1.objects.schema;
 
 
 import java.util.Map;

Base type for complex types
 
public abstract class ComplexType {
    protected Map<String,Objectconfig = Objects.newHashMap();

    

Returns:
    public Map<StringObjectgetConfig() {
        return ;
    }

    

Parameters:
config
    public void setConfig(Map<StringObjectconfig) {
        if(config ==null)
            config = Objects.newHashMap();
        this. = config;
    }

    

Parameters:
m
Returns:
Throws:
java.lang.Exception
    public abstract Map<StringObjectexpand(Map<StringObjectmboolean expandthrows Exception;

    

Parameters:
m
Returns:
Throws:
java.lang.Exception
    public abstract Map<StringObjectvalidate(Map<StringObjectmthrows Exception;
New to GrepCode? Check out our FAQ X