
org.jsimpledb.schema.SchemaField Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jsimpledb-coreapi Show documentation
Show all versions of jsimpledb-coreapi Show documentation
JSimpleDB core API classes which provide objects, fields, indexes, queries, and schema management on top of a key/value store.
/*
* Copyright (C) 2015 Archie L. Cobbs. All rights reserved.
*/
package org.jsimpledb.schema;
/**
* A field in a {@link SchemaObjectType}.
*/
public abstract class SchemaField extends AbstractSchemaItem {
/**
* Apply visitor pattern.
*
* @param target target to invoke
* @param visitor return type
* @return value from the method of {@code target} corresponding to this instance's type
* @throws NullPointerException if {@code target} is null
*/
public abstract R visit(SchemaFieldSwitch target);
// Object
@Override
public String toString() {
return "field " + super.toString();
}
// Cloneable
@Override
public SchemaField clone() {
return (SchemaField)super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy