org.broadleafcommerce.openadmin.server.domain
Class ForeignKeyImpl

java.lang.Object
  extended by org.broadleafcommerce.openadmin.server.domain.PersistencePerspectiveItemImpl
      extended by org.broadleafcommerce.openadmin.server.domain.ForeignKeyImpl
All Implemented Interfaces:
java.io.Serializable, ForeignKey, PersistencePerspectiveItem

@Entity
public class ForeignKeyImpl
extends PersistencePerspectiveItemImpl
implements ForeignKey

Author:
jfischer
See Also:
Serialized Form

Field Summary
protected  java.lang.String currentValue
           
protected  java.lang.String dataSourceName
           
protected  java.lang.String displayValueProperty
           
protected  java.lang.String foreignKeyClass
           
protected  java.lang.String manyToField
           
protected  ForeignKeyRestrictionType restrictionType
           
 
Fields inherited from class org.broadleafcommerce.openadmin.server.domain.PersistencePerspectiveItemImpl
id
 
Constructor Summary
ForeignKeyImpl()
           
 
Method Summary
 void accept(PersistencePerspectiveItemVisitor visitor)
           
 boolean equals(java.lang.Object obj)
           
 java.lang.String getCurrentValue()
           
 java.lang.String getDataSourceName()
           
 java.lang.String getDisplayValueProperty()
           
 java.lang.String getForeignKeyClass()
           
 java.lang.Long getId()
           
 java.lang.String getManyToField()
           
 ForeignKeyRestrictionType getRestrictionType()
           
 int hashCode()
           
 void setCurrentValue(java.lang.String currentValue)
           
 void setDataSourceName(java.lang.String dataSourceName)
           
 void setDisplayValueProperty(java.lang.String displayValueProperty)
           
 void setForeignKeyClass(java.lang.String foreignKeyClass)
           
 void setId(java.lang.Long id)
           
 void setManyToField(java.lang.String manyToField)
           
 void setRestrictionType(ForeignKeyRestrictionType restrictionType)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

manyToField

protected java.lang.String manyToField

foreignKeyClass

protected java.lang.String foreignKeyClass

currentValue

protected java.lang.String currentValue

dataSourceName

protected java.lang.String dataSourceName

restrictionType

protected ForeignKeyRestrictionType restrictionType

displayValueProperty

protected java.lang.String displayValueProperty
Constructor Detail

ForeignKeyImpl

public ForeignKeyImpl()
Method Detail

getManyToField

public java.lang.String getManyToField()
Specified by:
getManyToField in interface ForeignKey

setManyToField

public void setManyToField(java.lang.String manyToField)
Specified by:
setManyToField in interface ForeignKey

getForeignKeyClass

public java.lang.String getForeignKeyClass()
Specified by:
getForeignKeyClass in interface ForeignKey

setForeignKeyClass

public void setForeignKeyClass(java.lang.String foreignKeyClass)
Specified by:
setForeignKeyClass in interface ForeignKey

getCurrentValue

public java.lang.String getCurrentValue()
Specified by:
getCurrentValue in interface ForeignKey

setCurrentValue

public void setCurrentValue(java.lang.String currentValue)
Specified by:
setCurrentValue in interface ForeignKey

getDataSourceName

public java.lang.String getDataSourceName()
Specified by:
getDataSourceName in interface ForeignKey

setDataSourceName

public void setDataSourceName(java.lang.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 java.lang.String getDisplayValueProperty()
Specified by:
getDisplayValueProperty in interface ForeignKey

setDisplayValueProperty

public void setDisplayValueProperty(java.lang.String displayValueProperty)
Specified by:
setDisplayValueProperty in interface ForeignKey

getId

public java.lang.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(java.lang.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(java.lang.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 © 2011. All Rights Reserved.