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

db.news.Tag Maven / Gradle / Ivy

There is a newer version: 1.2.3
Show newest version
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package db.news;

import db.GraphEntity;
import org.neo4j.ogm.annotation.Index;
import org.neo4j.ogm.annotation.NodeEntity;

/**
 *
 * @author zua
 */
@NodeEntity
public class Tag extends GraphEntity {

    private static final long serialVersionUID = -2218568840405529695L;

    @Index(unique = true, primary = true)
    private String tag;

    public Tag() {
    }

    
    public Tag(String category) {
        this.tag = category;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }
    
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy