public class PropositionWrapper extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
PropositionWrapper.Type |
| Constructor and Description |
|---|
PropositionWrapper()
Creates the message object.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAbbrevDisplayName()
Gets the phenotype definition's abbreviated display name.
|
List<PropositionWrapper> |
getChildren()
Gets this phenotype definition's children, if any.
|
Date |
getCreated()
Gets the creation date of this phenotype definition.
|
String |
getDisplayName()
Gets the phenotype definition's display name.
|
Long |
getId()
Returns a user phenotype definition's id.
|
String |
getKey()
Returns a system phenotype definition's id string.
|
Date |
getLastModified()
Gets the last modified date of this phenotype definition.
|
List<String> |
getProperties()
Gets this phenotype definition's properties, if any.
|
PropositionWrapper.Type |
getType()
Gets the type of a user phenotype definition.
|
Long |
getUserId()
Returns a user phenotype definition's user id.
|
boolean |
isInSystem()
Gets whether this phenotype definition is a system or user data element
definition.
|
boolean |
isParent()
Returns whether this phenotype definition has children.
|
boolean |
isSummarized()
Gets whether or not the children of this proposition are included in the
message.
|
void |
setAbbrevDisplayName(String abbrevDisplayName)
Sets the phenotype definition's abbreviated display name.
|
void |
setChildren(List<PropositionWrapper> inChildren)
Sets this phenotype definition's children.
|
void |
setCreated(Date inCreated)
Sets the creation date of this phenotype definition.
|
void |
setDisplayName(String displayName)
Sets the phenotype definition's display name.
|
void |
setId(Long id)
Sets a user phenotype definition's id.
|
void |
setInSystem(boolean inSystem)
Sets whether this phenotype definition is a aystem or user data element
definition.
|
void |
setKey(String inKey)
Sets a system phenotype definition's id string.
|
void |
setLastModified(Date inLastModified)
Sets the last modified date of this phenotype definition.
|
void |
setParent(boolean inParent)
Sets whether this phenotype definition has children.
|
void |
setProperties(List<String> inProperties)
Sets this phenotype definition's properties.
|
void |
setSummarized(boolean inSummarized)
Sets whether or not the children of this proposition are included in the
message.
|
void |
setType(PropositionWrapper.Type type)
Sets the type of a user phenotype definition.
|
void |
setUserId(Long userId)
Sets a user phenotype definition's user id.
|
String |
toString()
Represents field values for debugging purposes.
|
public Long getId()
Long. Will be null for a system data
element definition.public String getKey()
String. Will be null for a user data
element definition.public void setKey(String inKey)
inKey - a String.public void setUserId(Long userId)
userId - a Long.public String getAbbrevDisplayName()
String. May be null if no abbreviated
display name is specified.public void setAbbrevDisplayName(String abbrevDisplayName)
abbrevDisplayName - a String. Passing in null
will set the abbreviated display name as unspecified.public String getDisplayName()
String. A value of null means that no
display name is specified.public void setDisplayName(String displayName)
displayName - a String. Passing in null will
set the abbreviated display name as unspecified.public PropositionWrapper.Type getType()
PropositionWrapper.Type. Will be null if a system data
element definition.public void setType(PropositionWrapper.Type type)
type - a PropositionWrapper.Type. Should be null for a system data
element definition.public boolean isInSystem()
true if a system phenotype definition,
false if a user phenotype definition.public void setInSystem(boolean inSystem)
inSystem - true if a system phenotype definition,
false if a user phenotype definition.public Date getCreated()
Date, or null if the creation
date is unspecified.public void setCreated(Date inCreated)
inCreated - the creation Date, or null if the
creation date is unspecified.public Date getLastModified()
Date, or null if the last
modified date is unspecified.public void setLastModified(Date inLastModified)
inLastModified - the last modified Date, or
null if the last modified date is unspecified.public boolean isSummarized()
true if the children of this proposition are
included, false otherwise.public void setSummarized(boolean inSummarized)
inSummarized - true if the children of this proposition
are included, false otherwise.public List<PropositionWrapper> getChildren()
List of this phenotype definition's children, if any.public void setChildren(List<PropositionWrapper> inChildren)
inChildren - a List of this phenotype definition's children.public List<String> getProperties()
List of this phenotype definition's properties, if anypublic void setProperties(List<String> inProperties)
inProperties - a List of this phenotype definition's
properties.public boolean isParent()
true if this phenotype definition has children,
false otherwise.public void setParent(boolean inParent)
inParent - true if this phenotype definition has
children, false otherwise.Copyright © 2016–2019 Emory University. All rights reserved.