com.atlassian.jira.entity.property
Class EntityPropertyImpl

java.lang.Object
  extended by com.atlassian.jira.entity.property.EntityPropertyImpl
All Implemented Interfaces:
EntityProperty

@Immutable
public class EntityPropertyImpl
extends Object
implements EntityProperty

Since:
v6.1

Field Summary
 
Fields inherited from interface com.atlassian.jira.entity.property.EntityProperty
CREATED, ENTITY_ID, ENTITY_NAME, ID, KEY, UPDATED, VALUE
 
Method Summary
static EntityProperty existing(Long id, String entityName, Long entityId, String key, String value, Timestamp created, Timestamp updated)
           
static EntityProperty forCreate(String entityName, Long entityId, String key, String value)
           
 Timestamp getCreated()
           
 Long getEntityId()
           
 String getEntityName()
           
 Long getId()
           
 String getKey()
           
 Timestamp getUpdated()
           
 String getValue()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

existing

public static EntityProperty existing(Long id,
                                      String entityName,
                                      Long entityId,
                                      String key,
                                      String value,
                                      Timestamp created,
                                      Timestamp updated)

forCreate

public static EntityProperty forCreate(String entityName,
                                       Long entityId,
                                       String key,
                                       String value)

getId

public Long getId()
Specified by:
getId in interface EntityProperty

getEntityId

public Long getEntityId()
Specified by:
getEntityId in interface EntityProperty

getEntityName

public String getEntityName()
Specified by:
getEntityName in interface EntityProperty

getKey

public String getKey()
Specified by:
getKey in interface EntityProperty

getValue

public String getValue()
Specified by:
getValue in interface EntityProperty

getCreated

public Timestamp getCreated()
Specified by:
getCreated in interface EntityProperty

getUpdated

public Timestamp getUpdated()
Specified by:
getUpdated in interface EntityProperty

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2014 Atlassian. All Rights Reserved.