Class StatementUtils
java.lang.Object
ubic.gemma.model.expression.experiment.StatementUtils
- Author:
- poirigui
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringdescribeHalfPair(String predicateName, String objectName, String predicate, String predicateUri, String object, String objectUri) Name the half of a predicate/object pair that is present without the other.static StringThe first half-present pair on a statement, first pair before second.static StringThe first half-present pair on a proposed statement, first pair before second.static StringformatStatement(Statement statement) Format a statement.static StringformatStatement(Statement statement, String[] ignoredPredicateUris) Format a statement.static StringformatStatement(StatementValueObject statementVo) static booleanhasSubject(Statement statement, Characteristic subject) Test if the given statement has the given subject.
-
Constructor Details
-
StatementUtils
public StatementUtils()
-
-
Method Details
-
hasSubject
Test if the given statement has the given subject. -
describeHalfPair
@Nullable public static String describeHalfPair(String predicateName, String objectName, @Nullable String predicate, @Nullable String predicateUri, @Nullable String object, @Nullable String objectUri) Name the half of a predicate/object pair that is present without the other.A label or a URI counts as present. A pair is written whole or not at all. Before the first pair was checked, six factor-value statements reached production with a predicate and no object (frinkbro, 2026-09-13).
- Returns:
"<predicateName> without <objectName>", the reverse, ornullwhen the pair is whole or empty
-
describeHalfPair
-
describeHalfPair
The first half-present pair on a proposed statement, first pair before second.- See Also:
-
formatStatement
-
formatStatement
-
formatStatement
-