I
- Type for the property identityE
- Type for the property's valuepublic final class Property<I,E> extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
I |
getIdentity()
Gets the property identity.
|
E |
getValue()
Gets the property value.
|
int |
hashCode() |
String |
toString() |
static <I,E> Property<I,E> |
valueOf(I identity,
E value)
Creates a property.
|
public static <I,E> Property<I,E> valueOf(I identity, E value)
identity
- property identityvalue
- property's valuepublic I getIdentity()
public E getValue()
Copyright © 2016. All Rights Reserved.