public boolean hasDirectoryEntry() {EmbeddedObjectRefSubRecord subRecord = findObjectRecord();Integer streamId = subRecord.getStreamId();return streamId != null && streamId.intValue() != 0;}
public bool HasDirectoryEntry(){EmbeddedObjectRefSubRecord subRecord = FindObjectRecord();int? streamId = subRecord.StreamId;return streamId != null && streamId != 0;}