org.broadleafcommerce.openadmin.server.domain
Class ForeignKeyImpl
java.lang.Object
org.broadleafcommerce.openadmin.server.domain.PersistencePerspectiveItemImpl
org.broadleafcommerce.openadmin.server.domain.ForeignKeyImpl
- All Implemented Interfaces:
- Serializable, ForeignKey, PersistencePerspectiveItem
@Entity
public class ForeignKeyImpl
- extends PersistencePerspectiveItemImpl
- implements ForeignKey
- Author:
- jfischer
- See Also:
- Serialized Form
manyToField
protected String manyToField
foreignKeyClass
protected String foreignKeyClass
currentValue
protected String currentValue
dataSourceName
protected String dataSourceName
restrictionType
protected ForeignKeyRestrictionType restrictionType
displayValueProperty
protected String displayValueProperty
ForeignKeyImpl
public ForeignKeyImpl()
getManyToField
public String getManyToField()
- Specified by:
getManyToField in interface ForeignKey
setManyToField
public void setManyToField(String manyToField)
- Specified by:
setManyToField in interface ForeignKey
getForeignKeyClass
public String getForeignKeyClass()
- Specified by:
getForeignKeyClass in interface ForeignKey
setForeignKeyClass
public void setForeignKeyClass(String foreignKeyClass)
- Specified by:
setForeignKeyClass in interface ForeignKey
getCurrentValue
public String getCurrentValue()
- Specified by:
getCurrentValue in interface ForeignKey
setCurrentValue
public void setCurrentValue(String currentValue)
- Specified by:
setCurrentValue in interface ForeignKey
getDataSourceName
public String getDataSourceName()
- Specified by:
getDataSourceName in interface ForeignKey
setDataSourceName
public void setDataSourceName(String dataSourceName)
- Specified by:
setDataSourceName in interface ForeignKey
getRestrictionType
public ForeignKeyRestrictionType getRestrictionType()
- Specified by:
getRestrictionType in interface ForeignKey
setRestrictionType
public void setRestrictionType(ForeignKeyRestrictionType restrictionType)
- Specified by:
setRestrictionType in interface ForeignKey
getDisplayValueProperty
public String getDisplayValueProperty()
- Specified by:
getDisplayValueProperty in interface ForeignKey
setDisplayValueProperty
public void setDisplayValueProperty(String displayValueProperty)
- Specified by:
setDisplayValueProperty in interface ForeignKey
getId
public Long getId()
- Specified by:
getId in interface ForeignKey- Specified by:
getId in interface PersistencePerspectiveItem- Overrides:
getId in class PersistencePerspectiveItemImpl
- Returns:
- the id
setId
public void setId(Long id)
- Specified by:
setId in interface ForeignKey- Specified by:
setId in interface PersistencePerspectiveItem- Overrides:
setId in class PersistencePerspectiveItemImpl
- Parameters:
id - the id to set
hashCode
public int hashCode()
- Overrides:
hashCode in class PersistencePerspectiveItemImpl
equals
public boolean equals(Object obj)
- Overrides:
equals in class PersistencePerspectiveItemImpl
accept
public void accept(PersistencePerspectiveItemVisitor visitor)
- Specified by:
accept in interface PersistencePerspectiveItem- Overrides:
accept in class PersistencePerspectiveItemImpl
Copyright © 2012. All Rights Reserved.