Skip to content

Commit

Permalink
odpi#5399 correct javadoc deprecation flag
Browse files Browse the repository at this point in the history
Signed-off-by: David Radley <david_radley@uk.ibm.com>
  • Loading branch information
davidradl committed Jul 1, 2021
1 parent bee9de7 commit 3e03649
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public TermIsATypeOfRelationshipDeprecatedMapper(OMRSAPIHelper omrsapiHelper) {
* @param isATypeOfDeprecated supplied relationship
* @param instanceProperties equivalent instance properties to the relationship
*/
@Deprecated
@Override
protected void mapRelationshipToInstanceProperties(IsATypeOfDeprecated isATypeOfDeprecated, InstanceProperties instanceProperties) {
if (isATypeOfDeprecated.getDescription() != null) {
Expand Down Expand Up @@ -58,6 +59,7 @@ protected void mapRelationshipToInstanceProperties(IsATypeOfDeprecated isATypeOf
* @param value the omrs primitive property value
* @return true if the propertyName was recognised and mapped to the relationship, otherwise false
*/
@Deprecated
@Override
protected boolean mapPrimitiveToRelationship(IsATypeOfDeprecated isATypeOfDeprecated, String propertyName, Object value) {
String stringValue = (String) value;
Expand All @@ -76,7 +78,7 @@ protected boolean mapPrimitiveToRelationship(IsATypeOfDeprecated isATypeOfDeprec
}
return foundProperty;
}

@Deprecated
@Override
protected boolean mapEnumToRelationship(IsATypeOfDeprecated termIsATypeOFRelationship, String propertyName, EnumPropertyValue enumPropertyValue) {
boolean foundProperty = false;
Expand All @@ -87,12 +89,12 @@ protected boolean mapEnumToRelationship(IsATypeOfDeprecated termIsATypeOFRelatio
}
return foundProperty;
}

@Deprecated
@Override
public String getTypeName() {
return TERM_ISA_TYPE_OF_DEPRECATED_RELATIONSHIP;
}

@Deprecated
@Override
protected IsATypeOfDeprecated getRelationshipInstance() {
return new IsATypeOfDeprecated();
Expand Down

0 comments on commit 3e03649

Please sign in to comment.