Package tech.kronicle.sdk.models
Class ComponentMetadata
- java.lang.Object
-
- tech.kronicle.sdk.models.ComponentMetadata
-
- All Implemented Interfaces:
ObjectWithReference
public final class ComponentMetadata extends java.lang.Object implements ObjectWithReference
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classComponentMetadata.ComponentMetadataBuilder
-
Constructor Summary
Constructors Constructor Description ComponentMetadata(java.util.List<ComponentType> componentTypes, java.util.List<Platform> platforms, java.util.List<Area> areas, java.util.List<Team> teams, java.util.List<Component> components)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComponentMetadata.ComponentMetadataBuilderbuilder()booleanequals(java.lang.Object o)java.util.List<@Valid Area>getAreas()java.util.List<@Valid Component>getComponents()java.util.List<@Valid ComponentType>getComponentTypes()java.util.List<@Valid Platform>getPlatforms()java.util.List<@Valid Team>getTeams()inthashCode()java.lang.Stringreference()ComponentMetadata.ComponentMetadataBuildertoBuilder()java.lang.StringtoString()ComponentMetadatawithAreas(java.util.List<@Valid Area> areas)ComponentMetadatawithComponents(java.util.List<@Valid Component> components)ComponentMetadatawithComponentTypes(java.util.List<@Valid ComponentType> componentTypes)ComponentMetadatawithPlatforms(java.util.List<@Valid Platform> platforms)ComponentMetadatawithTeams(java.util.List<@Valid Team> teams)
-
-
-
Constructor Detail
-
ComponentMetadata
public ComponentMetadata(java.util.List<ComponentType> componentTypes, java.util.List<Platform> platforms, java.util.List<Area> areas, java.util.List<Team> teams, java.util.List<Component> components)
-
-
Method Detail
-
reference
public java.lang.String reference()
- Specified by:
referencein interfaceObjectWithReference
-
builder
public static ComponentMetadata.ComponentMetadataBuilder builder()
-
toBuilder
public ComponentMetadata.ComponentMetadataBuilder toBuilder()
-
getComponentTypes
public java.util.List<@Valid ComponentType> getComponentTypes()
-
getPlatforms
public java.util.List<@Valid Platform> getPlatforms()
-
getAreas
public java.util.List<@Valid Area> getAreas()
-
getTeams
public java.util.List<@Valid Team> getTeams()
-
getComponents
public java.util.List<@Valid Component> getComponents()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
withComponentTypes
public ComponentMetadata withComponentTypes(java.util.List<@Valid ComponentType> componentTypes)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withPlatforms
public ComponentMetadata withPlatforms(java.util.List<@Valid Platform> platforms)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withAreas
public ComponentMetadata withAreas(java.util.List<@Valid Area> areas)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withTeams
public ComponentMetadata withTeams(java.util.List<@Valid Team> teams)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withComponents
public ComponentMetadata withComponents(java.util.List<@Valid Component> components)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
-