HasDefaultValue returns true if the attribute with the given name has a default value.
(attName string)
| 550 | // HasDefaultValue returns true if the attribute with the given name has a |
| 551 | // default value. |
| 552 | func (a *AttributeExpr) HasDefaultValue(attName string) bool { |
| 553 | return a.GetDefault(attName) != nil |
| 554 | } |
| 555 | |
| 556 | // GetDefault gets the default value for the child attribute with the given |
| 557 | // name. It returns nil if the child attribute with the given name does not |