public interface ForeignKey<T> extends Child<T>, OrmForeignKeyCommType<T,ForeignKey<T>>
foreign-key
xsd typeModifier and Type | Method and Description |
---|---|
ForeignKey<T> |
constraintMode(ConstraintMode constraintMode)
Sets the
constraint-mode attribute |
ForeignKey<T> |
constraintMode(String constraintMode)
Sets the
constraint-mode attribute |
ForeignKey<T> |
description(String description)
Sets the
description element |
ForeignKey<T> |
foreignKeyDefinition(String foreignKeyDefinition)
Sets the
foreign-key-definition attribute |
ConstraintMode |
getConstraintMode()
Returns the
constraint-mode attribute |
String |
getConstraintModeAsString()
Returns the
constraint-mode attribute |
String |
getDescription()
Returns the
description element |
String |
getForeignKeyDefinition()
Returns the
foreign-key-definition attribute |
String |
getName()
Returns the
name attribute |
ForeignKey<T> |
name(String name)
Sets the
name attribute |
ForeignKey<T> |
removeConstraintMode()
Removes the
constraint-mode attribute |
ForeignKey<T> |
removeDescription()
Removes the
description element |
ForeignKey<T> |
removeForeignKeyDefinition()
Removes the
foreign-key-definition attribute |
ForeignKey<T> |
removeName()
Removes the
name attribute |
ForeignKey<T> description(String description)
description
elementdescription
- the value for the element description
ForeignKey
String getDescription()
description
elementdescription
ForeignKey<T> removeDescription()
description
elementForeignKey
ForeignKey<T> name(String name)
name
attributename
- the value for the attribute name
ForeignKey
String getName()
name
attributename
ForeignKey<T> removeName()
name
attributeForeignKey
ForeignKey<T> constraintMode(ConstraintMode constraintMode)
constraint-mode
attributeconstraintMode
- the value for the attribute constraint-mode
ForeignKey
ForeignKey<T> constraintMode(String constraintMode)
constraint-mode
attributeconstraintMode
- the value for the attribute constraint-mode
ForeignKey
ConstraintMode getConstraintMode()
constraint-mode
attributeconstraint-mode
String getConstraintModeAsString()
constraint-mode
attributeconstraint-mode
ForeignKey<T> removeConstraintMode()
constraint-mode
attributeForeignKey
ForeignKey<T> foreignKeyDefinition(String foreignKeyDefinition)
foreign-key-definition
attributeforeignKeyDefinition
- the value for the attribute foreign-key-definition
ForeignKey
String getForeignKeyDefinition()
foreign-key-definition
attributeforeign-key-definition
ForeignKey<T> removeForeignKeyDefinition()
foreign-key-definition
attributeForeignKey
Copyright © 2020 JBoss by Red Hat. All rights reserved.