001 /** 002 * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. 003 * 004 * This library is free software; you can redistribute it and/or modify it under 005 * the terms of the GNU Lesser General Public License as published by the Free 006 * Software Foundation; either version 2.1 of the License, or (at your option) 007 * any later version. 008 * 009 * This library is distributed in the hope that it will be useful, but WITHOUT 010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 011 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 012 * details. 013 */ 014 015 package com.liferay.portlet.dynamicdatamapping.model; 016 017 import com.liferay.portal.model.AttachedModel; 018 import com.liferay.portal.model.BaseModel; 019 import com.liferay.portal.model.CacheModel; 020 import com.liferay.portal.service.ServiceContext; 021 022 import com.liferay.portlet.expando.model.ExpandoBridge; 023 024 import java.io.Serializable; 025 026 /** 027 * The base model interface for the DDMStructureLink service. Represents a row in the "DDMStructureLink" database table, with each column mapped to a property of this class. 028 * 029 * <p> 030 * This interface and its corresponding implementation {@link com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureLinkModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureLinkImpl}. 031 * </p> 032 * 033 * @author Brian Wing Shun Chan 034 * @see DDMStructureLink 035 * @see com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureLinkImpl 036 * @see com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureLinkModelImpl 037 * @generated 038 */ 039 public interface DDMStructureLinkModel extends AttachedModel, 040 BaseModel<DDMStructureLink> { 041 /* 042 * NOTE FOR DEVELOPERS: 043 * 044 * Never modify or reference this interface directly. All methods that expect a d d m structure link model instance should use the {@link DDMStructureLink} interface instead. 045 */ 046 047 /** 048 * Returns the primary key of this d d m structure link. 049 * 050 * @return the primary key of this d d m structure link 051 */ 052 public long getPrimaryKey(); 053 054 /** 055 * Sets the primary key of this d d m structure link. 056 * 057 * @param primaryKey the primary key of this d d m structure link 058 */ 059 public void setPrimaryKey(long primaryKey); 060 061 /** 062 * Returns the structure link ID of this d d m structure link. 063 * 064 * @return the structure link ID of this d d m structure link 065 */ 066 public long getStructureLinkId(); 067 068 /** 069 * Sets the structure link ID of this d d m structure link. 070 * 071 * @param structureLinkId the structure link ID of this d d m structure link 072 */ 073 public void setStructureLinkId(long structureLinkId); 074 075 /** 076 * Returns the fully qualified class name of this d d m structure link. 077 * 078 * @return the fully qualified class name of this d d m structure link 079 */ 080 @Override 081 public String getClassName(); 082 083 public void setClassName(String className); 084 085 /** 086 * Returns the class name ID of this d d m structure link. 087 * 088 * @return the class name ID of this d d m structure link 089 */ 090 @Override 091 public long getClassNameId(); 092 093 /** 094 * Sets the class name ID of this d d m structure link. 095 * 096 * @param classNameId the class name ID of this d d m structure link 097 */ 098 @Override 099 public void setClassNameId(long classNameId); 100 101 /** 102 * Returns the class p k of this d d m structure link. 103 * 104 * @return the class p k of this d d m structure link 105 */ 106 @Override 107 public long getClassPK(); 108 109 /** 110 * Sets the class p k of this d d m structure link. 111 * 112 * @param classPK the class p k of this d d m structure link 113 */ 114 @Override 115 public void setClassPK(long classPK); 116 117 /** 118 * Returns the structure ID of this d d m structure link. 119 * 120 * @return the structure ID of this d d m structure link 121 */ 122 public long getStructureId(); 123 124 /** 125 * Sets the structure ID of this d d m structure link. 126 * 127 * @param structureId the structure ID of this d d m structure link 128 */ 129 public void setStructureId(long structureId); 130 131 @Override 132 public boolean isNew(); 133 134 @Override 135 public void setNew(boolean n); 136 137 @Override 138 public boolean isCachedModel(); 139 140 @Override 141 public void setCachedModel(boolean cachedModel); 142 143 @Override 144 public boolean isEscapedModel(); 145 146 @Override 147 public Serializable getPrimaryKeyObj(); 148 149 @Override 150 public void setPrimaryKeyObj(Serializable primaryKeyObj); 151 152 @Override 153 public ExpandoBridge getExpandoBridge(); 154 155 @Override 156 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 157 158 @Override 159 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 160 161 @Override 162 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 163 164 @Override 165 public Object clone(); 166 167 @Override 168 public int compareTo(DDMStructureLink ddmStructureLink); 169 170 @Override 171 public int hashCode(); 172 173 @Override 174 public CacheModel<DDMStructureLink> toCacheModel(); 175 176 @Override 177 public DDMStructureLink toEscapedModel(); 178 179 @Override 180 public DDMStructureLink toUnescapedModel(); 181 182 @Override 183 public String toString(); 184 185 @Override 186 public String toXmlString(); 187 }