Class ForeignKey
java.lang.Object
org.broadleafcommerce.openadmin.dto.ForeignKey
- All Implemented Interfaces:
Serializable
,PersistencePerspectiveItem
- Author:
- jfischer
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionForeignKey
(String manyToField, String foreignKeyClass) ForeignKey
(String manyToField, String foreignKeyClass, String dataSourceName) ForeignKey
(String manyToField, String foreignKeyClass, String dataSourceName, ForeignKeyRestrictionType restrictionType) ForeignKey
(String manyToField, String foreignKeyClass, String dataSourceName, ForeignKeyRestrictionType restrictionType, String displayValueProperty) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(PersistencePerspectiveItemVisitor visitor) boolean
int
hashCode()
void
setCurrentValue
(String currentValue) void
setDataSourceName
(String dataSourceName) void
setDisplayValueProperty
(String displayValueProperty) void
setForeignKeyClass
(String foreignKeyClass) void
setManyToField
(String manyToField) void
setMutable
(Boolean mutable) void
setOriginatingField
(String originatingField) void
setRestrictionType
(ForeignKeyRestrictionType restrictionType) void
setSortAscending
(Boolean sortAscending) void
setSortField
(String sortField) toString()
withForeignKeyClass
(String foreignKeyClass) withManyToField
(String manyToField) withOriginatingField
(String originatingField) withSortField
(String sortField)
-
Constructor Details
-
ForeignKey
public ForeignKey() -
ForeignKey
-
ForeignKey
-
ForeignKey
public ForeignKey(String manyToField, String foreignKeyClass, String dataSourceName, ForeignKeyRestrictionType restrictionType) -
ForeignKey
public ForeignKey(String manyToField, String foreignKeyClass, String dataSourceName, ForeignKeyRestrictionType restrictionType, String displayValueProperty)
-
-
Method Details
-
withManyToField
-
withOriginatingField
-
withForeignKeyClass
-
withSortField
-
getManyToField
-
setManyToField
-
getForeignKeyClass
-
setForeignKeyClass
-
getCurrentValue
-
setCurrentValue
-
getDataSourceName
-
setDataSourceName
-
getRestrictionType
-
setRestrictionType
-
getDisplayValueProperty
-
setDisplayValueProperty
-
getSortField
-
setSortField
-
getSortAscending
-
setSortAscending
-
getMutable
-
setMutable
-
getOriginatingField
-
setOriginatingField
-
accept
- Specified by:
accept
in interfacePersistencePerspectiveItem
-
toString
-
cloneForeignKey
-
clonePersistencePerspectiveItem
- Specified by:
clonePersistencePerspectiveItem
in interfacePersistencePerspectiveItem
-
equals
-
hashCode
public int hashCode()
-