SingularAttribute represents persistent
single-valued properties or fields.
| Modifier and Type | Method and Description |
|---|---|
| public Type | |
| public boolean | |
| public boolean | |
| public boolean | Returns: boolean indicating whether the attribute is a version attributeIs the attribute a version attribute. |
| 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 will return true if the attribute is an attribute that corresponds to 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.
| |