
org.eclipse.dirigible.database.ds.model.DataStructureTableConstraintModel Maven / Gradle / Ivy
/**
* Copyright (c) 2010-2018 SAP and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* SAP - initial API and implementation
*/
package org.eclipse.dirigible.database.ds.model;
/**
* The Data Structure Table Constraint Model.
*/
public class DataStructureTableConstraintModel {
private String name;
private String[] modifiers;
private String[] columns;
/**
* Gets the name.
*
* @return the name
*/
public String getName() {
return name;
}
/**
* Sets the name.
*
* @param name the new name
*/
public void setName(String name) {
this.name = name;
}
/**
* Gets the modifiers.
*
* @return the modifiers
*/
public String[] getModifiers() {
return (modifiers != null) ? modifiers.clone() : null;
}
/**
* Sets the modifiers.
*
* @param modifiers the new modifiers
*/
public void setModifiers(String[] modifiers) {
this.modifiers = modifiers;
}
/**
* Gets the columns.
*
* @return the columns
*/
public String[] getColumns() {
return (columns != null) ? columns.clone() : null;
}
/**
* Sets the columns.
*
* @param columns the new columns
*/
public void setColumns(String[] columns) {
this.columns = columns;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy