001package dk.netarkivet.harvester.datamodel.eav;
002
003import com.antiaction.raptor.dao.AttributeBase;
004import com.antiaction.raptor.dao.AttributeTypeBase;
005import com.antiaction.raptor.dao.SecurityEntityBase;
006
007/**
008 * Generic EAV attribute type.
009 */
010public class ContentAttrType_Generic extends AttributeTypeBase {
011
012        @Override
013        public AttributeBase instanceOf() {
014                return new ContentAttribute_Generic(this);
015        }
016
017        @Override
018        public boolean hasReadGrant(SecurityEntityBase user, int id) {
019                return true;
020        }
021
022        @Override
023        public boolean hasWriteGrant(SecurityEntityBase user, int id) {
024                return true;
025        }
026
027}