blob: ec6abdfe87c2ae9874bc8bb0291c456c769a9def [file] [log] [blame]
/**
* Copyright (c) 2013-2016 Angelo ZERR.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Angelo Zerr <angelo.zerr@gmail.com> - initial API and implementation
*/
package org.eclipse.json.impl.schema;
import org.eclipse.json.provisonnal.com.eclipsesource.json.JsonObject;
import org.eclipse.json.schema.IJSONSchemaNode;
import org.eclipse.json.schema.IJSONSchemaProperty;
@SuppressWarnings("serial")
public class JSONSchemaProperty extends JSONSchemaNode implements
IJSONSchemaProperty {
protected final String name;
public JSONSchemaProperty(String name, JsonObject jsonObject,
IJSONSchemaNode parent) {
super(jsonObject, parent);
this.name = name;
}
@Override
public String getName() {
return name;
}
}