SingularAttribute represents persistent
single-valued properties or fields.
| Modifier and Type | Method and Description |
|---|---|
| public Type | |
| public boolean | |
| public boolean | |
| public boolean |
| getType | back to summary |
|---|---|
| public Type Return the type that represents the type of the attribute.
| |
| isId | back to summary |
|---|---|
| public boolean isId() Is the attribute an id attribute? This method returns true if the attribute is a simple id, an embedded id, or an attribute of an id class.
| |
| isOptional | back to summary |
|---|---|
| public boolean isOptional() Can the attribute be null?
| |
| isVersion | back to summary |
|---|---|
| public boolean isVersion() Is the attribute a version attribute?
| |