Class ImmutableManagedObject
- java.lang.Object
-
- org.opennms.netmgt.events.api.model.ImmutableManagedObject
-
- All Implemented Interfaces:
IManagedObject
public final class ImmutableManagedObject extends java.lang.Object implements IManagedObject
An immutable implementation of 'IManagedObject
'.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ImmutableManagedObject.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getType()
int
hashCode()
static IManagedObject
immutableCopy(IManagedObject managedObject)
static ImmutableManagedObject.Builder
newBuilder()
static ImmutableManagedObject.Builder
newBuilderFrom(IManagedObject managedObject)
java.lang.String
toString()
-
-
-
Method Detail
-
newBuilder
public static ImmutableManagedObject.Builder newBuilder()
-
newBuilderFrom
public static ImmutableManagedObject.Builder newBuilderFrom(IManagedObject managedObject)
-
immutableCopy
public static IManagedObject immutableCopy(IManagedObject managedObject)
-
getType
public java.lang.String getType()
- Specified by:
getType
in interfaceIManagedObject
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-