package org.eclipse.modisco.kdm.data;
import javax.persistence.Basic;
import javax.persistence.Entity;
import org.eclipse.emf.texo.test.TexoTestObjectConverter;
import org.eclipse.emf.texo.test.TexoTestQNameConverter;
import org.eclipse.persistence.annotations.Converter;
import org.eclipse.persistence.annotations.Converters;
/**
* A representation of the model object '<em><b>ContentRestriction</b></em>'. <!-- begin-user-doc --> <!-- end-user-doc
* -->
*
* @generated
*/
@Entity(name = "data_ContentRestriction")
@Converters({ @Converter(converterClass = TexoTestObjectConverter.class, name = "TexoTestObjectConverter"),
@Converter(converterClass = TexoTestQNameConverter.class, name = "TexoTestQNameConverter") })
public class ContentRestriction extends AbstractContentElement {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Basic()
private String kind = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Basic()
private String value = null;
/**
* Returns the value of '<em><b>kind</b></em>' feature.
*
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the value of '<em><b>kind</b></em>' feature
* @generated
*/
public String getKind() {
return kind;
}
/**
* Sets the '{@link ContentRestriction#getKind() <em>kind</em>}' feature.
*
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param newKind
* the new value of the '{@link ContentRestriction#getKind() kind}' feature.
* @generated
*/
public void setKind(String newKind) {
kind = newKind;
}
/**
* Returns the value of '<em><b>value</b></em>' feature.
*
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the value of '<em><b>value</b></em>' feature
* @generated
*/
public String getValue() {
return value;
}
/**
* Sets the '{@link ContentRestriction#getValue() <em>value</em>}' feature.
*
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param newValue
* the new value of the '{@link ContentRestriction#getValue() value}' feature.
* @generated
*/
public void setValue(String newValue) {
value = newValue;
}
/**
* A toString method which prints the values of all EAttributes of this instance. <!-- begin-user-doc --> <!--
* end-user-doc -->
*
* @generated
*/
@Override
public String toString() {
return "ContentRestriction " + " [kind: " + getKind() + "]" + " [value: " + getValue() + "]" + "{extends: "
+ super.toString() + "} ";
}
}