org.sonar.api.database.configuration
Class Property

java.lang.Object
  extended by org.sonar.api.database.BaseIdentifiable
      extended by org.sonar.api.database.configuration.Property

public class Property
extends BaseIdentifiable

IMPORTANT : This class can't be moved to org.sonar.jpa.dao for backward-compatibility reasons. This class is still used in some plugins.

Since:
1.10

Constructor Summary
Property()
           
Property(String key, String value)
           
Property(String key, String value, Integer resourceId)
           
 
Method Summary
 boolean equals(Object o)
           
 String getKey()
           
 Integer getResourceId()
           
 Integer getUserId()
           
 String getValue()
           
 int hashCode()
           
 void setKey(String key)
           
 void setResourceId(Integer resourceId)
           
 Property setUserId(Integer userId)
           
 void setValue(String value)
           
 String toString()
           
 
Methods inherited from class org.sonar.api.database.BaseIdentifiable
getId, setId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Property

public Property(String key,
                String value)

Property

public Property(String key,
                String value,
                Integer resourceId)

Property

public Property()
Method Detail

getKey

public String getKey()

setKey

public void setKey(String key)

getValue

public String getValue()

setValue

public void setValue(String value)

getResourceId

public Integer getResourceId()

setResourceId

public void setResourceId(Integer resourceId)

getUserId

public Integer getUserId()

setUserId

public Property setUserId(Integer userId)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 SonarSource. All Rights Reserved.