public final class PropDefConceptId extends Object implements PropertyConceptId
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getId() |
static ConceptId |
getInstance(String propId,
String propertyName,
Metadata metadata)
Returns a concept propId with the given proposition propId and property name.
|
static PropDefConceptId |
getInstance(String propId,
String propertyName,
org.protempa.proposition.value.Value value,
Metadata metadata)
Returns a concept propId with the given proposition propId, property name and
value.
|
String |
getPropertyName() |
org.protempa.proposition.value.Value |
getValue() |
int |
hashCode() |
String |
toConceptCode() |
String |
toConceptCode(String prefix) |
String |
toString() |
public static ConceptId getInstance(String propId, String propertyName, Metadata metadata)
propId - a proposition propId String. Cannot be
null.propertyName - a property name String.PropDefConceptId.public static PropDefConceptId getInstance(String propId, String propertyName, org.protempa.proposition.value.Value value, Metadata metadata)
propId - a proposition propId String. Cannot be
null.propertyName - a property name String.value - a Value.PropDefConceptId.public String getPropertyName()
getPropertyName in interface PropertyConceptIdpublic org.protempa.proposition.value.Value getValue()
public String toConceptCode() throws InvalidConceptCodeException
toConceptCode in interface ConceptIdInvalidConceptCodeExceptionpublic String toConceptCode(String prefix) throws InvalidConceptCodeException
toConceptCode in interface ConceptIdInvalidConceptCodeExceptionCopyright © 2012–2016 Emory University. All rights reserved.