@MappedSuperclass public abstract class AbstractUserAttribute extends DomainObject implements Attribute<String,String>
Constructor and Description |
---|
AbstractUserAttribute() |
AbstractUserAttribute(AbstractUserAttribute a) |
AbstractUserAttribute(String json) |
AbstractUserAttribute(String name,
String value) |
AbstractUserAttribute(String name,
String value,
String userId) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getEntity()
Reference to the entity this Attribute is part of
|
Long |
getId() |
String |
getMeta()
Additional generic info about the record.
|
String |
getName() |
Date |
getUpdated() |
String |
getUserId()
A unique user name or Id
|
String |
getValue() |
int |
hashCode() |
void |
setEntity(String arg0)
Reference to the entity this Attribute is part of
|
void |
setId(Long id) |
void |
setMeta(String meta)
Additional generic info about the record.
|
void |
setName(String name) |
void |
setUpdated(Date updated) |
void |
setUserId(String userId)
A unique user name or Id
|
void |
setValue(String value) |
String |
toString() |
void |
updateValue()
Attributes may have additional transient fields that we may want to flush into the actual
Attribute.setValue(Object) . |
public AbstractUserAttribute()
public AbstractUserAttribute(String json)
public AbstractUserAttribute(AbstractUserAttribute a)
public String getName()
public void setName(String name)
public String getValue()
public void setValue(String value)
public Long getId()
public void setId(Long id)
public String getUserId()
public void setUserId(String userId)
public Date getUpdated()
public void setUpdated(Date updated)
public String getMeta()
AbstractUserAttribute
public void setMeta(String meta)
AbstractUserAttribute
public String getEntity()
Attribute
public void setEntity(String arg0)
Attribute
public void updateValue()
Attribute
Attribute.setValue(Object)
.
A Calling API can ensure the Attribute object is updated before it is persisted or passed on by committing all transient data into the value.updateValue
in interface Attribute<String,String>
Copyright © 2018. All rights reserved.