All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.hilling.lang.metamodel.testing.ImmutableObject__Metamodel Maven / Gradle / Ivy

The newest version!
package de.hilling.lang.metamodel.testing;

import de.hilling.lang.metamodel.Attribute;
import de.hilling.lang.metamodel.AttributeImplementation;
import java.lang.Override;
import java.lang.String;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;

public abstract class ImmutableObject__Metamodel {
    private static final List ATTRIBUTES;

    public static final Attribute name;

    static {
        name = new AttributeImplementation("name", ImmutableObject.class, String.class) {
            @Override
            public String readAttribute(ImmutableObject object) {
                return object.getName();
            }
        };
        List attributesList = new LinkedList<>();
        attributesList.add(name);
        ATTRIBUTES = Collections.unmodifiableList(attributesList);
    }

    public static List attributes() {
        return ATTRIBUTES;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy