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 public String getClassName(); 081 082 public void setClassName(String className); 083 084 /** 085 * Returns the class name ID of this d d m structure link. 086 * 087 * @return the class name ID of this d d m structure link 088 */ 089 public long getClassNameId(); 090 091 /** 092 * Sets the class name ID of this d d m structure link. 093 * 094 * @param classNameId the class name ID of this d d m structure link 095 */ 096 public void setClassNameId(long classNameId); 097 098 /** 099 * Returns the class p k of this d d m structure link. 100 * 101 * @return the class p k of this d d m structure link 102 */ 103 public long getClassPK(); 104 105 /** 106 * Sets the class p k of this d d m structure link. 107 * 108 * @param classPK the class p k of this d d m structure link 109 */ 110 public void setClassPK(long classPK); 111 112 /** 113 * Returns the structure ID of this d d m structure link. 114 * 115 * @return the structure ID of this d d m structure link 116 */ 117 public long getStructureId(); 118 119 /** 120 * Sets the structure ID of this d d m structure link. 121 * 122 * @param structureId the structure ID of this d d m structure link 123 */ 124 public void setStructureId(long structureId); 125 126 public boolean isNew(); 127 128 public void setNew(boolean n); 129 130 public boolean isCachedModel(); 131 132 public void setCachedModel(boolean cachedModel); 133 134 public boolean isEscapedModel(); 135 136 public Serializable getPrimaryKeyObj(); 137 138 public void setPrimaryKeyObj(Serializable primaryKeyObj); 139 140 public ExpandoBridge getExpandoBridge(); 141 142 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 143 144 public Object clone(); 145 146 public int compareTo(DDMStructureLink ddmStructureLink); 147 148 public int hashCode(); 149 150 public CacheModel<DDMStructureLink> toCacheModel(); 151 152 public DDMStructureLink toEscapedModel(); 153 154 public DDMStructureLink toUnescapedModel(); 155 156 public String toString(); 157 158 public String toXmlString(); 159 }