Interface Metadata
- All Superinterfaces:
Cloneable
,HasTimestamps
,HasUid
Metadata -- .
- Since:
- 1.0.0 2023-01-19
- Author:
- rlichti <rlichti@kaiserpfalz-edv.de>
-
Field Summary
Fields inherited from interface de.kaiserpfalzedv.commons.api.resources.HasTimestamps
VALID_EXAMPLE, VALID_LENGTH, VALID_LENGTH_MSG, VALID_PATTERN, VALID_PATTERN_MSG
Fields inherited from interface de.kaiserpfalzedv.commons.api.resources.HasUid
VALID_UID_MSG, VALID_UID_PATTERN
-
Method Summary
Modifier and TypeMethodDescriptiongetAnnotation
(@NotNull String name) Returns the value of the annotation.default String
default String
getKind()
Returns the value of the label.default String
getName()
default String
getOwner()
default @NotNull String
default @NotNull String
default boolean
isAnnotated
(@NotNull String name) Checks if there is an annotation for this name.default boolean
Checks if there is a label with a special name.default @NotNull String
removeTrailingSlash
(@NotNull String prefix) Methods inherited from interface de.kaiserpfalzedv.commons.api.resources.HasTimestamps
getCreated, getDeleted, getModified
-
Method Details
-
getSelfLink
- Returns:
- The display name of the resource.
-
removeTrailingSlash
-
getSelfLinkPrefix
-
getDeletionTimestamp
Optional<OffsetDateTime> getDeletionTimestamp() -
getOwningResource
-
isAnnotated
Checks if there is an annotation for this name.- Parameters:
name
- the name of the annotation.- Returns:
- If there is an annotation for this name.
-
getAnnotation
Returns the value of the annotation.- Parameters:
name
- Annotation name to retrieve- Returns:
- The value of the annotation.
-
isLabeled
Checks if there is a label with a special name.- Parameters:
name
- The name of the label.- Returns:
- If the label is there.
-
getLabel
Returns the value of the label.- Parameters:
name
- Label name to retrieve.- Returns:
- The value of the label.
-
increaseGeneration
Metadata increaseGeneration() -
getKind
-
getApiVersion
-
getNameSpace
-
getName
-
getIdentity
Pointer getIdentity() -
getGeneration
Integer getGeneration() -
getOwner
Pointer getOwner() -
getAnnotations
-
getLabels
-